This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
MIPS64 readelf
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org
- Date: Fri, 8 Aug 2008 17:37:57 +0930
- Subject: 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