https://sourceware.org/bugzilla/show_bug.cgi?id=30359
--- Comment #2 from Pali Rohár <pali at kernel dot org> --- If adding empty import table and something in code .text sections is feature of the linker, it is somewhere documented? What it is doing and what is putting there (as those sections are not in any user supplied input file)? And I'm interesting why it is doing, it is some requirement for some SW? Just I'm currious here. And about objcopy --remove-section workaround, this is problematic because for automatization, it is needed to know what sections has to be removed - meaning ability to ask LD what additional section it added there. -- You are receiving this mail because: You are on the CC list for the bug.