https://sourceware.org/bugzilla/show_bug.cgi?id=16345
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Alexey Neyman from comment #7) > (In reply to H.J. Lu from comment #6) > > > Also, I think, a mention in the description of -r option in ld.info would > > > be > > > appropriate. > > > > .init section can only be used according to the gABI. It is irrelevant > > to ld -r. When in doubt, DON't USE special sections documented in the > > gABI for your own purpose. > > The .text section is also listed as a "special section" in gABI/LSB, yet you > suggested to use it: > > ---- > Special Sections > ... > .init > This section holds executable instructions that contribute to the process > initialization code. When a program starts to run, the system arranges to > execute the code in this section before calling the main program entry point > (called main for C programs). Linker concatenates all input .init sections and turn it into a single function. You can't use it for yourself. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils