diff options
author | Richard Henderson <rth@redhat.com> | 1999-11-18 01:06:45 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 1999-11-18 01:06:45 +0000 |
commit | 65fdb8321c9e85b1c18788d0d93eef33a6095423 (patch) | |
tree | 3114148c5c55f94d8e740510cf51182e8a749a9d /bfd/elfxx-target.h | |
parent | 468b01edd51b35cb881b3ac79ca27cd535447812 (diff) | |
download | gdb-65fdb8321c9e85b1c18788d0d93eef33a6095423.tar.gz |
* elf-bfd.h (struct elf_backend_data): Reorder collect and
type_change_ok; add sign_extend_vma.
* elf32-mips.c (elf_backend_sign_extend_vma): Define.
* elfcode.h (elf_swap_symbol_in): Mind be->sign_extend_vma.
(elf_swap_shdr_in, elf_swap_phdr_in): Likewise.
* elfxx-target.h (elf_backend_sign_extend_vma): Default.
(elfNN_bed): Follow struture changes.
Diffstat (limited to 'bfd/elfxx-target.h')
-rw-r--r-- | bfd/elfxx-target.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h index 3a787a268d3..2e7579b93be 100644 --- a/bfd/elfxx-target.h +++ b/bfd/elfxx-target.h @@ -338,6 +338,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define elf_backend_size_info _bfd_elfNN_size_info #endif +#ifndef elf_backend_sign_extend_vma +#define elf_backend_sign_extend_vma 0 +#endif + extern const struct elf_size_info _bfd_elfNN_size_info; static CONST struct elf_backend_data elfNN_bed = @@ -345,8 +349,6 @@ static CONST struct elf_backend_data elfNN_bed = ELF_ARCH, /* arch */ ELF_MACHINE_CODE, /* elf_machine_code */ ELF_MAXPAGESIZE, /* maxpagesize */ - elf_backend_collect, - elf_backend_type_change_ok, elf_info_to_howto, elf_info_to_howto_rel, elf_backend_sym_is_global, @@ -384,9 +386,12 @@ static CONST struct elf_backend_data elfNN_bed = elf_backend_got_symbol_offset, elf_backend_got_header_size, elf_backend_plt_header_size, + elf_backend_collect, + elf_backend_type_change_ok, elf_backend_may_use_rel_p, elf_backend_may_use_rela_p, elf_backend_default_use_rela_p, + elf_backend_sign_extend_vma, elf_backend_want_got_plt, elf_backend_plt_readonly, elf_backend_want_plt_sym, |