From 027ed5682b0c5bdc65acb852da20589e276ef9b0 Mon Sep 17 00:00:00 2001 From: Allan Stephens Date: Thu, 15 Oct 2015 14:58:28 -0400 Subject: [PATCH] x86+arm: Remove symbols needed only by Diab toolchain These symbols are no longer required. Change-Id: I99f6afad0ffb116efde1e2ff28252a2e4d8b7fb4 Signed-off-by: Allan Stephens --- arch/arm/core/cortex_m/vector_table.S | 2 -- include/linker-tool-gcc.h | 4 ---- 2 files changed, 6 deletions(-) diff --git a/arch/arm/core/cortex_m/vector_table.S b/arch/arm/core/cortex_m/vector_table.S index c0a867b98b8..43a74b3ea04 100644 --- a/arch/arm/core/cortex_m/vector_table.S +++ b/arch/arm/core/cortex_m/vector_table.S @@ -36,8 +36,6 @@ rest should not be triggered until the kernel is ready to handle them. _ASM_FILE_PROLOGUE -/* Diab requires a __start symbol */ -SECTION_SUBSEC_FUNC(exc_vector_table,_Start,__start) SECTION_SUBSEC_FUNC(exc_vector_table,_Start,_VectorTableROM) .word __CORTEXM_BOOT_MSP diff --git a/include/linker-tool-gcc.h b/include/linker-tool-gcc.h index 9031ef88fae..4c23884bacf 100644 --- a/include/linker-tool-gcc.h +++ b/include/linker-tool-gcc.h @@ -81,13 +81,9 @@ OUTPUT_ARCH(i386) #define SECTION_AT_PROLOGUE(name, options, align, addr) \ name options : align AT(addr) -/* Diab-isms */ #define SORT_BY_NAME(x) SORT(x) #define OPTIONAL -/* see linker-tool-diab.h for description */ -#define PGALIGN_ALIGN(x) ALIGN(x) - #define COMMON_SYMBOLS *(COMMON) #endif /* !__LINKER_TOOL_GCC_H */