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.
This commit is contained in:
H.J. Lu 2003-08-22 23:35:59 +00:00
parent 7ed85d2635
commit 69bbc4c090
2 changed files with 7 additions and 0 deletions

View 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.

View 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))