alpha.h (CPP_SPEC, [...]): Remove.
* config/alpha/alpha.h (CPP_SPEC, CPP_SUBTARGET_SPEC): Remove. (EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): Remove. * config/alpha/linux.h (CPP_SPEC): Undef before redefine. * config/alpha/linux-elf.h (EXTRA_SPECS): Rename SUBTARGET_EXTRA_SPECS. * config/alpha/freebsd.h (EXTRA_SPECS): Rename SUBTARGET_EXTRA_SPECS. (CPP_SPEC): Don't include %(cpp_subtarget). * config/alpha/netbsd.h (CPP_SPEC): Rename CPP_SUBTARGET_SPEC. (EXTRA_SPECS): Rename SUBTARGET_EXTRA_SPECS. * config/alpha/osf.h (CPP_SPEC, EXTRA_SPECS): Similarly. From-SVN: r123999
This commit is contained in:
parent
bf6a0a1838
commit
f326fd7a03
|
@ -1,3 +1,15 @@
|
||||||
|
2007-04-20 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* config/alpha/alpha.h (CPP_SPEC, CPP_SUBTARGET_SPEC): Remove.
|
||||||
|
(EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): Remove.
|
||||||
|
* config/alpha/linux.h (CPP_SPEC): Undef before redefine.
|
||||||
|
* config/alpha/linux-elf.h (EXTRA_SPECS): Rename SUBTARGET_EXTRA_SPECS.
|
||||||
|
* config/alpha/freebsd.h (EXTRA_SPECS): Rename SUBTARGET_EXTRA_SPECS.
|
||||||
|
(CPP_SPEC): Don't include %(cpp_subtarget).
|
||||||
|
* config/alpha/netbsd.h (CPP_SPEC): Rename CPP_SUBTARGET_SPEC.
|
||||||
|
(EXTRA_SPECS): Rename SUBTARGET_EXTRA_SPECS.
|
||||||
|
* config/alpha/osf.h (CPP_SPEC, EXTRA_SPECS): Similarly.
|
||||||
|
|
||||||
2007-04-20 Jakub Jelinek <jakub@redhat.com>
|
2007-04-20 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* config/i386/i386.c (bdesc_2arg): Use ORDERED rather than UNORDERED
|
* config/i386/i386.c (bdesc_2arg): Use ORDERED rather than UNORDERED
|
||||||
|
|
|
@ -96,12 +96,6 @@ Boston, MA 02110-1301, USA. */
|
||||||
while (0)
|
while (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CPP_SPEC "%(cpp_subtarget)"
|
|
||||||
|
|
||||||
#ifndef CPP_SUBTARGET_SPEC
|
|
||||||
#define CPP_SUBTARGET_SPEC ""
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define WORD_SWITCH_TAKES_ARG(STR) \
|
#define WORD_SWITCH_TAKES_ARG(STR) \
|
||||||
(!strcmp (STR, "rpath") || DEFAULT_WORD_SWITCH_TAKES_ARG(STR))
|
(!strcmp (STR, "rpath") || DEFAULT_WORD_SWITCH_TAKES_ARG(STR))
|
||||||
|
|
||||||
|
@ -215,25 +209,6 @@ extern enum alpha_fp_trap_mode alpha_fptm;
|
||||||
{"cpu", "%{!mcpu=*:-mcpu=%(VALUE)}" }, \
|
{"cpu", "%{!mcpu=*:-mcpu=%(VALUE)}" }, \
|
||||||
{"tune", "%{!mtune=*:-mtune=%(VALUE)}" }
|
{"tune", "%{!mtune=*:-mtune=%(VALUE)}" }
|
||||||
|
|
||||||
/* This macro defines names of additional specifications to put in the
|
|
||||||
specs that can be used in various specifications like CC1_SPEC. Its
|
|
||||||
definition is an initializer with a subgrouping for each command option.
|
|
||||||
|
|
||||||
Each subgrouping contains a string constant, that defines the
|
|
||||||
specification name, and a string constant that used by the GCC driver
|
|
||||||
program.
|
|
||||||
|
|
||||||
Do not define this macro if it does not need to do anything. */
|
|
||||||
|
|
||||||
#ifndef SUBTARGET_EXTRA_SPECS
|
|
||||||
#define SUBTARGET_EXTRA_SPECS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define EXTRA_SPECS \
|
|
||||||
{ "cpp_subtarget", CPP_SUBTARGET_SPEC }, \
|
|
||||||
SUBTARGET_EXTRA_SPECS
|
|
||||||
|
|
||||||
|
|
||||||
/* Sometimes certain combinations of command options do not make sense
|
/* Sometimes certain combinations of command options do not make sense
|
||||||
on a particular target machine. You can define a macro
|
on a particular target machine. You can define a macro
|
||||||
`OVERRIDE_OPTIONS' to take account of this. This macro, if
|
`OVERRIDE_OPTIONS' to take account of this. This macro, if
|
||||||
|
|
|
@ -20,16 +20,15 @@ the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||||
Boston, MA 02110-1301, USA. */
|
Boston, MA 02110-1301, USA. */
|
||||||
|
|
||||||
|
|
||||||
#undef SUBTARGET_EXTRA_SPECS
|
#undef EXTRA_SPECS
|
||||||
#define SUBTARGET_EXTRA_SPECS \
|
#define EXTRA_SPECS \
|
||||||
{ "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
|
{ "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
|
||||||
|
|
||||||
/* Provide a CPP_SPEC appropriate for FreeBSD/alpha. Besides the
|
/* Provide a CPP_SPEC appropriate for FreeBSD/alpha -- dealing with
|
||||||
dealing with the GCC option `-posix', we must deal with the Alpha's
|
the GCC option `-posix'. */
|
||||||
FP issues. */
|
|
||||||
|
|
||||||
#undef CPP_SPEC
|
#undef CPP_SPEC
|
||||||
#define CPP_SPEC "%(cpp_subtarget) %{posix:-D_POSIX_SOURCE}"
|
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}"
|
||||||
|
|
||||||
#define LINK_SPEC "%{G*} %{relax:-relax} \
|
#define LINK_SPEC "%{G*} %{relax:-relax} \
|
||||||
%{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
|
%{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
|
||||||
|
|
|
@ -24,8 +24,8 @@ Boston, MA 02110-1301, USA. */
|
||||||
#undef TARGET_VERSION
|
#undef TARGET_VERSION
|
||||||
#define TARGET_VERSION fprintf (stderr, " (Alpha GNU/Linux for ELF)");
|
#define TARGET_VERSION fprintf (stderr, " (Alpha GNU/Linux for ELF)");
|
||||||
|
|
||||||
#undef SUBTARGET_EXTRA_SPECS
|
#undef EXTRA_SPECS
|
||||||
#define SUBTARGET_EXTRA_SPECS \
|
#define EXTRA_SPECS \
|
||||||
{ "elf_dynamic_linker", ELF_DYNAMIC_LINKER },
|
{ "elf_dynamic_linker", ELF_DYNAMIC_LINKER },
|
||||||
|
|
||||||
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
|
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
|
||||||
|
|
|
@ -44,6 +44,7 @@ Boston, MA 02110-1301, USA. */
|
||||||
%{shared:-lc} \
|
%{shared:-lc} \
|
||||||
%{!shared: %{profile:-lc_p}%{!profile:-lc}}"
|
%{!shared: %{profile:-lc_p}%{!profile:-lc}}"
|
||||||
|
|
||||||
|
#undef CPP_SPEC
|
||||||
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
|
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
|
||||||
|
|
||||||
/* Show that we need a GP when profiling. */
|
/* Show that we need a GP when profiling. */
|
||||||
|
|
|
@ -38,14 +38,14 @@ Boston, MA 02110-1301, USA. */
|
||||||
#define TARGET_PROFILING_NEEDS_GP 1
|
#define TARGET_PROFILING_NEEDS_GP 1
|
||||||
|
|
||||||
|
|
||||||
/* Provide a CPP_SUBTARGET_SPEC appropriate for NetBSD/alpha. We use
|
/* Provide a CPP_SPEC appropriate for NetBSD/alpha. We use
|
||||||
this to pull in CPP specs that all NetBSD configurations need. */
|
this to pull in CPP specs that all NetBSD configurations need. */
|
||||||
|
|
||||||
#undef CPP_SUBTARGET_SPEC
|
#undef CPP_SPEC
|
||||||
#define CPP_SUBTARGET_SPEC NETBSD_CPP_SPEC
|
#define CPP_SPEC NETBSD_CPP_SPEC
|
||||||
|
|
||||||
#undef SUBTARGET_EXTRA_SPECS
|
#undef EXTRA_SPECS
|
||||||
#define SUBTARGET_EXTRA_SPECS \
|
#define EXTRA_SPECS \
|
||||||
{ "netbsd_link_spec", NETBSD_LINK_SPEC_ELF }, \
|
{ "netbsd_link_spec", NETBSD_LINK_SPEC_ELF }, \
|
||||||
{ "netbsd_entry_point", NETBSD_ENTRY_POINT }, \
|
{ "netbsd_entry_point", NETBSD_ENTRY_POINT }, \
|
||||||
{ "netbsd_endfile_spec", NETBSD_ENDFILE_SPEC },
|
{ "netbsd_endfile_spec", NETBSD_ENDFILE_SPEC },
|
||||||
|
|
|
@ -61,8 +61,8 @@ Boston, MA 02110-1301, USA. */
|
||||||
instead of PTHREAD_USE_D4 since both have the same effect and the former
|
instead of PTHREAD_USE_D4 since both have the same effect and the former
|
||||||
doesn't invade the users' namespace. */
|
doesn't invade the users' namespace. */
|
||||||
|
|
||||||
#undef CPP_SUBTARGET_SPEC
|
#undef CPP_SPEC
|
||||||
#define CPP_SUBTARGET_SPEC \
|
#define CPP_SPEC \
|
||||||
"%{pthread|threads:-D_REENTRANT} %{threads:-D_PTHREAD_USE_D4}"
|
"%{pthread|threads:-D_REENTRANT} %{threads:-D_PTHREAD_USE_D4}"
|
||||||
|
|
||||||
/* Under OSF4, -p and -pg require -lprof1, and -lprof1 requires -lpdf. */
|
/* Under OSF4, -p and -pg require -lprof1, and -lprof1 requires -lpdf. */
|
||||||
|
@ -134,8 +134,8 @@ Boston, MA 02110-1301, USA. */
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef SUBTARGET_EXTRA_SPECS
|
#undef EXTRA_SPECS
|
||||||
#define SUBTARGET_EXTRA_SPECS { "asm_oldas", ASM_OLDAS_SPEC }
|
#define EXTRA_SPECS { "asm_oldas", ASM_OLDAS_SPEC }
|
||||||
|
|
||||||
/* Indicate that we have a stamp.h to use. */
|
/* Indicate that we have a stamp.h to use. */
|
||||||
#ifndef CROSS_DIRECTORY_STRUCTURE
|
#ifndef CROSS_DIRECTORY_STRUCTURE
|
||||||
|
|
Loading…
Reference in New Issue