+2011-04-11 Joseph Myers <joseph@codesourcery.com>
+
+ * config/alpha/linux-elf.h (LINUX_DYNAMIC_LINKER): Rename to
+ GNU_USER_DYNAMIC_LINKER.
+ * config/arm/linux-eabi.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Change
+ LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER.
+ (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to
+ GNU_USER_TARGET_OS_CPP_BUILTINS.
+ * config/bfin/linux.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ * config/bfin/uclinux.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Change
+ LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER.
+ (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to
+ GNU_USER_TARGET_OS_CPP_BUILTINS.
+ * config/frv/linux.h (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to
+ GNU_USER_DYNAMIC_LINKER.
+ * config/gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to
+ GNU_USER_TARGET_OS_CPP_BUILTINS.
+ * config/i386/gnu-user.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ * config/i386/gnu-user64.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ * config/i386/linux.h (GNU_USER_DYNAMIC_LINKER): Remove.
+ * config/i386/linux64.h (GNU_USER_DYNAMIC_LINKER32,
+ GNU_USER_DYNAMIC_LINKER64): Remove.
+ * config/ia64/linux.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to
+ GNU_USER_DYNAMIC_LINKER.
+ * config/kfreebsd-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to
+ GNU_USER_TARGET_OS_CPP_BUILTINS.
+ * config/knetbsd-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to
+ GNU_USER_TARGET_OS_CPP_BUILTINS.
+ * config/kopensolaris-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename
+ to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ * config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to
+ GNU_USER_TARGET_OS_CPP_BUILTINS.
+ (LINUX_DYNAMIC_LINKER): Rename to GNU_USER_DYNAMIC_LINKER.
+ (LINUX_DYNAMIC_LINKER32): Rename to GNU_USER_DYNAMIC_LINKER32.
+ (LINUX_DYNAMIC_LINKER64): Rename to GNU_USER_DYNAMIC_LINKER64.
+ * config/lm32/uclinux-elf.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ * config/m32r/linux.h (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to
+ GNU_USER_DYNAMIC_LINKER.
+ (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to
+ GNU_USER_TARGET_OS_CPP_BUILTINS.
+ * config/m68k/linux.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to
+ GNU_USER_DYNAMIC_LINKER.
+ * config/m68k/uclinux.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to
+ GNU_USER_DYNAMIC_LINKER.
+ * config/mips/linux64.h (LINUX_DYNAMIC_LINKERN32): Rename to
+ GNU_USER_DYNAMIC_LINKERN32.
+ (LINK_SPEC): Change LINUX_DYNAMIC_LINKERN32 to
+ GNU_USER_DYNAMIC_LINKERN32. Change LINUX_DYNAMIC_LINKER64 to
+ GNU_USER_DYNAMIC_LINKER64. Change LINUX_DYNAMIC_LINKER32 to
+ GNU_USER_DYNAMIC_LINKER32.
+ * config/mn10300/linux.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to
+ GNU_USER_DYNAMIC_LINKER.
+ * config/moxie/uclinux.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ * config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to
+ GNU_USER_DYNAMIC_LINKER.
+ * config/rs6000/linux64.h (LINUX_DYNAMIC_LINKER32): Rename to
+ GNU_USER_DYNAMIC_LINKER32.
+ (LINUX_DYNAMIC_LINKER64): Rename to GNU_USER_DYNAMIC_LINKER64.
+ * config/rs6000/sysv4.h (LINUX_DYNAMIC_LINKER): Rename to
+ GNU_USER_DYNAMIC_LINKER.
+ * config/s390/linux.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ (LINK_SPEC): Change LINUX_DYNAMIC_LINKER32 to
+ GNU_USER_DYNAMIC_LINKER32. Change LINUX_DYNAMIC_LINKER64 to
+ GNU_USER_DYNAMIC_LINKER64.
+ * config/sh/linux.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ (SUBTARGET_LINK_SPEC): Change LINUX_DYNAMIC_LINKER to
+ GNU_USER_DYNAMIC_LINKER.
+ * config/sparc/linux.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to
+ GNU_USER_DYNAMIC_LINKER.
+ * config/sparc/linux64.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ (LINK_ARCH32_SPEC): Change LINUX_DYNAMIC_LINKER32 to
+ GNU_USER_DYNAMIC_LINKER32.
+ (LINK_ARCH64_SPEC): Change LINUX_DYNAMIC_LINKER64 to
+ GNU_USER_DYNAMIC_LINKER64.
+ (LINK_SPEC): Change LINUX_DYNAMIC_LINKER64 to
+ GNU_USER_DYNAMIC_LINKER64.
+ * config/vax/linux.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Change
+ LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS.
+ (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to
+ GNU_USER_DYNAMIC_LINKER.
+
2011-04-11 Joseph Myers <joseph@codesourcery.com>
* config/i386/gnu-user.h: Copy from linux.h. Update comments.
#else
#error "Unsupported DEFAULT_LIBC"
#endif
-#define LINUX_DYNAMIC_LINKER \
+#define GNU_USER_DYNAMIC_LINKER \
CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
-#define ELF_DYNAMIC_LINKER LINUX_DYNAMIC_LINKER
+#define ELF_DYNAMIC_LINKER GNU_USER_DYNAMIC_LINKER
#define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax} \
%{O*:-O3} %{!O*:-O1} \
do \
{ \
TARGET_BPABI_CPP_BUILTINS(); \
- LINUX_TARGET_OS_CPP_BUILTINS(); \
+ GNU_USER_TARGET_OS_CPP_BUILTINS(); \
ANDROID_TARGET_OS_CPP_BUILTINS(); \
} \
while (false)
%{shared:-shared} \
%{symbolic:-Bsymbolic} \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER " \
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER " \
-X \
%{mbig-endian:-EB} %{mlittle-endian:-EL}" \
SUBTARGET_EXTRA_LINK_SPEC
#define TARGET_OS_CPP_BUILTINS() \
do \
{ \
- LINUX_TARGET_OS_CPP_BUILTINS(); \
+ GNU_USER_TARGET_OS_CPP_BUILTINS(); \
} \
while (0)
-/* Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
This file is part of GCC.
"%{!mno-fdpic:-mfdpic} -micplb",
#undef TARGET_OS_CPP_BUILTINS
-#define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
+#define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS()
#undef STARTFILE_SPEC
#define STARTFILE_SPEC \
-/* Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 2005, 2006, 2007, 2009, 2011 Free Software Foundation, Inc.
This file is part of GCC.
#define STARTFILE_SPEC \
"%{!shared: crt1%O%s} crti%O%s crtbegin%O%s crtlibid%O%s"
-#define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
+#define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS()
#define MD_UNWIND_SUPPORT "config/bfin/linux-unwind.h"
%{symbolic:-Bdynamic} %{static:-Bstatic}\
%{!shared:%{!static:\
%{rdynamic:-export-dynamic}\
- -dynamic-linker " LINUX_DYNAMIC_LINKER "}}\
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "}}\
%{!r:%{O2|O3: --gc-sections}}"
#define TARGET_OS_CPP_BUILTINS() \
do \
{ \
- LINUX_TARGET_OS_CPP_BUILTINS(); \
+ GNU_USER_TARGET_OS_CPP_BUILTINS(); \
if (flag_leading_underscore <= 0) \
builtin_define ("__NO_UNDERSCORES__"); \
} \
/* Target macros for the FRV Linux port of GCC.
- Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2010
+ Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2010, 2011
Free Software Foundation, Inc.
Contributed by Red Hat Inc.
%{mfdpic: -m elf32frvfd -z text} %{shared} %{pie} \
%{!shared: %{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER "} \
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
%{static}}"
/* Support for compile-time default CPU. */
#undef STANDARD_INCLUDE_DIR
#define STANDARD_INCLUDE_DIR "/include"
-#undef LINUX_TARGET_OS_CPP_BUILTINS
-#define LINUX_TARGET_OS_CPP_BUILTINS() \
+#undef GNU_USER_TARGET_OS_CPP_BUILTINS
+#define GNU_USER_TARGET_OS_CPP_BUILTINS() \
do { \
builtin_define ("__gnu_hurd__"); \
builtin_define ("__GNU__"); \
#define TARGET_OS_CPP_BUILTINS() \
do \
{ \
- LINUX_TARGET_OS_CPP_BUILTINS(); \
+ GNU_USER_TARGET_OS_CPP_BUILTINS(); \
} \
while (0)
#define TARGET_OS_CPP_BUILTINS() \
do \
{ \
- LINUX_TARGET_OS_CPP_BUILTINS(); \
+ GNU_USER_TARGET_OS_CPP_BUILTINS(); \
} \
while (0)
#define GNU_USER_LINK_EMULATION "elf_i386"
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
-#define GNU_USER_DYNAMIC_LINKER LINUX_DYNAMIC_LINKER
-
#define MD_UNWIND_SUPPORT "config/i386/linux-unwind.h"
#define REG_NAME(reg) reg
#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
-#define GNU_USER_DYNAMIC_LINKER32 LINUX_DYNAMIC_LINKER32
-#define GNU_USER_DYNAMIC_LINKER64 LINUX_DYNAMIC_LINKER64
-
#define MD_UNWIND_SUPPORT "config/i386/linux-unwind.h"
#define REG_NAME(reg) reg
/* Target OS builtins. */
#define TARGET_OS_CPP_BUILTINS() \
do { \
- LINUX_TARGET_OS_CPP_BUILTINS(); \
+ GNU_USER_TARGET_OS_CPP_BUILTINS(); \
builtin_define("_LONGLONG"); \
} while (0)
%{!shared: \
%{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER "} \
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
%{static:-static}}"
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
-#undef LINUX_TARGET_OS_CPP_BUILTINS
-#define LINUX_TARGET_OS_CPP_BUILTINS() \
+#undef GNU_USER_TARGET_OS_CPP_BUILTINS
+#define GNU_USER_TARGET_OS_CPP_BUILTINS() \
do \
{ \
builtin_define ("__FreeBSD_kernel__"); \
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
-#undef LINUX_TARGET_OS_CPP_BUILTINS
-#define LINUX_TARGET_OS_CPP_BUILTINS() \
+#undef GNU_USER_TARGET_OS_CPP_BUILTINS
+#define GNU_USER_TARGET_OS_CPP_BUILTINS() \
do \
{ \
builtin_define ("__NetBSD_kernel__"); \
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
-#undef LINUX_TARGET_OS_CPP_BUILTINS
-#define LINUX_TARGET_OS_CPP_BUILTINS() \
+#undef GNU_USER_TARGET_OS_CPP_BUILTINS
+#define GNU_USER_TARGET_OS_CPP_BUILTINS() \
do \
{ \
builtin_define ("__OpenSolaris_kernel__"); \
#define OPTION_BIONIC (linux_libc == LIBC_BIONIC)
#endif
-#define LINUX_TARGET_OS_CPP_BUILTINS() \
+#define GNU_USER_TARGET_OS_CPP_BUILTINS() \
do { \
if (OPTION_GLIBC) \
builtin_define ("__gnu_linux__"); \
#define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker"
#define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64"
-#define LINUX_DYNAMIC_LINKER \
+#define GNU_USER_DYNAMIC_LINKER \
CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER, \
BIONIC_DYNAMIC_LINKER)
-#define LINUX_DYNAMIC_LINKER32 \
+#define GNU_USER_DYNAMIC_LINKER32 \
CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER32, \
BIONIC_DYNAMIC_LINKER32)
-#define LINUX_DYNAMIC_LINKER64 \
+#define GNU_USER_DYNAMIC_LINKER64 \
CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER64, UCLIBC_DYNAMIC_LINKER64, \
BIONIC_DYNAMIC_LINKER64)
%{rdynamic:-export-dynamic} \
-dynamic-linker /lib/ld-linux.so.2"
-#define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
+#define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS()
#define LINK_GCC_C_SEQUENCE_SPEC \
"%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}"
%{!shared: \
%{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER "} \
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
%{static:-static}}"
#else
#define LINK_SPEC "%(link_cpu) -m m32relf_linux %{shared:-shared} \
%{!shared: \
%{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER "} \
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
%{static:-static}}"
#endif
%{pthread:-D_REENTRANT -D_PTHREADS} \
"
-#define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
+#define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS()
#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
#define ASM_COMMENT_START "|"
/* Target OS builtins. */
-#define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
+#define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS()
#undef CPP_SPEC
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
%{!shared: \
%{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER "} \
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
%{static}}"
/* For compatibility with linux/a.out */
#define TARGET_OS_CPP_BUILTINS() \
do \
{ \
- LINUX_TARGET_OS_CPP_BUILTINS (); \
+ GNU_USER_TARGET_OS_CPP_BUILTINS (); \
builtin_define ("__uClinux__"); \
if (TARGET_ID_SHARED_LIBRARY) \
{ \
#define TARGET_OS_CPP_BUILTINS() \
do { \
- LINUX_TARGET_OS_CPP_BUILTINS(); \
+ GNU_USER_TARGET_OS_CPP_BUILTINS(); \
/* The GNU C++ standard library requires this. */ \
if (c_dialect_cxx ()) \
builtin_define ("_GNU_SOURCE"); \
%{!shared: \
%{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER "} \
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
%{static:-static}}"
#undef SUBTARGET_ASM_SPEC
#define GLIBC_DYNAMIC_LINKERN32 "/lib32/ld.so.1"
#define UCLIBC_DYNAMIC_LINKERN32 "/lib32/ld-uClibc.so.0"
#define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
-#define LINUX_DYNAMIC_LINKERN32 \
+#define GNU_USER_DYNAMIC_LINKERN32 \
CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \
BIONIC_DYNAMIC_LINKERN32)
%{!shared: \
%{!static: \
%{rdynamic:-export-dynamic} \
- %{mabi=n32: -dynamic-linker " LINUX_DYNAMIC_LINKERN32 "} \
- %{mabi=64: -dynamic-linker " LINUX_DYNAMIC_LINKER64 "} \
- %{mabi=32: -dynamic-linker " LINUX_DYNAMIC_LINKER32 "}} \
+ %{mabi=n32: -dynamic-linker " GNU_USER_DYNAMIC_LINKERN32 "} \
+ %{mabi=64: -dynamic-linker " GNU_USER_DYNAMIC_LINKER64 "} \
+ %{mabi=32: -dynamic-linker " GNU_USER_DYNAMIC_LINKER32 "}} \
%{static:-static}} \
%{mabi=n32:-melf32%{EB:b}%{EL:l}tsmipn32} \
%{mabi=64:-melf64%{EB:b}%{EL:l}tsmip} \
#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
-#define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
+#define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS()
#undef CPP_SPEC
#define CPP_SPEC "%{mam33:-D__AM33__} %{!mam33:-D__AM33__=2 -D__AM33_2__} \
#define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \
%{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER "} \
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
%{static:-static}"
#undef PROCESSOR_DEFAULT
-/* Copyright (C) 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2009, 2011 Free Software Foundation, Inc.
This file is part of GCC.
#undef LINK_SPEC
#define LINK_SPEC "-elf2flt"
-#define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
+#define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS()
/* Like the definition in gcc.c, but for purposes of uClinux, every link is
static. */
#define TARGET_OS_CPP_BUILTINS() \
do \
{ \
- LINUX_TARGET_OS_CPP_BUILTINS(); \
+ GNU_USER_TARGET_OS_CPP_BUILTINS(); \
builtin_assert ("machine=bigendian"); \
} \
while (0)
%{!shared: \
%{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER "} \
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
%{static:-static}}"
/* glibc's profiling functions don't need gcc to allocate counters. */
#else
#error "Unsupported DEFAULT_LIBC"
#endif
-#define LINUX_DYNAMIC_LINKER32 \
+#define GNU_USER_DYNAMIC_LINKER32 \
CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER32)
-#define LINUX_DYNAMIC_LINKER64 \
+#define GNU_USER_DYNAMIC_LINKER64 \
CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER64, UCLIBC_DYNAMIC_LINKER64)
#define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux %{!shared: %{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER32 "}}"
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER32 "}}"
#define LINK_OS_LINUX_SPEC64 "-m elf64ppc %{!shared: %{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER64 "}}"
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER64 "}}"
#undef TOC_SECTION_ASM_OP
#define TOC_SECTION_ASM_OP \
#else
#error "Unsupported DEFAULT_LIBC"
#endif
-#define LINUX_DYNAMIC_LINKER \
+#define GNU_USER_DYNAMIC_LINKER \
CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
#define LINK_OS_LINUX_SPEC "-m elf32ppclinux %{!shared: %{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER "}}"
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "}}"
#if defined(HAVE_LD_EH_FRAME_HDR)
# define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
#define TARGET_OS_CPP_BUILTINS() \
do \
{ \
- LINUX_TARGET_OS_CPP_BUILTINS(); \
+ GNU_USER_TARGET_OS_CPP_BUILTINS(); \
} \
while (0)
%{static:-static} \
%{!static: \
%{rdynamic:-export-dynamic} \
- %{m31:-dynamic-linker " LINUX_DYNAMIC_LINKER32 "} \
- %{m64:-dynamic-linker " LINUX_DYNAMIC_LINKER64 "}}}"
+ %{m31:-dynamic-linker " GNU_USER_DYNAMIC_LINKER32 "} \
+ %{m64:-dynamic-linker " GNU_USER_DYNAMIC_LINKER64 "}}}"
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
#define TARGET_OS_CPP_BUILTINS() \
do \
{ \
- LINUX_TARGET_OS_CPP_BUILTINS(); \
+ GNU_USER_TARGET_OS_CPP_BUILTINS(); \
} \
while (0)
"%{shared:-shared} \
%{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER "} \
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
%{static:-static}"
/* Output assembler code to STREAM to call the profiler. */
#define TARGET_OS_CPP_BUILTINS() \
do \
{ \
- LINUX_TARGET_OS_CPP_BUILTINS(); \
+ GNU_USER_TARGET_OS_CPP_BUILTINS(); \
if (TARGET_LONG_DOUBLE_128) \
builtin_define ("__LONG_DOUBLE_128__"); \
} \
%{!shared: \
%{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER "} \
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
%{static:-static}}"
/* It's safe to pass -s always, even if -g is not used. */
#define TARGET_OS_CPP_BUILTINS() \
do \
{ \
- LINUX_TARGET_OS_CPP_BUILTINS(); \
+ GNU_USER_TARGET_OS_CPP_BUILTINS(); \
if (TARGET_ARCH64) \
builtin_define ("_LONGLONG"); \
if (TARGET_ARCH32 \
%{!shared: \
%{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER32 "} \
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER32 "} \
%{static:-static}} \
"
%{!shared: \
%{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER64 "} \
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER64 "} \
%{static:-static}} \
"
%{!shared: \
%{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER64 "} \
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER64 "} \
%{static:-static}} \
%{mlittle-endian:-EL} \
%{!mno-relax:%{!r:-relax}} \
<http://www.gnu.org/licenses/>. */
-#define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
+#define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS()
/* We use GAS, G-float double and want new DI patterns. */
#undef TARGET_DEFAULT
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
-#define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
+#define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS()
#undef SUBTARGET_CPP_SPEC
#define SUBTARGET_CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
%{!shared: \
%{!static: \
%{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER "} \
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
%{static:-static}}"
#undef LOCAL_LABEL_PREFIX