diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2008-01-10 13:09:36 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2008-01-10 13:09:36 +0000 |
commit | e819ade1fbb0faf9f23105b52dd5215d80386a7e (patch) | |
tree | ac1e7fc0cff0c52b33150532e6d6221513dfa95c | |
parent | d5465ba2e1ed7e45ddd9e9cc2ba64d98afcb0fa7 (diff) | |
download | gdb-e819ade1fbb0faf9f23105b52dd5215d80386a7e.zip gdb-e819ade1fbb0faf9f23105b52dd5215d80386a7e.tar.gz gdb-e819ade1fbb0faf9f23105b52dd5215d80386a7e.tar.bz2 |
* readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 0c0efda..c74bc0f 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2008-01-10 Andreas Schwab <schwab@suse.de> + + * readelf.c (is_64bit_abs_reloc): Handle R_S390_64. + 2008-01-09 Jakub Zawadzki <darkjames@darkjames.ath.cx> PR binutils/55326 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; } |