I'm encountering a strange problem with g++ linking phase.
When I use this linker script:
Code: Select all
ENTRY(main)
SECTIONS {
. = 0x8000401000;
.text BLOCK(4096) : ALIGN(4096)
{
*(.text)
}
. = 0x8000601000;
.data BLOCK(4096) : ALIGN(4096)
{
*(.data)
}
}
I've searched for it and I found https://groups.google.com/forum/#!topic ... 5fzlMbjdy0. However, there are no real solution in this post, neither real explanation. I tried adding rodata and bss section (even with rodata* and bss*) and it does not change anything.
Does someone ever encountered such issues ? Is there an option I can use to prevent that to happen ?
Thank you for any idea