OSDN Git Service

* config/interix.opt: New.
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Dec 2010 16:45:18 +0000 (16:45 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Dec 2010 16:45:18 +0000 (16:45 +0000)
* config/interix.h (LINK_SPEC): Don't handle -soname*.
* config.gcc (i[34567]86-*-interix3*): Use interix.opt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167992 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc
gcc/config/interix.h
gcc/config/interix.opt [new file with mode: 0644]

index 66dfdd5..20fc90d 100644 (file)
@@ -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
index ace2b95..7d74010 100644 (file)
@@ -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
index aa38712..e9d1cc2 100644 (file)
@@ -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 (file)
index 0000000..5c95b25
--- /dev/null
@@ -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.