diff options
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 | |||