diff --git a/Makefile.include b/Makefile.include index 6875e21797b1..6bd14bd40d39 100644 --- a/Makefile.include +++ b/Makefile.include @@ -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 diff --git a/core/ldscripts/xfa.ld b/core/ldscripts/xfa.ld deleted file mode 100644 index 34b7d7635fe0..000000000000 --- a/core/ldscripts/xfa.ld +++ /dev/null @@ -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;