From: Eric Botcazou Date: Sat, 22 Nov 2008 12:44:24 +0000 (+0000) Subject: sparc.c (TARGET_ASM_OUTPUT_DWARF_DTPREL): Define only if HAVE_AS_SPARC_UA_PCREL is... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f06fb22be5ab362c5cf6c0b235e0baa9917bb74d;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 69635f64f3a..68a72c9fd80 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-11-22 Eric Botcazou + + * config/sparc/sparc.c (TARGET_ASM_OUTPUT_DWARF_DTPREL): Define + only if HAVE_AS_SPARC_UA_PCREL is defined. + 2008-11-22 Richard Sandiford * ira-costs.c (find_allocno_class_costs): Work out the maximum diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index d3d1af0479e..3b659ac50dc 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -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