x86_64 pr25749-1b test

H.J. Lu hjl.tools@gmail.com
Wed Jun 17 00:33:34 GMT 2020


On Tue, Jun 16, 2020 at 4:50 PM Alan Modra <amodra@gmail.com> wrote:
>
> Using gcc4, I see
> FAIL: Build pr25749-1b (-pie -fPIE)
>
> This is due to pr25749-1b.o from gcc4 having

Can you show me

# gcc -v

>  R_X86_64_REX_GOTPCRELX 0000000000000000 _binary_pr25749_1_c_size - 4
> rather than the reloc generated by more recent compilers
>  R_X86_64_PC32          0000000000000000 _binary_pr25749_1_c_size - 4
>
> And of course there isn't a problem with a GOT entry containing an
> absolute symbol reference, so the error expected by the test isn't
> seen.
>
> This doesn't concern me a great deal, but if you can fix the test
> easily it might reduce the number of "bugs" reported for 2.35.
>
> --
> Alan Modra
> Australia Development Lab, IBM



-- 
H.J.


More information about the Binutils mailing list