Thread (2 messages) 2 messages, 2 authors, 2022-03-12

Re: [PATCH kernel v4] powerpc/64: Add UADDR64 relocation support

flat view

From: Michael Ellerman <hidden>
Date: 2022-03-12 10:31:12

On Wed, 9 Mar 2022 17:18:22 +1100, Alexey Kardashevskiy wrote:
When ld detects unaligned relocations, it emits R_PPC64_UADDR64
relocations instead of R_PPC64_RELATIVE. Currently R_PPC64_UADDR64 are
detected by arch/powerpc/tools/relocs_check.sh and expected not to work.
Below is a simple chunk to trigger this behaviour (this disables
optimization for the demonstration purposes only, this also happens with
-O1/-O2 when CONFIG_PRINTK_INDEX=y, for example):

[...]
Applied to powerpc/next.

[1/1] powerpc/64: Add UADDR64 relocation support
      https://git.kernel.org/powerpc/c/d799769188529abc6cbf035a10087a51f7832b6b

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