diff options
author | H.J. Lu <hjl@lucon.org> | 2003-08-22 23:35:59 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2003-08-22 23:35:59 +0000 |
commit | cba86d339f548bd6ce8a0863db3180ba2dd307cc (patch) | |
tree | 1a52cc05c42cd966cfee73be888be4c562bb1379 /bfd/elfxx-ia64.c | |
parent | d29e2a3e49349fbc90d921c1be66f85d0b9eb3f0 (diff) | |
download | gdb-cba86d339f548bd6ce8a0863db3180ba2dd307cc.tar.gz |
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 5cc311086ba..8c372405360 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)) |