svr4.h (LINK_SPEC): Never specify -h.
authorIan Lance Taylor <ian@cygnus.com>
Tue, 13 Jan 1998 21:43:41 +0000 (21:43 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 13 Jan 1998 21:43:41 +0000 (14:43 -0700)
        * svr4.h (LINK_SPEC): Never specify -h.
        * ptx4.h (LINK_SPEC): Likewise.
        * rs6000/sysv4.h (LINK_SPEC): Likewise.
        * sparc/sol2.h (LINK_SPEC): Likewise.

From-SVN: r17349

gcc/ChangeLog
gcc/config/ptx4.h
gcc/config/rs6000/sysv4.h
gcc/config/sparc/sol2.h
gcc/config/svr4.h

index ef5bb6347c2c3da1a21c351549d5fc8470d56421..4b876f986a8d6d41f745ac2a4653cd7554cda3b0 100644 (file)
@@ -1,3 +1,10 @@
+Tue Jan 13 22:43:35 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * svr4.h (LINK_SPEC): Never specify -h.
+       * ptx4.h (LINK_SPEC): Likewise.
+       * rs6000/sysv4.h (LINK_SPEC): Likewise.
+       * sparc/sol2.h (LINK_SPEC): Likewise.
+
 Tue Jan 13 22:39:40 1998  Richard Henderson  (rth@cygnus.com)
 
        * c-typeck.c (comptypes): Exit early on NULL input.
index 64d5e0b5752fec035da8b99e847a307c4ac7fdb4..aa31924032feb588bed1b4b0c9903df3271d8635 100644 (file)
@@ -1,6 +1,6 @@
 /* Operating system specific defines to be used when targeting GCC for some
    generic System V Release 4 system.
-   Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
    Contributed by Ron Guilmette (rfg@monkeys.com).
    Renamed and changed to suit Dynix/ptx v4 and later.
    Modified by Tim Wright (timw@sequent.com).
@@ -123,7 +123,7 @@ Boston, MA 02111-1307, USA.
    support here for as many of the other svr4 linker options as seems
    reasonable, given that some of them conflict with options for other
    svr4 tools (e.g. the assembler).  In particular, we do support the
-   -h*, -z*, -V, -b, -t, -Qy, -Qn, and -YP* options here, and the -e*,
+   -z*, -V, -b, -t, -Qy, -Qn, and -YP* options here, and the -e*,
    -l*, -o*, -r, -s, -u*, and -L* options are directly supported
    by gcc.c itself.  We don't directly support the -m (generate load
    map) option because that conflicts with the -m (run m4) option of
@@ -143,8 +143,8 @@ Boston, MA 02111-1307, USA.
 #define LINK_SPEC "%{h*} %{v:-V} \
                   %{b} %{Wl,*:%*} \
                   %{static:-dn -Bstatic} \
-                  %{shared:-G -dy -z text %{!h*:%{o*:-h %*}}} \
-                  %{symbolic:-Bsymbolic -G -dy -z text %{!h*:%{o*:-h %*}}} \
+                  %{shared:-G -dy -z text} \
+                  %{symbolic:-Bsymbolic -G -dy -z text} \
                   %{G:-G} \
                   %{YP,*} \
                   %{!YP,*:%{p:-Y P,/lib/libp:/usr/lib/libp:/lib:/usr/lib} \
index e9a88a2d15a9d70bb9ef7ea3b4f536ed33d81726..72f5f2ca24d247b5ad07210798baaadd4d8fa3b9 100644 (file)
@@ -1,5 +1,5 @@
 /* Target definitions for GNU compiler for PowerPC running System V.4
-   Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
    Contributed by Cygnus Support.
 
 This file is part of GNU CC.
@@ -1035,8 +1035,8 @@ do {                                                                      \
 %{!static: %(link_path) %{!R*:%{L*:-R %*}}} \
 %{mshlib: } \
 %{static:-dn -Bstatic} \
-%{shared:-G -dy -z text %{!h*:%{o*:-h %*}}} \
-%{symbolic:-Bsymbolic -G -dy -z text %{!h*:%{o*:-h %*}}}"
+%{shared:-G -dy -z text} \
+%{symbolic:-Bsymbolic -G -dy -z text}"
 
 #else
 /* Shared libraries are not default.  */
@@ -1044,8 +1044,8 @@ do {                                                                      \
 %{mshlib: %(link_path) } \
 %{!mshlib: %{!shared: %{!symbolic: -dn -Bstatic}}} \
 %{static: } \
-%{shared:-G -dy -z text %{!h*:%{o*:-h %*}} %(link_path) } \
-%{symbolic:-Bsymbolic -G -dy -z text %{!h*:%{o*:-h %*}} %(link_path) }"
+%{shared:-G -dy -z text %(link_path) } \
+%{symbolic:-Bsymbolic -G -dy -z text %(link_path) }"
 #endif
 
 /* Override the default target of the linker.  */
index 76cade44d9e0368f77f99572367358221aefe9d0..f0c3b136ab4bb5a23a39a191a61bd2b616585d32 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions of target machine for GNU compiler, for SPARC running Solaris 2
-   Copyright 1992, 1995, 1996, 1997 Free Software Foundation, Inc.
+   Copyright 1992, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
    Contributed by Ron Guilmette (rfg@netcom.com).
    Additional changes by David V. Henkel-Wallace (gumby@cygnus.com).
 
@@ -149,8 +149,8 @@ Boston, MA 02111-1307, USA.  */
   "%{h*} %{v:-V} \
    %{b} %{Wl,*:%*} \
    %{static:-dn -Bstatic} \
-   %{shared:-G -dy %{!mimpure-text:-z text} %{!h*:%{o*:-h %*}}} \
-   %{symbolic:-Bsymbolic -G -dy -z text %{!h*:%{o*:-h %*}}} \
+   %{shared:-G -dy %{!mimpure-text:-z text}} \
+   %{symbolic:-Bsymbolic -G -dy -z text} \
    %{G:-G} \
    %{YP,*} \
    %{R*} \
index d70aa1175582fb3f8bb6e191ca68f9cab3cc29ae..4bd9d6aaff81c28d7a6af10dadbf968c798e504e 100644 (file)
@@ -1,6 +1,6 @@
 /* Operating system specific defines to be used when targeting GCC for some
    generic System V Release 4 system.
-   Copyright (C) 1991, 1994, 1995, 1996 Free Software Foundation, Inc.
+   Copyright (C) 1991, 1994, 1995, 1996, 1998 Free Software Foundation, Inc.
    Contributed by Ron Guilmette (rfg@monkeys.com).
 
 This file is part of GNU CC.
@@ -141,7 +141,7 @@ Boston, MA 02111-1307, USA.
    support here for as many of the other svr4 linker options as seems
    reasonable, given that some of them conflict with options for other
    svr4 tools (e.g. the assembler).  In particular, we do support the
-   -h*, -z*, -V, -b, -t, -Qy, -Qn, and -YP* options here, and the -e*,
+   -z*, -V, -b, -t, -Qy, -Qn, and -YP* options here, and the -e*,
    -l*, -o*, -r, -s, -u*, and -L* options are directly supported
    by gcc.c itself.  We don't directly support the -m (generate load
    map) option because that conflicts with the -m (run m4) option of
@@ -162,8 +162,8 @@ Boston, MA 02111-1307, USA.
 #define LINK_SPEC "%{h*} %{v:-V} \
                   %{b} %{Wl,*:%*} \
                   %{static:-dn -Bstatic} \
-                  %{shared:-G -dy -z text %{!h*:%{o*:-h %*}}} \
-                  %{symbolic:-Bsymbolic -G -dy -z text %{!h*:%{o*:-h %*}}} \
+                  %{shared:-G -dy -z text} \
+                  %{symbolic:-Bsymbolic -G -dy -z text} \
                   %{G:-G} \
                   %{YP,*} \
                   %{Qy:} %{!Qn:-Qy}"
@@ -171,8 +171,8 @@ Boston, MA 02111-1307, USA.
 #define LINK_SPEC "%{h*} %{v:-V} \
                   %{b} %{Wl,*:%*} \
                   %{static:-dn -Bstatic} \
-                  %{shared:-G -dy -z text %{!h*:%{o*:-h %*}}} \
-                  %{symbolic:-Bsymbolic -G -dy -z text %{!h*:%{o*:-h %*}}} \
+                  %{shared:-G -dy -z text} \
+                  %{symbolic:-Bsymbolic -G -dy -z text} \
                   %{G:-G} \
                   %{YP,*} \
                   %{!YP,*:%{p:-Y P,/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \