2003-08-01 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 1 Aug 2003 22:46:16 +0000 (22:46 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 1 Aug 2003 22:46:16 +0000 (22:46 +0000)
* elfxx-ia64.c (get_got): Align the .got section at 8 bytes.

bfd/ChangeLog
bfd/elfxx-ia64.c

index 2ce27f5fa484a7241c529990fd929032eeba293d..cf9c4536838b721969d1a615d0ec35ea16de0e1c 100644 (file)
@@ -1,3 +1,7 @@
+2003-08-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (get_got): Align the .got section at 8 bytes.
+
 2003-08-01  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Use
index 0a732f4b6078765c55f3917c9039e35bcb88fa1c..27ffdddeaece2eb2ce4f80fefbade2a1538d1d1f 100644 (file)
@@ -1907,6 +1907,10 @@ get_got (abfd, info, ia64_info)
       BFD_ASSERT (got);
       ia64_info->got_sec = got;
 
+      /* The .got section is always aligned at 8 bytes.  */
+      if (!bfd_set_section_alignment (abfd, got, 3))
+       return 0;
+
       flags = bfd_get_section_flags (abfd, got);
       bfd_set_section_flags (abfd, got, SEC_SMALL_DATA | flags);
     }
This page took 0.031302 seconds and 4 git commands to generate.