This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] 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.
---

 No change in output, it's a psABI conformance update.  I have committed 
this change now.

  Maciej

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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]