https://sourceware.org/bugzilla/show_bug.cgi?id=27093
Bug ID: 27093 Summary: should BFD not produce `-z norelro ignored` when target emulation is unsupported? Product: binutils Version: 2.35.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: ndesaulniers at google dot com CC: amodra at gmail dot com, i at maskray dot me, maskray at google dot com Target Milestone: --- Follow up to LKML discussion: https://lore.kernel.org/lkml/20201214231827.gg8...@bubble.grove.modra.org/ And LLD bug: https://bugs.llvm.org/show_bug.cgi?id=48549 It looks like BFD and LLD disagree about which aarch64 emulation targets to set relro program headers for. For the Linux kernel, we'd like to explicitly disable relro, regardless of target emulation mode (The kernel tries to use -maarch64elf, but will fall back to -maarch64linux), and linker. I can understand warning if `-z relro` (enabling) was set, but unsupported. But warning on `-z norelro` (disabling) feels like a papercut. -- You are receiving this mail because: You are on the CC list for the bug.