diff options
-rw-r--r-- | bfd/dwarf2.c | 4 | ||||
-rw-r--r-- | bfd/elf64-mips.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index 143c3fa..888757e 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -611,6 +611,10 @@ read_attribute (attr, abbrev, unit, info_ptr) DW_UNSND (attr) = read_4_bytes (abfd, info_ptr); info_ptr += 4; break; + case DW_FORM_ref8: + DW_UNSND (attr) = read_8_bytes (abfd, info_ptr); + info_ptr += 8; + break; case DW_FORM_ref_udata: DW_UNSND (attr) = read_unsigned_leb128 (abfd, info_ptr, &bytes_read); info_ptr += bytes_read; diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c index 0e388ef..6fc0dcd 100644 --- a/bfd/elf64-mips.c +++ b/bfd/elf64-mips.c @@ -2148,6 +2148,7 @@ 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 /* 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 |