diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-08-22 23:35:59 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-08-22 23:35:59 +0000 |
commit | 69bbc4c09010d4cf17ab6a41bfaad74ea2c949ab (patch) | |
tree | 24504491710f8c507881896c84f2845925c22f57 /bfd/elfxx-ia64.c | |
parent | 7ed85d2635d9485f39af469ab0dab11611113800 (diff) | |
download | gdb-69bbc4c09010d4cf17ab6a41bfaad74ea2c949ab.zip gdb-69bbc4c09010d4cf17ab6a41bfaad74ea2c949ab.tar.gz gdb-69bbc4c09010d4cf17ab6a41bfaad74ea2c949ab.tar.bz2 |
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.
Diffstat (limited to 'bfd/elfxx-ia64.c')
-rw-r--r-- | bfd/elfxx-ia64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index 5cc3110..8c37240 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)) |