summaryrefslogtreecommitdiff
path: root/include/linker-tool.h
blob: eeca036a81dcae523fde7f6a27a3f1797edac63e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (c) 2013-2014, Wind River Systems, Inc.
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/**
 * @file
 * @brief Toolchain-agnostic linker defs
 *
 * This header file is used to automatically select the proper set of macro
 * definitions (based on the toolchain) for the linker script.
 */

#ifndef __LINKER_TOOL_H
#define __LINKER_TOOL_H

#if defined(_LINKER)
#if defined(__GCC_LINKER_CMD__)
#include <linker-tool-gcc.h>
#else
#error "Unknown toolchain"
#endif
#endif

#endif /* !__LINKER_TOOL_H */