diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2016-05-18 04:30:50 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@imgtec.com> | 2016-05-18 04:36:52 +0100 |
commit | c69075ac096c9de1b8a532123b493173f8fe0975 (patch) | |
tree | dc6414878a57b8239e7f979f07c08432604e19db /binutils | |
parent | a255f00a28d31979293d10cd2b121a1ca8d1fcf9 (diff) | |
download | gdb-c69075ac096c9de1b8a532123b493173f8fe0975.zip gdb-c69075ac096c9de1b8a532123b493173f8fe0975.tar.gz gdb-c69075ac096c9de1b8a532123b493173f8fe0975.tar.bz2 |
MIPS/readelf: Use the `d_val' dynamic entry member with the relevant tags
binutils/
* readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
<DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
<DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
<DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
<DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
<DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
`d_val' rather than `d_ptr' member of the dynamic entry.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 10 | ||||
-rw-r--r-- | binutils/readelf.c | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index faa9b78..7596e03 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,13 @@ +2016-05-18 Maciej W. Rozycki <macro@imgtec.com> + + * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION> + <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO> + <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO> + <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO> + <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO> + <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the + `d_val' rather than `d_ptr' member of the dynamic entry. + 2016-05-17 Maciej W. Rozycki <macro@imgtec.com> * testsuite/lib/binutils-common.exp (supports_gnu_unique): New diff --git a/binutils/readelf.c b/binutils/readelf.c index 61f2939..25ccb6a 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -8743,7 +8743,7 @@ dynamic_section_mips_val (Elf_Internal_Dyn * entry) case DT_MIPS_DELTA_SYM_NO: case DT_MIPS_DELTA_CLASSSYM_NO: case DT_MIPS_COMPACT_SIZE: - print_vma (entry->d_un.d_ptr, DEC); + print_vma (entry->d_un.d_val, DEC); break; default: |