summaryrefslogtreecommitdiff
path: root/gcc/config/i386/osfrose.h
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-07-12 14:54:45 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-07-12 14:54:45 +0000
commit78ffd1e269c3968397154fb18cd165e4e1e515e9 (patch)
tree3d56e0fee28545f5c76178e666dde311a5758581 /gcc/config/i386/osfrose.h
parent4d61e570b40c48d532b68ed07857966fcbbfb5a3 (diff)
downloadgcc-78ffd1e269c3968397154fb18cd165e4e1e515e9.tar.gz
If OSF/rose, make -pic-extern always do shared libs, even if -pic-none was used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7742 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/osfrose.h')
-rw-r--r--gcc/config/i386/osfrose.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/i386/osfrose.h b/gcc/config/i386/osfrose.h
index 0a62a6cc9e6..f4b76551942 100644
--- a/gcc/config/i386/osfrose.h
+++ b/gcc/config/i386/osfrose.h
@@ -114,7 +114,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{.m: -D__LANGUAGE_OBJECTIVE_C} \
%{!.S: -D__LANGUAGE_C %{!ansi:-DLANGUAGE_C}}"
-/* Turn on -pic-extern by default. */
+/* Turn on -pic-extern by default for OSF/rose, -fpic for ELF. */
#undef CC1_SPEC
#define CC1_SPEC "\
%{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \
@@ -123,9 +123,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{!mmcount: %{!mno-mcount: %{!mmcount-ptr: -mmcount-ptr }}}} \
%{!melf: %{!munderscores: %{!mno-underscores: -munderscores }} \
%{!mmcount: %{!mno-mcount: %{!mmcount-ptr: -mmcount }}} \
- %{pic-none: -mno-half-pic} \
- %{pic-extern: } %{pic-lib: } %{pic-calls: } %{pic-names*: } \
- %{!pic-none: -mhalf-pic }}"
+ %{pic-extern: -mhalf-pic } %{pic-lib: -mhalf-pic } \
+ %{!pic-extern: %{!pic-lib: %{pic-none: -mno-half-pic} %{!pic-none: -mhalf-pic}}} \
+ %{pic-calls: } %{pic-names*: }}"
#undef ASM_SPEC
#define ASM_SPEC "%{v*: -v}"