aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2008-11-22 12:44:24 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2008-11-22 12:44:24 +0000
commitf06fb22be5ab362c5cf6c0b235e0baa9917bb74d (patch)
tree0fc59ebb94e9a548a3e2932c3c48d7262d890131 /gcc/config
parent61ad6db1bdb74c858da4a80c4454306c202e62f1 (diff)
downloadgcc-f06fb22be5ab362c5cf6c0b235e0baa9917bb74d.zip
gcc-f06fb22be5ab362c5cf6c0b235e0baa9917bb74d.tar.gz
gcc-f06fb22be5ab362c5cf6c0b235e0baa9917bb74d.tar.bz2
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
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/sparc/sparc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c
index d3d1af0..3b659ac 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