[PATCH] Place ENTRY_POINT in .text.startup section [BZ #28153]

Andreas Schwab schwab@linux-m68k.org
Sat Jul 31 05:40:18 GMT 2021


On Jul 30 2021, H.J. Lu via Libc-alpha wrote:

> Since GCC 4.6, the main function is placed in .text.startup section.

Not generally.

> Place ENTRY_POINT in .text.startup section fixes [BZ #28153].

The linker places .text.unlikely and .text.exit before .text.startup.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Libc-alpha mailing list