From: H.J. Lu Date: Fri, 22 Aug 2003 23:35:59 +0000 (+0000) Subject: 2003-08-22 H.J. Lu X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=cba86d339f548bd6ce8a0863db3180ba2dd307cc;p=pf3gnuchains%2Fpf3gnuchains3x.git 2003-08-22 H.J. Lu * elfxx-ia64.c (elfNN_ia64_create_dynamic_sections): Align the .got section at 8 bytes. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index cb21072021..80ba095ba7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2003-08-22 H.J. Lu + + * elfxx-ia64.c (elfNN_ia64_create_dynamic_sections): Align the + .got section at 8 bytes. + 2003-08-21 Nick Clifton * cofflink.c: Update to ISO C90 and tidy up formatting. diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index 5cc311086b..8c37240536 100644 --- a/bfd/elfxx-ia64.c +++ b/bfd/elfxx-ia64.c @@ -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))