summaryrefslogtreecommitdiffstats
path: root/recipes/ti/ti-xdctools
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-12-30 20:19:56 +0100
committerKoen Kooi <koen@openembedded.org>2010-12-30 20:21:42 +0100
commit7993e4ca7746a4ca9e7116cc76e6c1da32a76690 (patch)
treebef514c4ece48d3e6db5be6511894d19784e56f8 /recipes/ti/ti-xdctools
parentb87f28f617ed26c2ccea21c3645d3e7fcd889e88 (diff)
downloadopenembedded-7993e4ca7746a4ca9e7116cc76e6c1da32a76690.tar.gz
ti-xdctools 3.20.06.81: hack linkerscript generator to make c6accel compile with the angstrom next toolchaintested_2010-12-30
Signed-off-by: Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'recipes/ti/ti-xdctools')
-rw-r--r--recipes/ti/ti-xdctools/arm-linker-hack.diff19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/ti/ti-xdctools/arm-linker-hack.diff b/recipes/ti/ti-xdctools/arm-linker-hack.diff
new file mode 100644
index 0000000000..26debf8f6d
--- /dev/null
+++ b/recipes/ti/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
+ % }
+