[PATCH, COMMITTED] x86-64: Pass -z separate-code to ld for -z mark-plt tests
H.J. Lu
hjl.tools@gmail.com
Thu Feb 27 00:23:56 GMT 2025
On Thu, Feb 27, 2025 at 7:27 AM Alan Modra <amodra@gmail.com> wrote:
>
> On Mon, Feb 24, 2025 at 03:59:30PM +0100, Clément Chigot wrote:
> > Those tests were generated by a linker having "-z separate-code" on by
> > default. However, being controlled by a configure option, it can be off
> > by default. Forcing the option as part of the tests ensures clean
> > results in both cases.
>
> Right, thanks for fixing this.
>
> x86_64-linux-gnu configured with --disable-separate-code still sees
> some fails. I'm going to leave it to the x86 maintainers to fix these
> remaining failures.
> FAIL: ld-x86-64/mark-plt-1a
> FAIL: ld-x86-64/mark-plt-1b
> FAIL: ld-x86-64/mark-plt-1c
> FAIL: ld-x86-64/mark-plt-1d
> FAIL: ld-x86-64/mark-plt-1a-x32
> FAIL: ld-x86-64/mark-plt-1b-x32
> FAIL: ld-x86-64/mark-plt-1c-x32
> FAIL: ld-x86-64/mark-plt-1d-x32
>
This is what I checked in.
Thanks.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-64-Pass-z-separate-code-to-ld-for-z-mark-plt-tes.patch
Type: text/x-patch
Size: 5026 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250227/a2d3600b/attachment-0001.bin>
More information about the Binutils
mailing list