diff options
author | Ian Lance Taylor <ian@cygnus.com> | 1998-01-13 21:43:41 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-01-13 14:43:41 -0700 |
commit | 8b496c8d2ecc811ff433810f65a1948ddd1646d0 (patch) | |
tree | 7338a52cecac72a9aad5806bde331c9e13a9fe5e /gcc | |
parent | a4fc4b2d1272ff817101fe26299dbf4a69785690 (diff) | |
download | gcc-8b496c8d2ecc811ff433810f65a1948ddd1646d0.zip gcc-8b496c8d2ecc811ff433810f65a1948ddd1646d0.tar.gz gcc-8b496c8d2ecc811ff433810f65a1948ddd1646d0.tar.bz2 |
svr4.h (LINK_SPEC): Never specify -h.
* 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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/ptx4.h | 8 | ||||
-rw-r--r-- | gcc/config/rs6000/sysv4.h | 10 | ||||
-rw-r--r-- | gcc/config/sparc/sol2.h | 6 | ||||
-rw-r--r-- | gcc/config/svr4.h | 12 |
5 files changed, 25 insertions, 18 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ef5bb63..4b876f9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/ptx4.h b/gcc/config/ptx4.h index 64d5e0b..aa31924 100644 --- a/gcc/config/ptx4.h +++ b/gcc/config/ptx4.h @@ -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} \ diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index e9a88a2..72f5f2c 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -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. */ diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index 76cade4..f0c3b136 100644 --- a/gcc/config/sparc/sol2.h +++ b/gcc/config/sparc/sol2.h @@ -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*} \ diff --git a/gcc/config/svr4.h b/gcc/config/svr4.h index d70aa11..4bd9d6a 100644 --- a/gcc/config/svr4.h +++ b/gcc/config/svr4.h @@ -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} \ |