aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1992-12-31 14:39:17 -0800
committerJim Wilson <wilson@gcc.gnu.org>1992-12-31 14:39:17 -0800
commitd95c37333492e9674a72aceaa16a97fc1fa19d4b (patch)
tree1ffe1a3636a6c7f880f1b296a130377c573d6437
parent3279bba682f7336a99bf4d191dad4e6d84a88302 (diff)
downloadgcc-d95c37333492e9674a72aceaa16a97fc1fa19d4b.zip
gcc-d95c37333492e9674a72aceaa16a97fc1fa19d4b.tar.gz
gcc-d95c37333492e9674a72aceaa16a97fc1fa19d4b.tar.bz2
(LIB_SPEC): When -a, include bb_link.o.
From-SVN: r3034
-rw-r--r--gcc/config/sparc/sparc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index f0e3e29..3632dcd 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -21,7 +21,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Note that some other tm.h files include this one and then override
many of the definitions that relate to assembler syntax. */
-#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p} %{g:-lg}"
+#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p} %{g:-lg} \
+ %{a:/usr/lib/bb_link.o}"
/* Provide required defaults for linker -e and -d switches. */