Add a test for R_386_GOT32/R_386_GOT32X IFUNC reloc error
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 15 Feb 2017 18:55:51 +0000 (10:55 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 15 Feb 2017 19:11:40 +0000 (11:11 -0800)
commita5def14f1ca70e14d9433cb229c9369fa3051598
treefb14176e5377b05dc9ac4bb6119f8095c868a2a4
parentf98d33be3af3a8d788aaef37e8fef167b59c81b2
Add a test for R_386_GOT32/R_386_GOT32X IFUNC reloc error

bfd/

PR ld/20244
* elf32-i386.c (elf_i386_relocate_section): Properly get IFUNC
symbol name when reporting R_386_GOT32/R_386_GOT32X relocation
error against local IFUNC symbol without a base register for
PIC.

ld/

PR ld/20244
* testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
pr20244-4c.
* testsuite/ld-i386/pr20244-4.s: New file.
* testsuite/ld-i386/pr20244-4a.d: Likewise.
* testsuite/ld-i386/pr20244-4b.d: Likewise.
* testsuite/ld-i386/pr20244-4c.d: Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
ld/ChangeLog
ld/testsuite/ld-i386/i386.exp
ld/testsuite/ld-i386/pr20244-4.s [new file with mode: 0644]
ld/testsuite/ld-i386/pr20244-4a.d [new file with mode: 0644]
ld/testsuite/ld-i386/pr20244-4b.d [new file with mode: 0644]
ld/testsuite/ld-i386/pr20244-4c.d [new file with mode: 0644]
This page took 0.045146 seconds and 4 git commands to generate.