From: Maciej W. Rozycki Date: Wed, 18 May 2016 03:30:50 +0000 (+0100) Subject: MIPS/readelf: Use the `d_val' dynamic entry member with the relevant tags X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c69075ac096c9de1b8a532123b493173f8fe0975;p=binutils-gdb.git MIPS/readelf: Use the `d_val' dynamic entry member with the relevant tags binutils/ * readelf.c (dynamic_section_mips_val) : Use the `d_val' rather than `d_ptr' member of the dynamic entry. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index faa9b786120..7596e037912 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,13 @@ +2016-05-18 Maciej W. Rozycki + + * readelf.c (dynamic_section_mips_val) + + + + + : Use the + `d_val' rather than `d_ptr' member of the dynamic entry. + 2016-05-17 Maciej W. Rozycki * testsuite/lib/binutils-common.exp (supports_gnu_unique): New diff --git a/binutils/readelf.c b/binutils/readelf.c index 61f2939fdc2..25ccb6a7dde 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: