summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-13 21:43:42 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-13 21:43:42 +0000
commite00a0252fa1ce90411e9ac381e91b027c62784cb (patch)
treee25674e9f920c97db9d56cc57de98e9744d89f5f /gcc
parentf441a382c0850fad2aa7162af4ce31cd10b77487 (diff)
downloadppe42-gcc-e00a0252fa1ce90411e9ac381e91b027c62784cb.tar.gz
ppe42-gcc-e00a0252fa1ce90411e9ac381e91b027c62784cb.zip
* config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
in gcc.c. * config/rs6000/sysv4.h (LINK_SPEC): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44873 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/sysv4.h2
-rw-r--r--gcc/config/svr4.h24
3 files changed, 17 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 80ab091ed0a..64649007d5d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2001-08-13 Geoffrey Keating <geoffk@redhat.com>
+ * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
+ in gcc.c.
+ * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
+
* gcse.c (hash_scan_set): Expressions that are set as part of
jump instructions are not available.
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
index 773af0671df..d916ad5866d 100644
--- a/gcc/config/rs6000/sysv4.h
+++ b/gcc/config/rs6000/sysv4.h
@@ -1020,7 +1020,7 @@ do { \
#undef LINK_SPEC
#define LINK_SPEC "\
%{h*} %{v:-V} %{G*} \
-%{Wl,*:%*} %{YP,*} %{R*} \
+%{YP,*} %{R*} \
%{Qy:} %{!Qn:-Qy} \
%(link_shlib) \
%{!Wl,-T*: %{!T*: %(link_start) }} \
diff --git a/gcc/config/svr4.h b/gcc/config/svr4.h
index baa6840252e..4e59767b535 100644
--- a/gcc/config/svr4.h
+++ b/gcc/config/svr4.h
@@ -141,16 +141,16 @@ 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
- -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
- the svr4 assembler. We also don't directly support the svr4 linker's
- -I* or -M* options because these conflict with existing GCC options.
- We do however allow passing arbitrary options to the svr4 linker
- via the -Wl, option. We don't support the svr4 linker's -a option
- at all because it is totally useless and because it conflicts with
- GCC's own -a option.
+ -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 the
+ svr4 assembler. We also don't directly support the svr4 linker's
+ -I* or -M* options because these conflict with existing GCC
+ options. We do however allow passing arbitrary options to the svr4
+ linker via the -Wl, option, in gcc.c. We don't support the svr4
+ linker's -a option at all because it is totally useless and because
+ it conflicts with GCC's own -a option.
Note that gcc doesn't allow a space to follow -Y in a -YP,* option.
@@ -160,7 +160,7 @@ Boston, MA 02111-1307, USA.
#undef LINK_SPEC
#ifdef CROSS_COMPILE
#define LINK_SPEC "%{h*} %{v:-V} \
- %{b} %{Wl,*:%*} \
+ %{b} \
%{static:-dn -Bstatic} \
%{shared:-G -dy -z text} \
%{symbolic:-Bsymbolic -G -dy -z text} \
@@ -169,7 +169,7 @@ Boston, MA 02111-1307, USA.
%{Qy:} %{!Qn:-Qy}"
#else
#define LINK_SPEC "%{h*} %{v:-V} \
- %{b} %{Wl,*:%*} \
+ %{b} \
%{static:-dn -Bstatic} \
%{shared:-G -dy -z text} \
%{symbolic:-Bsymbolic -G -dy -z text} \
OpenPOWER on IntegriCloud