OSDN Git Service

* config/sparc/sol2-gld.h: Remove SPARC reference.
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Apr 2010 17:02:52 +0000 (17:02 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Apr 2010 17:02:52 +0000 (17:02 +0000)
Rename ...
* config/sol2-gld.h: ... here.
* config.gcc (sparc*-*-solaris2*): Reflect this.
(i[34567]86-*-solaris2*): Use it.

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

gcc/ChangeLog
gcc/config.gcc
gcc/config/sol2-gld.h [moved from gcc/config/sparc/sol2-gld.h with 92% similarity]

index dbbba58..6ee7cb6 100644 (file)
@@ -1,3 +1,11 @@
+2010-04-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config/sparc/sol2-gld.h: Remove SPARC reference.
+       Rename ...
+       * config/sol2-gld.h: ... here.
+       * config.gcc (sparc*-*-solaris2*): Reflect this.
+       (i[34567]86-*-solaris2*): Use it.
+
 2010-04-09  Steve Ellcey  <sje@cup.hp.com>
 
        * config/ia64/ia64.c (ia64_dfa_new_cycle): Remove unused variable
index 12334cd..119bf0a 100644 (file)
@@ -1246,6 +1246,9 @@ i[34567]86-*-solaris2*)
                ;;
        esac
        tm_file="${tm_file} i386/sol2.h"
+       if test x$gnu_ld = xyes; then
+               tm_file="${tm_file} sol2-gld.h"
+       fi
        if test x$gas = xyes; then
                tm_file="${tm_file} i386/sol2-gas.h"
        fi
@@ -2412,7 +2415,7 @@ sparc*-*-solaris2*)
                tm_file="${tm_file} sparc/sol2-gas.h sparc/sol2-gas-bi.h"
        fi
        if test x$gnu_ld = xyes; then
-               tm_file="${tm_file} sparc/sol2-gld.h sparc/sol2-gld-bi.h"
+               tm_file="${tm_file} sol2-gld.h sparc/sol2-gld-bi.h"
        fi
        tm_file="${tm_file} tm-dwarf2.h"
        tmake_file="t-sol2 sparc/t-sol2 sparc/t-sol2-64 sparc/t-crtfm"
similarity index 92%
rename from gcc/config/sparc/sol2-gld.h
rename to gcc/config/sol2-gld.h
index b63693c..217e092 100644 (file)
@@ -1,4 +1,4 @@
-/* Definitions of target machine for GCC, for SPARC running Solaris 2
+/* Definitions of target machine for GCC, for any machine running Solaris 2
    using the GNU linker.
 
    Copyright (C) 2002, 2010 Free Software Foundation, Inc.