https://sourceware.org/bugzilla/show_bug.cgi?id=32961
--- Comment #24 from Zhiyuan Lv <zhiyuan.lv at linux dot intel.com> --- (In reply to H.J. Lu from comment #23) > Created attachment 16095 [details] > The final patch > > This is the final patch I am submitting. Please test. Tested with both my small test case here and kernel build, all working fine. Below are the details: OS: Ubuntu 24.04 GCC: 14.2.0 in Ubuntu default Binutils: 2.44.50, built with H.J.'s patch on top of master branch (d1851edfe9d2) Test cases: 1. compile test.c with assembler new parameter "--unique-pushsection" 2. modify test.c to use ".pushuniquesection" and compile 3. try (2) with "--unique-pushsection" parameter 4. build Linux kernel 6.12 with the new parameter for some specific files All can see that unused functions were removed as expected, and functionality OK. Thanks H.J.!! -- You are receiving this mail because: You are on the CC list for the bug.