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]

MIPS64 readelf


To better dump debug info.

	* readelf.c (is_64bit_abs_reloc): Return true for R_MIPS_64.

Index: binutils/readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.421
diff -u -p -r1.421 readelf.c
--- binutils/readelf.c	3 Aug 2008 23:23:26 -0000	1.421
+++ binutils/readelf.c	8 Aug 2008 07:29:24 -0000
@@ -8184,6 +8184,8 @@ is_64bit_abs_reloc (unsigned int reloc_t
     case EM_S390_OLD:
     case EM_S390:
       return reloc_type == 22;	/* R_S390_64 */
+    case EM_MIPS:
+      return reloc_type == 18;	/* R_MIPS_64 */
     default:
       return FALSE;
     }

-- 
Alan Modra
Australia Development Lab, IBM


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