aboutsummaryrefslogtreecommitdiff
path: root/bfd/dwarf2.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-07-14 08:49:40 +0000
committerMark Mitchell <mark@codesourcery.com>1999-07-14 08:49:40 +0000
commit81edd86dd15db8be0e5e0177e90ca706938ff2a4 (patch)
tree09045c75e8dae308211c92d6f38e03c53d6fad82 /bfd/dwarf2.c
parente53bd91b0fd8f8e7c0b0f32d2080c60873b51404 (diff)
downloadgdb-81edd86dd15db8be0e5e0177e90ca706938ff2a4.zip
gdb-81edd86dd15db8be0e5e0177e90ca706938ff2a4.tar.gz
gdb-81edd86dd15db8be0e5e0177e90ca706938ff2a4.tar.bz2
* dwarf2.c (read_attribute): Support DW_FORM_ref8.
* elf32-mips.c (mips_elf_link_hash_entry): Change mips_32_relocs to possibly_dynamic_relocs. Adjust usage throughout code. (elf_mips_howto_table): Handle R_MIPS_64 correctly. (elf_mips_ctor64_howto): Likewise. (mips_elf_calculate_relocation): Handle R_MIPS_64 like R_MIPS_32. Adjust indentation. (mips_elf_relocate_section): Handle R_MIPS_64 in 32-bit mode. (_bfd_mips_elf_check_relocs): Handle R_MIPS_64 like R_MIPS_32. Use MIPS_ELF_GOT_SIZE to calculate the size of GOT entries. * elf64-mips.c (elf_backend_may_use_rel_p): Define.
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r--bfd/dwarf2.c4
1 files changed, 4 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;