* config.bfd (sparc64-*-linux*): New target.
* elf-bfd.h (struct elf_backend_data): Add plt_alignment member. * elflink.c (_bfd_elf_create_got_section): Set .got alignment based on arch_size. (_bfd_elf_create_dynamic_sections): Likewise for .rel* sections. Set .plt alignment from new plt_alignment. * elflink.h (elf_link_create_dynamic_sections): Set version section alignment to LOG_FILE_ALIGN. * elfxx-target.h (elf_backend_plt_alignment): Provide default. (elfXX_bed): Init plt_alignment. * elf64-sparc.c (sparc64_elf_check_relocs, sparc64_elf_adjust_dynamic_symbol, sparc64_elf_size_dynamic_sections, sparc64_elf_adjust_dynindx, sparc64_elf_finish_dynamic_symbol, sparc64_elf_finish_dynamic_sections): New functions. (sparc64_elf_howto_table): Fix a few name strings. (ELF_DYNAMIC_INTERPRETER): New definition. (sparc64_elf_relocate_section): Handle shared libraries. * elf64-sparc.c (struct plt_template, plt_*_header, plt_*_entry, sparc64_elf_build_plt_entry, sparc64_elf_finish_dynamic_symbol): PLT definitions sparc64-linux originally choose. These will go away soon in favour of the official abi definitions.
This commit is contained in:
parent
1277cdda1c
commit
65c2dd6ec7
@ -1,3 +1,30 @@
|
||||
Thu Oct 23 00:25:29 1997 Richard Henderson <rth@dot.cygnus.com>
|
||||
|
||||
* config.bfd (sparc64-*-linux*): New target.
|
||||
|
||||
* elf-bfd.h (struct elf_backend_data): Add plt_alignment member.
|
||||
* elflink.c (_bfd_elf_create_got_section): Set .got alignment based
|
||||
on arch_size.
|
||||
(_bfd_elf_create_dynamic_sections): Likewise for .rel* sections.
|
||||
Set .plt alignment from new plt_alignment.
|
||||
* elflink.h (elf_link_create_dynamic_sections): Set version section
|
||||
alignment to LOG_FILE_ALIGN.
|
||||
* elfxx-target.h (elf_backend_plt_alignment): Provide default.
|
||||
(elfXX_bed): Init plt_alignment.
|
||||
|
||||
* elf64-sparc.c (sparc64_elf_check_relocs,
|
||||
sparc64_elf_adjust_dynamic_symbol, sparc64_elf_size_dynamic_sections,
|
||||
sparc64_elf_adjust_dynindx, sparc64_elf_finish_dynamic_symbol,
|
||||
sparc64_elf_finish_dynamic_sections): New functions.
|
||||
(sparc64_elf_howto_table): Fix a few name strings.
|
||||
(ELF_DYNAMIC_INTERPRETER): New definition.
|
||||
(sparc64_elf_relocate_section): Handle shared libraries.
|
||||
|
||||
* elf64-sparc.c (struct plt_template, plt_*_header, plt_*_entry,
|
||||
sparc64_elf_build_plt_entry, sparc64_elf_finish_dynamic_symbol):
|
||||
PLT definitions sparc64-linux originally choose. These will go
|
||||
away soon in favour of the official abi definitions.
|
||||
|
||||
Wed Oct 22 16:08:45 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* coff-sh.c (coff_small_object_p): New static function.
|
||||
|
1765
bfd/elf64-sparc.c
1765
bfd/elf64-sparc.c
File diff suppressed because it is too large
Load Diff
@ -1844,7 +1844,7 @@ elf_link_create_dynamic_sections (abfd, info)
|
||||
s = bfd_make_section (abfd, ".gnu.version_d");
|
||||
if (s == NULL
|
||||
|| ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY)
|
||||
|| ! bfd_set_section_alignment (abfd, s, 2))
|
||||
|| ! bfd_set_section_alignment (abfd, s, LOG_FILE_ALIGN))
|
||||
return false;
|
||||
|
||||
s = bfd_make_section (abfd, ".gnu.version");
|
||||
@ -1856,7 +1856,7 @@ elf_link_create_dynamic_sections (abfd, info)
|
||||
s = bfd_make_section (abfd, ".gnu.version_r");
|
||||
if (s == NULL
|
||||
|| ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY)
|
||||
|| ! bfd_set_section_alignment (abfd, s, 2))
|
||||
|| ! bfd_set_section_alignment (abfd, s, LOG_FILE_ALIGN))
|
||||
return false;
|
||||
|
||||
s = bfd_make_section (abfd, ".dynsym");
|
||||
|
Loading…
Reference in New Issue
Block a user