aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1997-01-12 17:53:39 -0800
committerJim Wilson <wilson@gcc.gnu.org>1997-01-12 17:53:39 -0800
commitfb5bc063a6655320aae1110b6bfca28d909d6acd (patch)
tree573733a35cf51b93a9596ab7b32ec387c2cab507
parent6034e32706928683c25eec753d3861f9e18bf421 (diff)
downloadgcc-fb5bc063a6655320aae1110b6bfca28d909d6acd.zip
gcc-fb5bc063a6655320aae1110b6bfca28d909d6acd.tar.gz
gcc-fb5bc063a6655320aae1110b6bfca28d909d6acd.tar.bz2
(LINK_SPEC): Delete.
(STARTFILE_SPEC): Delete spurious newline. From-SVN: r13484
-rw-r--r--gcc/config/libgloss.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/config/libgloss.h b/gcc/config/libgloss.h
index eed76e0..2f2ba56 100644
--- a/gcc/config/libgloss.h
+++ b/gcc/config/libgloss.h
@@ -22,12 +22,13 @@ Boston, MA 02111-1307, USA. */
/* The libgloss standard for crt0.s has the name based on the command line
option. */
#undef STARTFILE_SPEC
-#define STARTFILE_SPEC "%{!shared:%{pg:pgcrt0%O%s}%{!pg:%{p:pcrt0%O%s}%{!p:crt0%
-O%s}}}"
+#define STARTFILE_SPEC "%{!shared:%{pg:pgcrt0%O%s}%{!pg:%{p:pcrt0%O%s}%{!p:crt0%O%s}}}"
-/* Don't set the target flags, this is done by the linker script */
-#undef LINK_SPEC
-#define LINK_SPEC ""
+/* This file used to force LINK_SPEC to be the null string, but that is not
+ correct. LINK_SPEC is used to pass machine specific arguments to the
+ linker and hence can not be redefined here. LINK_SPEC is never used to
+ specify startup files or libraries, so it should never conflict with
+ libgloss. */
/* Don't set the target flags, this is done by the linker script */
#undef LIB_SPEC