OSDN Git Service

* elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size.
authorRichard Sandiford <rsandifo@nildram.co.uk>
Mon, 31 Jan 2005 20:39:11 +0000 (20:39 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Mon, 31 Jan 2005 20:39:11 +0000 (20:39 +0000)
commit99f2c3cfe1305286b23010becfae98b83aeb90b7
treeb4a239d7d9813da0221283fe2aab68735756336c
parentb1e9db255a908d27c195571e0f2f69bc5a835145
* 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.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf-eh-frame.c
bfd/elfxx-mips.c
bfd/elfxx-mips.h
bfd/elfxx-target.h