2003-08-01 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (get_got): Align the .got section at 8 bytes.
This commit is contained in:
parent
37cd262974
commit
8651fcf94c
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-08-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* elfxx-ia64.c (get_got): Align the .got section at 8 bytes.
|
||||
|
||||
2003-08-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Use
|
||||
|
|
|
@ -1907,6 +1907,10 @@ get_got (abfd, info, ia64_info)
|
|||
BFD_ASSERT (got);
|
||||
ia64_info->got_sec = got;
|
||||
|
||||
/* The .got section is always aligned at 8 bytes. */
|
||||
if (!bfd_set_section_alignment (abfd, got, 3))
|
||||
return 0;
|
||||
|
||||
flags = bfd_get_section_flags (abfd, got);
|
||||
bfd_set_section_flags (abfd, got, SEC_SMALL_DATA | flags);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue