Commit 47fe5c48 by Bernardo Innocenti Committed by Bernardo Innocenti

config.gcc (m68k-*-linux*): Remove definition of LINUX_DEFAULT_ELF.

	* config.gcc (m68k-*-linux*): Remove definition of LINUX_DEFAULT_ELF.
	* config/i370/linux.h (LINUX_DEFAULT_ELF): Remove unconditional
	definition and code blocks compiled when not defined.
	* config/i386/linux.h (LINUX_DEFAULT_ELF): Likewise.
	* config/i386/linux64.h (LINUX_DEFAULT_ELF): Likewise.
	* config/sparc/linux.h: (LINUX_DEFAULT_ELF): Likewise.
	* config/sparc/linux64.h: (LINUX_DEFAULT_ELF): Likewise.

From-SVN: r71035
parent 19a42e51
2003-09-03 Bernardo Innocenti <bernie@develer.com>
* config.gcc (m68k-*-linux*): Remove definition of LINUX_DEFAULT_ELF.
* config/i370/linux.h (LINUX_DEFAULT_ELF): Remove unconditional
definition and code blocks compiled when not defined.
* config/i386/linux.h (LINUX_DEFAULT_ELF): Likewise.
* config/i386/linux64.h (LINUX_DEFAULT_ELF): Likewise.
* config/sparc/linux.h: (LINUX_DEFAULT_ELF): Likewise.
* config/sparc/linux64.h: (LINUX_DEFAULT_ELF): Likewise.
2003-09-03 Jeff Sturm <jsturm@one-point.com> 2003-09-03 Jeff Sturm <jsturm@one-point.com>
* cgraphunit.c (visited_nodes): New static variable. * cgraphunit.c (visited_nodes): New static variable.
......
...@@ -1293,7 +1293,7 @@ m68k-*-linux*) # Motorola m68k's running GNU/Linux ...@@ -1293,7 +1293,7 @@ m68k-*-linux*) # Motorola m68k's running GNU/Linux
# with ELF format using glibc 2 # with ELF format using glibc 2
# aka the GNU/Linux C library 6. # aka the GNU/Linux C library 6.
tm_file="m68k/m68k.h dbxelf.h elfos.h svr4.h linux.h m68k/linux.h" tm_file="m68k/m68k.h dbxelf.h elfos.h svr4.h linux.h m68k/linux.h"
tm_defines="MOTOROLA USE_GAS LINUX_DEFAULT_ELF" tm_defines="MOTOROLA USE_GAS"
tmake_file="t-slibgcc-elf-ver t-linux" tmake_file="t-slibgcc-elf-ver t-linux"
;; ;;
m68k-*-rtems*) m68k-*-rtems*)
......
...@@ -27,7 +27,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -27,7 +27,6 @@ Boston, MA 02111-1307, USA. */
/* Specify that we're generating code for a Linux port to 370 */ /* Specify that we're generating code for a Linux port to 370 */
#define TARGET_ELF_ABI #define TARGET_ELF_ABI
#define LINUX_DEFAULT_ELF
/* Target OS preprocessor built-ins. */ /* Target OS preprocessor built-ins. */
#define TARGET_OS_CPP_BUILTINS() \ #define TARGET_OS_CPP_BUILTINS() \
......
...@@ -21,8 +21,6 @@ along with GNU CC; see the file COPYING. If not, write to ...@@ -21,8 +21,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#define LINUX_DEFAULT_ELF
/* Output at beginning of assembler file. */ /* Output at beginning of assembler file. */
/* The .file command should always begin the output. */ /* The .file command should always begin the output. */
#define TARGET_ASM_FILE_START_FILE_DIRECTIVE true #define TARGET_ASM_FILE_START_FILE_DIRECTIVE true
...@@ -115,15 +113,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -115,15 +113,6 @@ Boston, MA 02111-1307, USA. */
#undef LINK_SPEC #undef LINK_SPEC
#ifdef USE_GNULIBC_1 #ifdef USE_GNULIBC_1
#ifndef LINUX_DEFAULT_ELF
#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
%{!shared: \
%{!ibcs: \
%{!static: \
%{rdynamic:-export-dynamic} \
%{!dynamic-linker:-dynamic-linker /lib/elf/ld-linux.so.1} \
%{!rpath:-rpath /lib/elf/}} %{static:-static}}}"
#else
#define LINK_SPEC "-m elf_i386 %{shared:-shared} \ #define LINK_SPEC "-m elf_i386 %{shared:-shared} \
%{!shared: \ %{!shared: \
%{!ibcs: \ %{!ibcs: \
...@@ -131,7 +120,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -131,7 +120,6 @@ Boston, MA 02111-1307, USA. */
%{rdynamic:-export-dynamic} \ %{rdynamic:-export-dynamic} \
%{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.1}} \ %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.1}} \
%{static:-static}}}" %{static:-static}}}"
#endif
#else #else
#define LINK_SPEC "-m elf_i386 %{shared:-shared} \ #define LINK_SPEC "-m elf_i386 %{shared:-shared} \
%{!shared: \ %{!shared: \
......
...@@ -19,8 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to ...@@ -19,8 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#define LINUX_DEFAULT_ELF
#define TARGET_VERSION fprintf (stderr, " (x86-64 Linux/ELF)"); #define TARGET_VERSION fprintf (stderr, " (x86-64 Linux/ELF)");
#define TARGET_OS_CPP_BUILTINS() \ #define TARGET_OS_CPP_BUILTINS() \
......
...@@ -30,8 +30,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -30,8 +30,6 @@ Boston, MA 02111-1307, USA. */
} \ } \
while (0) while (0)
#define LINUX_DEFAULT_ELF
/* Don't assume anything about the header files. */ /* Don't assume anything about the header files. */
#define NO_IMPLICIT_EXTERN_C #define NO_IMPLICIT_EXTERN_C
...@@ -154,15 +152,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -154,15 +152,6 @@ Boston, MA 02111-1307, USA. */
#undef LINK_SPEC #undef LINK_SPEC
#ifdef USE_GNULIBC_1 #ifdef USE_GNULIBC_1
#ifndef LINUX_DEFAULT_ELF
#define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
%{!shared: \
%{!ibcs: \
%{!static: \
%{rdynamic:-export-dynamic} \
%{!dynamic-linker:-dynamic-linker /lib/elf/ld-linux.so.1} \
%{!rpath:-rpath /lib/elf/}} %{static:-static}}}"
#else
#define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \ #define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
%{!shared: \ %{!shared: \
%{!ibcs: \ %{!ibcs: \
...@@ -170,7 +159,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -170,7 +159,6 @@ Boston, MA 02111-1307, USA. */
%{rdynamic:-export-dynamic} \ %{rdynamic:-export-dynamic} \
%{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.1}} \ %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.1}} \
%{static:-static}}}" %{static:-static}}}"
#endif
#else #else
#define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \ #define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
%{!mno-relax:%{!r:-relax}} \ %{!mno-relax:%{!r:-relax}} \
......
...@@ -31,8 +31,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -31,8 +31,6 @@ Boston, MA 02111-1307, USA. */
} \ } \
while (0) while (0)
#define LINUX_DEFAULT_ELF
/* Don't assume anything about the header files. */ /* Don't assume anything about the header files. */
#define NO_IMPLICIT_EXTERN_C #define NO_IMPLICIT_EXTERN_C
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment