diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-14 19:10:15 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-14 19:10:15 +0100 |
commit | c1af7e34f0f780e7fdd93a529445fedb3057c5f3 (patch) | |
tree | 5c5d1a77cd2d492cbce4f2bf7823bf02b3764474 /recipes-ti/devtools/ti-xdctools/arm-linker-hack.diff | |
parent | 4884692d7f6b9cc76ab3535fc0790a148b1137f6 (diff) | |
download | meta-ti-c1af7e34f0f780e7fdd93a529445fedb3057c5f3.tar.gz |
recipes-ti: initial check in of dsplink stack
* the focus was on to get it to build, not to make the recipes perfect
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-ti/devtools/ti-xdctools/arm-linker-hack.diff')
-rw-r--r-- | recipes-ti/devtools/ti-xdctools/arm-linker-hack.diff | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-ti/devtools/ti-xdctools/arm-linker-hack.diff b/recipes-ti/devtools/ti-xdctools/arm-linker-hack.diff new file mode 100644 index 00000000..26debf8f --- /dev/null +++ b/recipes-ti/devtools/ti-xdctools/arm-linker-hack.diff | |||
@@ -0,0 +1,19 @@ | |||
1 | --- a/packages/gnu/targets/arm/linkcmd.xdt 2010-12-30 19:33:53.000000000 +0100 | ||
2 | +++ b/packages/gnu/targets/arm/linkcmd.xdt 2010-12-30 19:42:55.000000000 +0100 | ||
3 | @@ -40,12 +40,13 @@ | ||
4 | |||
5 | %if ("BINVERS" in prog.build.target) { | ||
6 | % var _utils = xdc.loadCapsule("gnu/targets/linkUtils.xs"); | ||
7 | +% if (prog.build.target.GCCVERS < "4.3.3") { | ||
8 | SECTIONS { | ||
9 | `_utils.genSections(prog)` | ||
10 | } | ||
11 | - | ||
12 | -% if (!prog.build.target.noStdLinkScript | ||
13 | -% && prog.build.target.BINVERS >= "2.19") { | ||
14 | +% } | ||
15 | +% if (prog.build.target.noStdLinkScript | ||
16 | +% && prog.build.target.BINVERS >= "2.19") { | ||
17 | INSERT BEFORE .gnu.attributes | ||
18 | % } | ||
19 | |||