]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
s390: Increment PC-relative relocation count for PC24DBL relocs
authorJens Remus <jremus@linux.ibm.com>
Fri, 14 Nov 2025 08:42:12 +0000 (09:42 +0100)
committerJens Remus <jremus@linux.ibm.com>
Fri, 14 Nov 2025 08:42:12 +0000 (09:42 +0100)
commit4c8a9c8b2f4f89de6832dc3ee5d06ca7cb7854e8
tree8e2b86a01284e7f450bfebc5c649012389cb8366
parent362b674aa48a7bd18012d07e4cf7f3e2122fee30
s390: Increment PC-relative relocation count for PC24DBL relocs

Commit fb798c50b2c8 added the R_390_PC24DBL relocation.  Due to a copy
and paste error it messed up to increment the PC-relative relocation
count in elf64-s390.c function elf_s390_check_relocs (i.e. duplicate
check for R_390_PC16DBL).

Found while inspecting and cleaning up differences between elf32-s390.c
and elf64-s390.c.

bfd/
* elf64-s390.c (elf_s390_check_relocs): Increment PC-relative
relocation count for R_390_PC24DBL.

Fixes: fb798c50b2c8
Signed-off-by: Jens Remus <jremus@linux.ibm.com>
bfd/elf64-s390.c