Thread (3 messages) flat view 3 messages, 3 authors, 2026-06-19

Re: [PATCH] powerpc/boot: Allow text relocations for pseries wrapper with binutils 2.46+

From: Madhavan Srinivasan <maddy@linux.ibm.com>
Date: 2026-06-19 22:00:03
Also in: lkml

On Mon, 25 May 2026 21:46:01 +0530, Amit Machhiwal wrote:
Binutils 2.46 changed the default linker behavior from '-z notext' to
'-z text', which treats dynamic relocations in read-only segments as
errors rather than warnings. This causes the pseries boot wrapper build
to fail with:

  /usr/bin/ld.bfd: arch/powerpc/boot/wrapper.a(crt0.o): warning:
    relocation against `_platform_stack_top' in read-only section `.text'
  /usr/bin/ld.bfd: error: read-only segment has dynamic relocations

[...]
Applied to powerpc/next.

[1/1] powerpc/boot: Allow text relocations for pseries wrapper with binutils 2.46+
      https://git.kernel.org/powerpc/c/97f902dd4c99f8d085da5343dc58ae4f6ce7bdd9

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help