Hi everyone,
I use the following link script file. The section ".text.sram"'s execute-address is different from load- address.
If I execute arm-elf-ld, then the following warning is occurred. => warning: dot moved backwards before `.data'
The section ".data"'s execute-address is less than the section ".text.sram"'s one. But their load-address is different each other.. I want to get rid of this warning. I want to know the way getting rid of this warning except the way that change the position of each sections.
Do you know the solution?
------------------------link script file--------------------------- SECTIONS { .text 0x0000 : { *(.init) *(.text) }
.text.sram 0xF000 : AT(LOADADDR(.text)+SIZEOF(.text)) { *(.text.sram) }
.data (LOADADDR(.text.sram) + SIZEOF(.text.sram)) : { *(.data) *(.rodata) }
.bss (LOADADDR(.data) + SIZEOF(.data)) : { __bss_start__ = .; *(.bss) __bss_end__ = .; end = .; }
.fini (LOADADDR(.bss) + SIZEOF(.bss)) : { *(.fini) } .eh_frame : { *(.eh_frame) } .ctors : { *(.ctors) } .dtors : { *(.dtors) } .jcr : { *(.jcr) } }