forked from openembedded/openembedded
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ti-xdctools 3.20.06.81: hack linkerscript generator to make c6accel c…
…ompile with the angstrom next toolchain Signed-off-by: Koen Kooi <koen@openembedded.org>
- Loading branch information
Koen Kooi
committed
Dec 30, 2010
1 parent
b87f28f
commit 7993e4c
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
% } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters