Какие-то сложные у вас решения
Код
.text :
{
_image_start = .;
KEEP(*(.isr_vector))
LONG((_image_end - _image_start) / 4); /* application size, in 4-byte words */
} > TEXT
.data :
{
. = ALIGN(4);
_sdata = .; /* start of .data label */
*(.ramfunc)
*(.ramfunc.*)
*(.data)
*(.data.*)
. = ALIGN(4);
_edata = .; /* end of .data label */
} > RAM AT > TEXT
_sidata = LOADADDR(.data); /* start of initialized data label */
.text.1 :
{
. = ALIGN(8);
__ctors_start__ = .;
KEEP(*(.init_array)) /* eabi uses .init_array for static constructor lists */
....
} > TEXT
Код
.text 0x08001000 0x124
0x08001000 _image_start = .
*(.isr_vector)
.isr_vector 0x08001000 0x120 ./release/obj/startup.o
0x08001000 g_pfnVectors
0x08001120 0x4 LONG 0x1b79 ((_image_end - _image_start) / 0x4)
.vfp11_veneer 0x08001124 0x0
.vfp11_veneer 0x00000000 0x0 linker stubs
.v4_bx 0x08001124 0x0
.v4_bx 0x00000000 0x0 linker stubs
.iplt 0x08001124 0x0
.iplt 0x00000000 0x0 ./release/obj/startup.o
.rel.dyn 0x08001124 0x0
.rel.iplt 0x00000000 0x0 ./release/obj/startup.o
.data 0x20000000 0x4 load address 0x08001124
0x20000000 . = ALIGN (0x4)
0x20000000 _sdata = .
*(.ramfunc)
*(.ramfunc.*)
*(.data)
*(.data.*)
.data.__ctype_ptr__
0x20000000 0x4 /home/serzh/opt/arm-gcc/launchpad/20150306/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/libc.a(lib_a-ctype_.o)
0x20000000 __ctype_ptr__
0x20000004 . = ALIGN (0x4)
0x20000004 _edata = .
0x08001124 _sidata = LOADADDR (.data)
.igot.plt 0x20000004 0x0 load address 0x08001128
.igot.plt 0x00000000 0x0 ./release/obj/startup.o
.text.1 0x08001128 0x6cb4
0x08001128 . = ALIGN (0x8)
0x08001128 __ctors_start__ = .
*(.init_array)
.init_array 0x08001128 0x4 ./release/obj/adc.o