https://sourceware.org/bugzilla/show_bug.cgi?id=28772
Bug ID: 28772 Summary: Provide /PASSTHRU/ section rule similar to /DISCARD/ Product: binutils Version: unspecified Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: kees at outflux dot net Target Milestone: --- When building the Function-Granular Kernel Address Space Layout Randomization (FGKASLR), there needs to be a way to specify wildcards for input section names that should be passed through with their existing name (not collected into a new section, and not discarded). Right now, it's only possible to accomplish this be either naming each of these sections in the linker script (and with 64,000 sections, the linker becomes hugely slow, and complicates the kernel build), or by disabling orphan section warnings. For example: /PASSTHRU/ : { *(.text.*) } Here is one place where this need was discussed: https://lore.kernel.org/linux-hardening/202109011815.1C439A6DA9@keescook/ -- You are receiving this mail because: You are on the CC list for the bug.