[PATCH] x86: Change PLT32 reloc against section to PC32

Alan Modra amodra@gmail.com
Mon Jul 20 02:16:44 GMT 2020


On Sun, Jul 19, 2020 at 06:48:43AM -0700, H.J. Lu via Binutils wrote:
> 	PR gas/26263
> 	* testsuite/ld-i386/i386.exp: Run PR gas/26263 test.
> 	* testsuite/ld-x86-64/x86-64.exp: Likewise.
> 	* testsuite/ld-i386/pr26263.d: New file.
> 	* testsuite/ld-x86-64/pr26263.d: Likewise.
> 	* testsuite/ld-x86-64/pr26263.s: Likewise.

Fails on i686-pc-elf

regexp_diff match failure
regexp "^0+1000 <printk>:$"
line   "000000cd <printk>:"
regexp_diff match failure
regexp "^0+1001 <foo>:$"
line   "000000ce <foo>:"
regexp_diff match failure
regexp "^ +[a-f0-9]+:	e8 fa ff ff ff       	call   1000 <printk>$"
line   "  ce:	e8 fa ff ff ff       	call   cd <printk>"
regexp_diff match failure
regexp "^ +[a-f0-9]+:	e8 f5 ff ff ff       	call   1000 <printk>$"
line   "  d3:	e8 f5 ff ff ff       	call   cd <printk>"


-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list