mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
5cc62437da
The ldscripts are already used for both ATmega and ATxmega, so it makes sense to have them in the common folder.
17 lines
443 B
Plaintext
17 lines
443 B
Plaintext
SECTIONS
|
|
{
|
|
.data :
|
|
{
|
|
/* Special case for AVR (Harvard architecture) where .rodata is merged
|
|
* into .data by the toolchain default ldscripts. */
|
|
KEEP (*(SORT(.roxfa.*)))
|
|
KEEP (*(SORT(.xfa.*)))
|
|
}
|
|
__data_start = ADDR(.data);
|
|
__data_load_start = LOADADDR(.data);
|
|
__data_end = (__data_start + SIZEOF(.data));
|
|
__data_load_end = (__data_load_start + SIZEOF(.data));
|
|
}
|
|
|
|
INSERT AFTER .text;
|