Fix readelf -wl on s390x
Andreas Schwab
schwab@suse.de
Fri Jan 11 15:35:00 GMT 2008
More information about the Binutils mailing list
Fri Jan 11 15:35:00 GMT 2008
- Previous message (by thread): more long long problems "objdump --debugging"
- Next message (by thread): PATCH: Add more nops to x86 disassembler
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
readelf didn't handle R_S390_64 when relocating debugging sections. This fixes the gas/lns-duplicate test. Installed as obvious. Andreas. 2008-01-10 Andreas Schwab <schwab@suse.de> * readelf.c (is_64bit_abs_reloc): Handle R_S390_64. --- binutils/readelf.c.~1.394.~ 2007-12-19 21:34:00.000000000 +0100 +++ binutils/readelf.c 2008-01-10 13:44:08.000000000 +0100 @@ -8137,6 +8137,9 @@ is_64bit_abs_reloc (unsigned int reloc_t 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; } -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
- Previous message (by thread): more long long problems "objdump --debugging"
- Next message (by thread): PATCH: Add more nops to x86 disassembler
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list