https://sourceware.org/bugzilla/show_bug.cgi?id=32961
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Zhiyuan Lv from comment #0) > > If all above is correct, could we consider below two options? > > 1. Add a new type of ".pushsection", say, ".pushnewsection", which will > always create a new section. This may work. Or an assembler option to force a new section for .pushsection. This doesn't require source code changes. Only a new assembler is needed. > 2. Let LD be able to ignore some given sections while doing the section > dependency calculation. If a symbol is deleted, simply remove the relocation > entry in the specified "ignored section". Linker can't remove .alt_section since there is only one .alt_section and it is used by entry_func. > Either one can address above case of test.c. Any comments? Thanks! -- You are receiving this mail because: You are on the CC list for the bug.