From ac549abbb9597bcbb42374d53f7495578d361ce6 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Tue, 3 Nov 2020 11:46:23 +0100 Subject: [PATCH] xfa: remove common -Txfa.ld include --- Makefile.include | 5 ----- core/ldscripts/xfa.ld | 23 ----------------------- 2 files changed, 28 deletions(-) delete mode 100644 core/ldscripts/xfa.ld diff --git a/Makefile.include b/Makefile.include index 6875e21797..6bd14bd40d 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 34b7d7635f..0000000000 --- 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;