Re: [PATCH v7 3/7] Adjust symbol ordering in text output section [openrisc boot failure]

2024-12-01 Thread Masahiro Yamada
On Sun, Dec 1, 2024 at 11:31 PM Guenter Roeck wrote: > > Hi, > > On Sat, Nov 02, 2024 at 10:51:10AM -0700, Rong Xu wrote: > > When the -ffunction-sections compiler option is enabled, each function > > is placed in a separate section named .text.function_name rather than > > putting all functions i

Re: [PATCH v7 3/7] Adjust symbol ordering in text output section [openrisc boot failure]

2024-12-01 Thread Guenter Roeck
Hi, On Sat, Nov 02, 2024 at 10:51:10AM -0700, Rong Xu wrote: > When the -ffunction-sections compiler option is enabled, each function > is placed in a separate section named .text.function_name rather than > putting all functions in a single .text section. > ... > > Co-developed-by: Han Shen >

[PATCH v7 3/7] Adjust symbol ordering in text output section

2024-11-02 Thread Rong Xu
When the -ffunction-sections compiler option is enabled, each function is placed in a separate section named .text.function_name rather than putting all functions in a single .text section. However, using -function-sections can cause problems with the linker script. The comments included in includ