mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
xfa: remove common -Txfa.ld include
This commit is contained in:
parent
f411fd4814
commit
ac549abbb9
@ -357,11 +357,6 @@ endif
|
||||
# Add standard include directories
|
||||
INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include
|
||||
|
||||
# Augmentation ldscript for cross file arrays (XFA)
|
||||
# this argument must come before any other -T options on the command line,
|
||||
# otherwise we get an error message ".text not found for insert"
|
||||
LINKFLAGS += -Txfa.ld
|
||||
|
||||
# process provided features
|
||||
include $(RIOTBASE)/Makefile.features
|
||||
|
||||
|
@ -1,23 +0,0 @@
|
||||
SECTIONS
|
||||
{
|
||||
.data :
|
||||
{
|
||||
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;
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.rodata :
|
||||
{
|
||||
KEEP (*(SORT(.roxfa.*)))
|
||||
}
|
||||
}
|
||||
|
||||
INSERT AFTER .text;
|
Loading…
Reference in New Issue
Block a user