TaiJuWu commented on issue #10594:
URL: https://github.com/apache/nuttx/issues/10594#issuecomment-1716801355
> Could you please modify the linker script to become
>
> ```
> SECTIONS
> {
> . = 0x80000000;
>
> .text :
> {
> _stext = . ;
> *(.text) // key
> *(.text.*)
> *(.gnu.warning)
> *(.stub)
> *(.glue_7)
> *(.glue_7t)
> *(.jcr)
>
> /* C++ support: The .init and .fini sections contain specific logic
> * to manage static constructors and destructors.
> */
>
> *(.gnu.linkonce.t.*)
> *(.init) /* Old ABI */
> *(.fini) /* Old ABI */
> _etext = . ;
> }
>
> .rodata :
> {
> _srodata = . ;
> *(.rodata)
> *(.rodata1)
> *(.rodata.*)
> *(.srodata)
> *(.srodata.*)
> *(.gnu.linkonce.r*)
> _erodata = . ;
> }
> ```
>
> also it would be good to add `*(.sdata .sdata.* .sdata2.*)` to `.data`
section I think in some place before `*(.gnu.linkonce.s.*)` should be fine and
`*(.sbss*)` to `.bss` section. Could you please try it out and feedback if that
helps?
It still failed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]