aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-12-15 17:05:01 -0800
committerRichard Henderson <rth@gcc.gnu.org>2001-12-15 17:05:01 -0800
commit3a37b08e62c54a5f5ca33fb5151c2a3b4a1b22f7 (patch)
treecbf829c110864fcbc2fe513c39de340fb1c12a37 /gcc/config
parentbd1f473825af96053542ff6d3ac518a77c95b4af (diff)
downloadgcc-3a37b08e62c54a5f5ca33fb5151c2a3b4a1b22f7.zip
gcc-3a37b08e62c54a5f5ca33fb5151c2a3b4a1b22f7.tar.gz
gcc-3a37b08e62c54a5f5ca33fb5151c2a3b4a1b22f7.tar.bz2
alpha.h (TARGET_SWITCHES): Turn on MASK_EXPLICIT_RELOCS if the assembler supports it.
* config/alpha/alpha.h (TARGET_SWITCHES): Turn on MASK_EXPLICIT_RELOCS if the assembler supports it. * configure.in (HAVE_AS_EXPLICIT_RELOCS): New. * configure, config.in: Rebuild. From-SVN: r48054
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/alpha/alpha.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index 3fc2796..43dabce 100644
--- a/gcc/config/alpha/alpha.h
+++ b/gcc/config/alpha/alpha.h
@@ -251,7 +251,8 @@ extern enum alpha_fp_trap_mode alpha_fptm;
N_("Emit 16-bit relocations to the small data areas")}, \
{"large-data", -MASK_SMALL_DATA, \
N_("Emit 32-bit relocations to the small data areas")}, \
- {"", TARGET_DEFAULT | TARGET_CPU_DEFAULT, ""} }
+ {"", TARGET_DEFAULT | TARGET_CPU_DEFAULT \
+ | TARGET_DEFAULT_EXPLICIT_RELOCS, ""} }
#define TARGET_DEFAULT MASK_FP|MASK_FPREGS
@@ -259,6 +260,14 @@ extern enum alpha_fp_trap_mode alpha_fptm;
#define TARGET_CPU_DEFAULT 0
#endif
+#ifndef TARGET_DEFAULT_EXPLICIT_RELOCS
+#ifdef HAVE_AS_EXPLICIT_RELOCS
+#define TARGET_DEFAULT_EXPLICIT_RELOCS MASK_EXPLICIT_RELOCS
+#else
+#define TARGET_DEFAULT_EXPLICIT_RELOCS 0
+#endif
+#endif
+
/* This macro is similar to `TARGET_SWITCHES' but defines names of
command options that have values. Its definition is an initializer
with a subgrouping for each command option.