aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2008-01-10 13:09:36 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2008-01-10 13:09:36 +0000
commite819ade1fbb0faf9f23105b52dd5215d80386a7e (patch)
treeac1e7fc0cff0c52b33150532e6d6221513dfa95c /binutils/readelf.c
parentd5465ba2e1ed7e45ddd9e9cc2ba64d98afcb0fa7 (diff)
downloadgdb-e819ade1fbb0faf9f23105b52dd5215d80386a7e.zip
gdb-e819ade1fbb0faf9f23105b52dd5215d80386a7e.tar.gz
gdb-e819ade1fbb0faf9f23105b52dd5215d80386a7e.tar.bz2
* readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 84fb290..1631a94 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -8137,6 +8137,9 @@ is_64bit_abs_reloc (unsigned int reloc_type)
return reloc_type == 54; /* R_SPARC_UA64. */
case EM_X86_64:
return reloc_type == 1; /* R_X86_64_64. */
+ case EM_S390_OLD:
+ case EM_S390:
+ return reloc_type == 22; /* R_S390_64 */
default:
return FALSE;
}