[En-Nut-Discussion] But in launchpad toolchain and possibly others as well?

Ole Reinhardt ole.reinhardt at embedded-it.de
Wed Nov 27 12:49:32 CET 2013


Hi Harald!

Am 27.11.2013 10:27, schrieb Harald Kipp:

> Ole, what happens if you add *(.data.*) to the data region in the linker
> script?
> 
> /* Explicitly initialized data goes into the .data section. */
> .data :
> {
>   . = ALIGN(4);
>   *(.data);
>   . = ALIGN(4);
>   *(.data.*);
>   . = ALIGN(4);
>   /* Marks the end of non relocatable code and data. */
>   PROVIDE (__data_end = .);
> } > REGION_DATA

Great! That solved the problem!

Many thanks!

I think we should add this to all other arm Makefiles as well?

Best regards,

Ole

-- 
kernel concepts GmbH            Tel: +49-271-771091-14
Sieghuetter Hauptweg 48         Mob: +49-177-7420433
D-57072 Siegen
http://www.embedded-it.de
http://www.kernelconcepts.de


More information about the En-Nut-Discussion mailing list