[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/22764] [2.30 Regression] ld fails to link 4.13 and 4.15 kernels

From: ard.biesheuvel at linaro dot org
Subject: [Bug ld/22764] [2.30 Regression] ld fails to link 4.13 and 4.15 kernels on aarch64-linux-gnu
Date: Wed, 31 Jan 2018 12:58:17 +0000


--- Comment #2 from Ard Biesheuvel <ard.biesheuvel at linaro dot org> ---
>From commit 79e741920446582bd0e09f3e2b9f899c258efa56

    R_AARCH64_ABS64 under LP64 is allowed in shared object and a dynamic
relocation entry
    will be generated. This allows the dynamic linker to do further symbol
    R_AARCH64_ABS32 likewise is allowed in shared object, however under ILP32

    The original behavior for R_AARCH64_ABS32 under LP64 is that, it's allowed
    in shared object and silently resolved at static linking time.
    No dynamic relocation entry is generate for it.

One could argue that absolute relocations against *absolute* ELF symbols should
always be resolved at static link time, but I am aware that, for historical
reasons, symbols like __GLOBAL_OFFSET_TABLE__ are emitted as absolute, making
this difficult to realise in practice.

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]