9892017203
bfd/ 2011-10-21 H.J. Lu <hongjiu.lu@intel.com> PR ld/13302 * elf32-i386.c (elf_i386_relocate_section): Replace R_386_IRELATIVE with R_386_RELATIVE. * elf64-x86-64.c (elf_x86_64_relocate_section): Replace R_X86_64_IRELATIVE with R_X86_64_RELATIVE. ld/testsuite/ 2011-10-21 H.J. Lu <hongjiu.lu@intel.com> PR ld/13302 * ld-i386/i386.exp: Run pr13302. * ld-i386/pr13302.d: New. * ld-i386/pr13302.s: Likewise. * ld-x86-64/pr13082-5b.d: Updated. * ld-x86-64/pr13082-6a.d: Likewise. * ld-x86-64/pr13082-6b.d: Likewise.
13 lines
505 B
Makefile
13 lines
505 B
Makefile
#source: pr13082-5.s
|
|
#name: PR ld/13082-5 (b)
|
|
#as: --x32
|
|
#ld: -pie -melf32_x86_64
|
|
#readelf: -r --wide
|
|
|
|
Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 1 entries:
|
|
Offset Info Type Sym. Value Symbol's Name \+ Addend
|
|
[0-9a-f]+ +[0-9a-f]+ +R_X86_64_RELATIVE +[0-9a-f]+
|
|
|
|
Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries:
|
|
Offset Info Type Sym. Value Symbol's Name \+ Addend
|
|
[0-9a-f]+ +[0-9a-f]+ +R_X86_64_IRELATIVE +[0-9a-f]+
|