aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-mips.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-11-18 01:06:45 +0000
committerRichard Henderson <rth@redhat.com>1999-11-18 01:06:45 +0000
commit86dc0f79f59480ef98f870c71d2e38ea23e56a04 (patch)
treee77d39aec1b71c080b4520e09dd6103f9e562333 /bfd/elf32-mips.c
parent22b3e891f0fe72093d144f7442aa9c777e5a6bf4 (diff)
downloadgdb-86dc0f79f59480ef98f870c71d2e38ea23e56a04.zip
gdb-86dc0f79f59480ef98f870c71d2e38ea23e56a04.tar.gz
gdb-86dc0f79f59480ef98f870c71d2e38ea23e56a04.tar.bz2
* 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/elf32-mips.c')
-rw-r--r--bfd/elf32-mips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index 0e7dd08..fe86862 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -8809,6 +8809,7 @@ static const struct ecoff_debug_swap mips_elf32_ecoff_debug_swap =
#define elf_backend_collect true
#define elf_backend_type_change_ok true
#define elf_backend_can_gc_sections true
+#define elf_backend_sign_extend_vma true
#define elf_info_to_howto mips_info_to_howto_rela
#define elf_info_to_howto_rel mips_info_to_howto_rel
#define elf_backend_sym_is_global mips_elf_sym_is_global