sparc.c (TARGET_ASM_OUTPUT_DWARF_DTPREL): Define only if HAVE_AS_SPARC_UA_PCREL is defined.

* config/sparc/sparc.c (TARGET_ASM_OUTPUT_DWARF_DTPREL): Define
	only if HAVE_AS_SPARC_UA_PCREL is defined.

From-SVN: r142118
This commit is contained in:
Eric Botcazou 2008-11-22 12:44:24 +00:00 committed by Eric Botcazou
parent 61ad6db1bd
commit f06fb22be5
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-11-22 Eric Botcazou <ebotcazou@adacore.com>
* config/sparc/sparc.c (TARGET_ASM_OUTPUT_DWARF_DTPREL): Define
only if HAVE_AS_SPARC_UA_PCREL is defined.
2008-11-22 Richard Sandiford <rdsandiford@googlemail.com>
* ira-costs.c (find_allocno_class_costs): Work out the maximum

View File

@ -575,7 +575,7 @@ static bool fpu_option_set = false;
#undef TARGET_HANDLE_OPTION
#define TARGET_HANDLE_OPTION sparc_handle_option
#if TARGET_GNU_TLS
#if TARGET_GNU_TLS && defined(HAVE_AS_SPARC_UA_PCREL)
#undef TARGET_ASM_OUTPUT_DWARF_DTPREL
#define TARGET_ASM_OUTPUT_DWARF_DTPREL sparc_output_dwarf_dtprel
#endif