]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/elf32-i386.c
Count size relocation as PC-relative relocation
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 17 Jan 2013 23:36:10 +0000 (23:36 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 17 Jan 2013 23:36:10 +0000 (23:36 +0000)
commit06a6a421f22d81789b080f78862eeb110f998bf9
treef3bd5d02997d42648edd72bbe1fd2a0597f4f578
parentec5b818745092ebe75b50cc2296f56339ecb6457
Count size relocation as PC-relative relocation

bfd/

* elf32-i386.c (elf_i386_check_relocs): Count size relocation as
PC-relative relocation.
* elf64-x86-64.c (elf_x86_64_check_relocs): Count size relocation
as PC-relative relocation.

ld/testsuite/

* ld-size/size32-3-i386.d: New file.
* ld-size/size32-3-x32.d: Likewise.
* ld-size/size32-3-x86-64.d: Likewise.
* ld-size/size32-3.s: Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
ld/testsuite/ChangeLog