From c1af7e34f0f780e7fdd93a529445fedb3057c5f3 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 14 Mar 2011 19:10:15 +0100 Subject: 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 --- recipes-ti/devtools/ti-xdctools/arm-linker-hack.diff | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 recipes-ti/devtools/ti-xdctools/arm-linker-hack.diff (limited to 'recipes-ti/devtools/ti-xdctools/arm-linker-hack.diff') 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 @@ +--- a/packages/gnu/targets/arm/linkcmd.xdt 2010-12-30 19:33:53.000000000 +0100 ++++ b/packages/gnu/targets/arm/linkcmd.xdt 2010-12-30 19:42:55.000000000 +0100 +@@ -40,12 +40,13 @@ + + %if ("BINVERS" in prog.build.target) { + % var _utils = xdc.loadCapsule("gnu/targets/linkUtils.xs"); ++% if (prog.build.target.GCCVERS < "4.3.3") { + SECTIONS { + `_utils.genSections(prog)` + } +- +-% if (!prog.build.target.noStdLinkScript +-% && prog.build.target.BINVERS >= "2.19") { ++% } ++% if (prog.build.target.noStdLinkScript ++% && prog.build.target.BINVERS >= "2.19") { + INSERT BEFORE .gnu.attributes + % } + -- cgit v1.2.3-54-g00ecf