diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-09-11 18:18:53 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-09-11 18:18:53 +0200 |
commit | 389a779657ceac86c399d7eda8027102ae9e754c (patch) | |
tree | 5019b11a21a25449b8d3d2872b524fa3e8fa2b74 /patches/binutils/2.18a/110-enable-dash-v2.patch | |
parent | 639b71de0fb3ded474b79ec917b9d3eb0fa8548e (diff) | |
download | crosstool-ng-389a779657ceac86c399d7eda8027102ae9e754c.tar.gz crosstool-ng-389a779657ceac86c399d7eda8027102ae9e754c.tar.bz2 crosstool-ng-389a779657ceac86c399d7eda8027102ae9e754c.zip |
binutils/binutils: fixup version strings
Recently, all binutils versions have been renamed after a GPL compliance
issue was found and fixed in binutils;
http://sourceware.org/ml/binutils/2011-08/msg00198.html
Although legacy symlinks have been put in place, we should now use
the new, real version strings.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 346263a0711510a7ac953b1523b6607a1ca53caf)
Diffstat (limited to 'patches/binutils/2.18a/110-enable-dash-v2.patch')
-rw-r--r-- | patches/binutils/2.18a/110-enable-dash-v2.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/patches/binutils/2.18a/110-enable-dash-v2.patch b/patches/binutils/2.18a/110-enable-dash-v2.patch new file mode 100644 index 00000000..587082c9 --- /dev/null +++ b/patches/binutils/2.18a/110-enable-dash-v2.patch @@ -0,0 +1,20 @@ +Enable using a shell other than bash. +Courtesy "Martin Guy" <martinwguy@yahoo.it> +http://sourceware.org/ml/crossgcc/2008-08/msg00037.html + +--- binutils-2.18.orig/ld/genscripts.sh 2007-08-12 20:00:07.000000000 +0100 ++++ binutils-2.18/ld/genscripts.sh 2008-08-25 16:09:54.000000000 +0100 +@@ -398,9 +398,11 @@ + . $em_script + em_script=$current_script + } +- fragment() ++ ++ alias fragment='em_lineno=$LINENO; fragment_em' ++ fragment_em() + { +- local lineno=$[${BASH_LINENO[0]} + 1] ++ local lineno=$[$em_lineno + 1] + echo >> e${EMULATION_NAME}.c "#line $lineno \"$em_script\"" + cat >> e${EMULATION_NAME}.c + } |