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:
parent
d36ca1b76d
commit
eff3508f16
4 changed files with 6 additions and 17 deletions
|
@ -835,10 +835,9 @@ static inline void fiberRtnValueSet(
|
||||||
* Performance optimization
|
* Performance optimization
|
||||||
*
|
*
|
||||||
* Macro PERF_OPT is defined if project is compiled with option other than
|
* 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
|
* size optimization ("-Os" for GCC). If the last of the compiler options
|
||||||
* last of the compiler options is the size optimization, PERF_OPT is not
|
* is the size optimization, PERF_OPT is not defined and the project is
|
||||||
* defined and the project is optimized for size, hence the stub should be
|
* optimized for size, hence the stub should be aligned to 1 and not 16.
|
||||||
* aligned to 1 and not 16.
|
|
||||||
*/
|
*/
|
||||||
#ifdef PERF_OPT
|
#ifdef PERF_OPT
|
||||||
#define _EXC_STUB_ALIGN 16
|
#define _EXC_STUB_ALIGN 16
|
||||||
|
|
|
@ -48,10 +48,9 @@
|
||||||
* Performance optimization
|
* Performance optimization
|
||||||
*
|
*
|
||||||
* Macro PERF_OPT is defined if project is compiled with option other than
|
* 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
|
* size optimization ("-Os" for GCC). If the last of the compiler options
|
||||||
* last of the compiler options is the size optimization, PERF_OPT is not
|
* is the size optimization, PERF_OPT is not defined and the project is
|
||||||
* defined and the project is optimized for size, hence the stub should be
|
* optimized for size, hence the stub should be aligned to 1 and not 16.
|
||||||
* aligned to 1 and not 16.
|
|
||||||
*/
|
*/
|
||||||
#ifdef PERF_OPT
|
#ifdef PERF_OPT
|
||||||
#define _INT_STUB_ALIGN 16
|
#define _INT_STUB_ALIGN 16
|
||||||
|
|
|
@ -23,12 +23,6 @@
|
||||||
|
|
||||||
#ifdef _LINKER
|
#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 following guard prevents usage of orphaned sections --
|
||||||
* the sections that are not explicitly mentioned in the linker script
|
* 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.")
|
ASSERT(SIZEOF(.trashcan) == 0, "Section(s) undefined in the linker script used.")
|
||||||
|
|
||||||
#endif /* (__GCC_LINKER_CMD__) */
|
|
||||||
#endif /* _LINKER */
|
#endif /* _LINKER */
|
||||||
|
|
||||||
#endif /* _LINKER_EPILOG_H */
|
#endif /* _LINKER_EPILOG_H */
|
||||||
|
|
|
@ -28,8 +28,6 @@ definitions (based on the toolchain) for the linker script.
|
||||||
#if defined(_LINKER)
|
#if defined(_LINKER)
|
||||||
#if defined(__GCC_LINKER_CMD__)
|
#if defined(__GCC_LINKER_CMD__)
|
||||||
#include <linker-tool-gcc.h>
|
#include <linker-tool-gcc.h>
|
||||||
#elif defined(__DIAB_LINKER_CMD__)
|
|
||||||
#include <linker-tool-diab.h>
|
|
||||||
#else
|
#else
|
||||||
#error "Unknown toolchain"
|
#error "Unknown toolchain"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue