https://sourceware.org/bugzilla/show_bug.cgi?id=31924

--- Comment #10 from Tj <tj.iam.tj at proton dot me> ---
On Friday, 28 June 2024 at 13:52, nsz at gcc dot gnu.org
<sourceware-bugzi...@sourceware.org> wrote:

> 
> so either linux is wrong for passing
> 
> --no-apply-dynamic-relocs -z pack-relative-relocs
> 
> together or ld should ignore --no-apply-dynamic-relocs in this case.
> i think linux is wrong here.
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/Makefile#n15
> 
> if i edit that out then i get a bootable Image.
> 

Did you notice my finding about zboot.lds and removing the DISCARD ?

That was only added in v6.9 with commit 5134acb15d9ef27aa2b90aad46d and is
targeted at loongarch so I suspect that commit needs reverting and redoing to
be conditional on the architecture.
> You are receiving this mail because:
> You are on the CC list for the bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to