OSDN Git Service

2003-08-22 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl>
Fri, 22 Aug 2003 23:35:58 +0000 (23:35 +0000)
committerhjl <hjl>
Fri, 22 Aug 2003 23:35:58 +0000 (23:35 +0000)
* elfxx-ia64.c (elfNN_ia64_create_dynamic_sections): Align the
.got section at 8 bytes.

bfd/ChangeLog
bfd/elfxx-ia64.c

index cb21072..80ba095 100644 (file)
@@ -1,3 +1,8 @@
+2003-08-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_ia64_create_dynamic_sections): Align the
+       .got section at 8 bytes.
+
 2003-08-21  Nick Clifton  <nickc@redhat.com>
 
        * cofflink.c: Update to ISO C90 and tidy up formatting.
index 5cc3110..8c37240 100644 (file)
@@ -1781,6 +1781,8 @@ elfNN_ia64_create_dynamic_sections (abfd, info)
   {
     flagword flags = bfd_get_section_flags (abfd, ia64_info->got_sec);
     bfd_set_section_flags (abfd, ia64_info->got_sec, SEC_SMALL_DATA | flags);
+    /* The .got section is always aligned at 8 bytes.  */
+    bfd_set_section_alignment (abfd, ia64_info->got_sec, 3);
   }
 
   if (!get_pltoff (abfd, info, ia64_info))