x86: Remove cosmetic traces of Diab toolchain

Updates several files to remove mention of Diab toolchain
support, which is no longer supported. These changes do not
affect system operation.

Change-Id: If9de85e595f6685295e565bc94ca17f51d87513f
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
Allan Stephens 2015-10-15 14:58:05 -04:00 committed by Anas Nashif
commit eff3508f16
4 changed files with 6 additions and 17 deletions

View file

@ -835,10 +835,9 @@ static inline void fiberRtnValueSet(
* Performance optimization
*
* Macro PERF_OPT is defined if project is compiled with option other than
* size optimization ("-Os" for GCC, "-XO -Xsize-opt" for Diab). If the
* last of the compiler options is the size optimization, PERF_OPT is not
* defined and the project is optimized for size, hence the stub should be
* aligned to 1 and not 16.
* size optimization ("-Os" for GCC). If the last of the compiler options
* is the size optimization, PERF_OPT is not defined and the project is
* optimized for size, hence the stub should be aligned to 1 and not 16.
*/
#ifdef PERF_OPT
#define _EXC_STUB_ALIGN 16

View file

@ -48,10 +48,9 @@
* Performance optimization
*
* Macro PERF_OPT is defined if project is compiled with option other than
* size optimization ("-Os" for GCC, "-XO -Xsize-opt" for Diab). If the
* last of the compiler options is the size optimization, PERF_OPT is not
* defined and the project is optimized for size, hence the stub should be
* aligned to 1 and not 16.
* size optimization ("-Os" for GCC). If the last of the compiler options
* is the size optimization, PERF_OPT is not defined and the project is
* optimized for size, hence the stub should be aligned to 1 and not 16.
*/
#ifdef PERF_OPT
#define _INT_STUB_ALIGN 16

View file

@ -23,12 +23,6 @@
#ifdef _LINKER
/*
* DIAB linker does not support multiple SECTIONS commands
* in linker script
*/
#if defined(__GCC_LINKER_CMD__)
/*
* The following guard prevents usage of orphaned sections --
* the sections that are not explicitly mentioned in the linker script
@ -76,7 +70,6 @@ SECTIONS
}
ASSERT(SIZEOF(.trashcan) == 0, "Section(s) undefined in the linker script used.")
#endif /* (__GCC_LINKER_CMD__) */
#endif /* _LINKER */
#endif /* _LINKER_EPILOG_H */

View file

@ -28,8 +28,6 @@ definitions (based on the toolchain) for the linker script.
#if defined(_LINKER)
#if defined(__GCC_LINKER_CMD__)
#include <linker-tool-gcc.h>
#elif defined(__DIAB_LINKER_CMD__)
#include <linker-tool-diab.h>
#else
#error "Unknown toolchain"
#endif