]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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:59 +0000 (12:44 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 22 Nov 2008 12:44:59 +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: r142120

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

index a90b8f4c09a4be6e8d609742d45b10c5f7361f76..cfc12ae1fc74d5a2bf71db6e3979be2ca68710a5 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-17  Dodji Seketeli  <dodji@redhat.com>
 
        PR c++/27574
index 583ef37b3a750e7d3e5847167a8ca99c13a369ee..fc1d13f3677524de40335cab2296605d5be625e3 100644 (file)
@@ -546,7 +546,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