sparc.c (TARGET_ASM_OUTPUT_DWARF_DTPREL): Define only if HAVE_AS_SPARC_UA_PCREL is...
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 22 Nov 2008 12:44:24 +0000 (12:44 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 22 Nov 2008 12:44:24 +0000 (12:44 +0000)
* config/sparc/sparc.c (TARGET_ASM_OUTPUT_DWARF_DTPREL): Define
only if HAVE_AS_SPARC_UA_PCREL is defined.

From-SVN: r142118

gcc/ChangeLog
gcc/config/sparc/sparc.c

index 69635f64f3ad4342754e7d4c0142c684b8e77361..68a72c9fd80407e1e7f73481d2e172c158cd308d 100644 (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
index d3d1af0479ef814a1795f1d070891af9a7542ba8..3b659ac50dcab5539e1a86a9b7d3af21d5e78a3a 100644 (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