This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
3.4: patch from bug#22213
- From: Michael Haubenwallner <michael dot haubenwallner at salomon dot at>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 28 Jun 2005 18:16:17 +0200
- Subject: 3.4: patch from bug#22213
Hi,
was told to send this patch here, details see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22213
This patch affects only gcc-3.4-branch, does not occur in gcc-4.
gcc-3.4-branch/gcc/ChangeLog:
2005-06-28 Michael Haubenwallner <michael.haubenwallner@salomon.at>
* mklibgcc.in: fixed echo-quotes around dir-variable (bug#22213).
~haubi
--
Michael Haubenwallner SALOMON Automation GmbH
Forschung & Entwicklung A-8114 Friesach bei Graz
mailto:michael.haubenwallner@salomon.at http://www.salomon.at
No HTML/MIME please, see http://expita.com/nomime.html
diff -ru gcc-3.4.4.orig/gcc/mklibgcc.in gcc-3.4.4/gcc/mklibgcc.in
--- gcc-3.4.4.orig/gcc/mklibgcc.in 2005-02-24 10:26:57.000000000 +0100
+++ gcc-3.4.4/gcc/mklibgcc.in 2005-06-28 09:51:52.000000000 +0200
@@ -435,7 +435,7 @@
echo "${oS}: stmp-dirs libgcc/${dir}/stacknote.s ${o}"
# non-GNU nm emits three fields even for undefined and typeless symbols,
# so explicitly omit them
- echo ' ( $(NM_FOR_TARGET) '${SHLIB_NM_FLAGS} ${o}' | $(AWK) '\''NF == 3 && $$2 !~ /^[UN]$$/ { print "\t.hidden", $$3 }'\''; cat libgcc/${dir}/stacknote.s ) | $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) '${flags}' -r -nostdinc -nostdlib -o $@ '${o}' -xassembler -'
+ echo ' ( $(NM_FOR_TARGET) '${SHLIB_NM_FLAGS} ${o}' | $(AWK) '\''NF == 3 && $$2 !~ /^[UN]$$/ { print "\t.hidden", $$3 }'\''; cat libgcc/'${dir}'/stacknote.s ) | $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) '${flags}' -r -nostdinc -nostdlib -o $@ '${o}' -xassembler -'
libgcc_a_objs="${libgcc_a_objs} ${oS}"
done
fi