summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1996-07-08 18:50:35 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1996-07-08 18:50:35 +0000
commit69e3a86e62423b3db5ffdbc25d4412530f4e7e01 (patch)
treed5d02270747cc635da760254f35e88634d856486 /gcc
parentb2035c1c3120e254c77f9f106bc14c31d7c747c4 (diff)
downloadgcc-69e3a86e62423b3db5ffdbc25d4412530f4e7e01.tar.gz
* sparc/sol2.h (LINK_SPEC): Don't pass `-z text' if
-shared -mimpure-text. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12408 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/sparc/sol2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h
index e291588269e..aa77c067ee3 100644
--- a/gcc/config/sparc/sol2.h
+++ b/gcc/config/sparc/sol2.h
@@ -132,7 +132,7 @@ Boston, MA 02111-1307, USA. */
"%{h*} %{V} %{v:%{!V:-V}} \
%{b} %{Wl,*:%*} \
%{static:-dn -Bstatic} \
- %{shared:-G -dy -z text %{!h*:%{o*:-h %*}}} \
+ %{shared:-G -dy %{!mimpure-text:-z text} %{!h*:%{o*:-h %*}}} \
%{symbolic:-Bsymbolic -G -dy -z text %{!h*:%{o*:-h %*}}} \
%{G:-G} \
%{YP,*} \