diff options
author | Thiemo Seufer <ths@networkno.de> | 2001-10-03 14:12:12 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2001-10-03 14:12:12 +0000 |
commit | 1e2be829b640424822efa52a8b94634d51ced5f4 (patch) | |
tree | 5e1ef06193439217263a062ef4bb96dd3fcfc283 | |
parent | e150e7bf83597e5293f067aad7f5ac6edfa33466 (diff) | |
download | gdb-1e2be829b640424822efa52a8b94634d51ced5f4.zip gdb-1e2be829b640424822efa52a8b94634d51ced5f4.tar.gz gdb-1e2be829b640424822efa52a8b94634d51ced5f4.tar.bz2 |
* elf64-mips.c (elf_backend_may_use_rela_p): New define.
(elf_backend_default_use_rela_p): New define.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf64-mips.c | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a4c2cda..c1ce396 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-10-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * elf64-mips.c (elf_backend_may_use_rela_p): New define. + (elf_backend_default_use_rela_p): New define. + 2001-10-03 Alan Modra <amodra@bigpond.net.au> * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Fix typos in last diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c index 0b8638f..ffdfe53 100644 --- a/bfd/elf64-mips.c +++ b/bfd/elf64-mips.c @@ -2103,7 +2103,12 @@ const struct elf_size_info mips_elf64_size_info = #define elf_backend_gc_sweep_hook _bfd_mips_elf_gc_sweep_hook #define elf_backend_got_header_size (4*MIPS_RESERVED_GOTNO) #define elf_backend_plt_header_size 0 -#define elf_backend_may_use_rel_p 1 + +/* MIPS ELF64 can use a mixture of REL and RELA, but some Relocations + * work better/work only in RELA, so we default to this. */ +#define elf_backend_may_use_rel_p 1 +#define elf_backend_may_use_rela_p 1 +#define elf_backend_default_use_rela_p 1 /* We don't set bfd_elf64_bfd_is_local_label_name because the 32-bit MIPS-specific function only applies to IRIX5, which had no 64-bit |