* elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size.
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 31 Jan 2005 20:39:11 +0000 (20:39 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Mon, 31 Jan 2005 20:39:11 +0000 (20:39 +0000)
commit8c946ed5d5af555d95f39630fcb56bfc6b0ce93b
tree65cab0a41c020d51a982aef8b506199ec171ea51
parent89fac5e3c33745a93c9b90538048505d46ca365c
* elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size.
(_bfd_elf_eh_frame_address_size): Declare.
* elfxx-target.h (elf_backend_eh_frame_address_size): Define a default.
(elfNN_bed): Initialize elf_backend_eh_frame_address_size.
* elfxx-mips.h (_bfd_mips_elf_eh_frame_address_size): Declare.
(elf_backend_eh_frame_address_size): Define.
* elfxx-mips.c (_bfd_mips_elf_eh_frame_address_size): New function.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Get the address
size from the new backend hook.
(_bfd_elf_write_section_eh_frame): Likewise.
(_bfd_elf_eh_frame_address_size): New function.
12 files changed:
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf-eh-frame.c
bfd/elfxx-mips.c
bfd/elfxx-mips.h
bfd/elfxx-target.h
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/eh-frame1.ld
ld/testsuite/ld-mips-elf/eh-frame1.s
ld/testsuite/ld-mips-elf/eh-frame3.d [new file with mode: 0644]
ld/testsuite/ld-mips-elf/eh-frame4.d [new file with mode: 0644]
ld/testsuite/ld-mips-elf/mips-elf.exp
This page took 0.03112 seconds and 4 git commands to generate.