aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
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 /binutils/readelf.c
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.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c2
1 files changed, 2 insertions, 0 deletions
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;
}