aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2010-12-17 16:45:18 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2010-12-17 16:45:18 +0000
commita6dd4377db60b178e36d485d960c3fe63a07f157 (patch)
tree42230ba6fd1f66bf59adec9cc783a34bb3aa0174 /gcc
parentcfd688eafec70fd73d705a843c5eca3ca83372a9 (diff)
downloadgcc-a6dd4377db60b178e36d485d960c3fe63a07f157.zip
gcc-a6dd4377db60b178e36d485d960c3fe63a07f157.tar.gz
gcc-a6dd4377db60b178e36d485d960c3fe63a07f157.tar.bz2
interix.opt: New.
* config/interix.opt: New. * config/interix.h (LINK_SPEC): Don't handle -soname*. * config.gcc (i[34567]86-*-interix3*): Use interix.opt. From-SVN: r167992
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config.gcc2
-rw-r--r--gcc/config/interix.h1
-rw-r--r--gcc/config/interix.opt33
4 files changed, 40 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 66dfdd5..20fc90db 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2010-12-17 Joseph Myers <joseph@codesourcery.com>
+
+ * config/interix.opt: New.
+ * config/interix.h (LINK_SPEC): Don't handle -soname*.
+ * config.gcc (i[34567]86-*-interix3*): Use interix.opt.
+
2010-12-17 Andrew Stubbs <ams@codesourcery.com>
* config/arm/arm.md (maddhisi4, *maddhidi4): Use the canonical
diff --git a/gcc/config.gcc b/gcc/config.gcc
index ace2b95..7d74010 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1522,7 +1522,7 @@ i[34567]86-*-mingw* | x86_64-*-mingw*)
i[34567]86-*-interix3*)
tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/i386-interix.h i386/i386-interix3.h interix.h interix3.h"
tmake_file="${tmake_file} i386/t-interix"
- extra_options="${extra_options} rpath.opt"
+ extra_options="${extra_options} rpath.opt interix.opt"
extra_objs=winnt.o
target_gtfiles="\$(srcdir)/config/i386/winnt.c"
if test x$enable_threads = xyes ; then
diff --git a/gcc/config/interix.h b/gcc/config/interix.h
index aa38712..e9d1cc2 100644
--- a/gcc/config/interix.h
+++ b/gcc/config/interix.h
@@ -50,7 +50,6 @@ for windows/multi thread */
%{shared:--shared -Bdynamic} \
%{G:--shared -Bdynamic} \
%{symbolic:--shared -Bsymbolic -Bdynamic} \
- %{soname*:--soname %*} \
%{rpath*:--rpath %*} \
"
diff --git a/gcc/config/interix.opt b/gcc/config/interix.opt
new file mode 100644
index 0000000..5c95b25
--- /dev/null
+++ b/gcc/config/interix.opt
@@ -0,0 +1,33 @@
+; Interix options.
+
+; Copyright (C) 2010
+; Free Software Foundation, Inc.
+;
+; This file is part of GCC.
+;
+; GCC is free software; you can redistribute it and/or modify it under
+; the terms of the GNU General Public License as published by the Free
+; Software Foundation; either version 3, or (at your option) any later
+; version.
+;
+; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+; WARRANTY; without even the implied warranty of MERCHANTABILITY or
+; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+; for more details.
+;
+; You should have received a copy of the GNU General Public License
+; along with GCC; see the file COPYING3. If not see
+; <http://www.gnu.org/licenses/>.
+
+; See the GCC internals manual (options.texi) for a description of
+; this file's format.
+
+; Please try to keep this file in ASCII collating order.
+
+dynamic
+Driver
+
+G
+Driver
+
+; This comment is to ensure we retain the blank line above.