From 69e3a86e62423b3db5ffdbc25d4412530f4e7e01 Mon Sep 17 00:00:00 2001 From: dje Date: Mon, 8 Jul 1996 18:50:35 +0000 Subject: * 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 --- gcc/config/sparc/sol2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc') 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,*} \ -- cgit v1.2.1