sh.h (SUBTARGET_EXTRA_SPECS): Define empty if not already defined.

* config/sh/sh.h (SUBTARGET_EXTRA_SPECS): Define empty
if not already defined.
(EXTRA_SPECS): Add SUBTARGET_EXTRA_SPECS.

From-SVN: r54387
This commit is contained in:
Jason Thorpe 2002-06-08 17:47:20 +00:00 committed by Jason Thorpe
parent e52b6b63da
commit 6a79bb0ad4
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-06-08 Jason Thorpe <thorpej@wasabisystems.com>
* config/sh/sh.h (SUBTARGET_EXTRA_SPECS): Define empty
if not already defined.
(EXTRA_SPECS): Add SUBTARGET_EXTRA_SPECS.
2002-06-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
* config/avr/avr.c (avr_regs_to_save): No need to save any registers

View File

@ -320,13 +320,18 @@ extern int target_flags;
#define SUBTARGET_CPP_SPEC ""
#endif
#ifndef SUBTARGET_EXTRA_SPECS
#define SUBTARGET_EXTRA_SPECS
#endif
#define EXTRA_SPECS \
{ "subtarget_cpp_spec", SUBTARGET_CPP_SPEC }, \
{ "link_emul_prefix", LINK_EMUL_PREFIX }, \
{ "link_default_cpu_emul", LINK_DEFAULT_CPU_EMUL }, \
{ "subtarget_link_emul_suffix", SUBTARGET_LINK_EMUL_SUFFIX }, \
{ "subtarget_link_spec", SUBTARGET_LINK_SPEC }, \
{ "subtarget_asm_endian_spec", SUBTARGET_ASM_ENDIAN_SPEC },
{ "subtarget_asm_endian_spec", SUBTARGET_ASM_ENDIAN_SPEC }, \
SUBTARGET_EXTRA_SPECS
#define ASM_SPEC "%(subtarget_asm_endian_spec) %{mrelax:-relax}"