2015-04-10 16:44:37 -07:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2013-2014, Wind River Systems, Inc.
|
|
|
|
*
|
2017-01-18 17:01:01 -08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2015-04-10 16:44:37 -07:00
|
|
|
*/
|
|
|
|
|
2015-12-04 10:09:39 -05:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* @brief Toolchain-agnostic linker defs
|
|
|
|
*
|
2015-10-20 09:42:33 -07:00
|
|
|
* This header file is used to automatically select the proper set of macro
|
|
|
|
* definitions (based on the toolchain) for the linker script.
|
2015-07-01 17:22:39 -04:00
|
|
|
*/
|
2015-04-10 16:44:37 -07:00
|
|
|
|
2018-09-14 10:43:44 -07:00
|
|
|
#ifndef ZEPHYR_INCLUDE_LINKER_LINKER_TOOL_H_
|
|
|
|
#define ZEPHYR_INCLUDE_LINKER_LINKER_TOOL_H_
|
2015-04-10 16:44:37 -07:00
|
|
|
|
|
|
|
#if defined(_LINKER)
|
|
|
|
#if defined(__GCC_LINKER_CMD__)
|
2017-06-17 11:30:47 -04:00
|
|
|
#include <linker/linker-tool-gcc.h>
|
2015-04-10 16:44:37 -07:00
|
|
|
#else
|
|
|
|
#error "Unknown toolchain"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2018-09-14 10:43:44 -07:00
|
|
|
#endif /* ZEPHYR_INCLUDE_LINKER_LINKER_TOOL_H_ */
|