aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-08-08 08:08:33 +0000
committerAlan Modra <amodra@gmail.com>2008-08-08 08:08:33 +0000
commit85a8226582f922ebf485e6969e664ce03e6c52f3 (patch)
treea6f0ba9d1f4f4e92863ea29472f39bc7f82d3e66
parenta26cc9674694867c19e7db7b632b7cda181b3b62 (diff)
downloadgdb-85a8226582f922ebf485e6969e664ce03e6c52f3.zip
gdb-85a8226582f922ebf485e6969e664ce03e6c52f3.tar.gz
gdb-85a8226582f922ebf485e6969e664ce03e6c52f3.tar.bz2
* readelf.c (is_64bit_abs_reloc): Return true for R_MIPS_64.
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 443af28..9cb36ce 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-08 Alan Modra <amodra@bigpond.net.au>
+
+ * readelf.c (is_64bit_abs_reloc): Return true for R_MIPS_64.
+
2008-08-06 Alan Modra <amodra@bigpond.net.au>
PR 6774
diff --git a/binutils/readelf.c b/binutils/readelf.c
index c260e9a..ce1203e 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -8184,6 +8184,8 @@ is_64bit_abs_reloc (unsigned int reloc_type)
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;
}