From c69075ac096c9de1b8a532123b493173f8fe0975 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Wed, 18 May 2016 04:30:50 +0100 Subject: [PATCH] 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. --- binutils/ChangeLog | 10 ++++++++++ binutils/readelf.c | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) 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: -- 2.30.2