aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2018-11-02 08:51:04 +0000
committerRainer Orth <ro@gcc.gnu.org>2018-11-02 08:51:04 +0000
commit97f5962a05625a25ff4bfb35e261e810d5c0381c (patch)
tree3db457b82241402dbd522071d2e321d793a94133 /gcc/config
parentac67752d795a9d1289c8e893946dc3b6b3a87057 (diff)
downloadgcc-97f5962a05625a25ff4bfb35e261e810d5c0381c.zip
gcc-97f5962a05625a25ff4bfb35e261e810d5c0381c.tar.gz
gcc-97f5962a05625a25ff4bfb35e261e810d5c0381c.tar.bz2
Remove SPARC HAVE_AS_REGISTER_PSEUDO_OP
* configure.ac (gcc_cv_as_sparc_register_op): Remove. * configure: Regenerate. * config.in: Regenerate. * config/sparc/sparc.c (sparc_output_scratch_registers): Remove HAVE_AS_REGISTER_PSEUDO_OP guard. * config/sparc/sparc.h (ASM_ARCH64_SPEC): Remove !HAVE_AS_REGISTER_PSEUDO_OP support. (ASM_DECLARE_REGISTER_GLOBAL): Remove HAVE_AS_REGISTER_PSEUDO_OP guard. From-SVN: r265743
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/sparc/sparc.c2
-rw-r--r--gcc/config/sparc/sparc.h7
2 files changed, 0 insertions, 9 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c
index 23e356c..8d982d2 100644
--- a/gcc/config/sparc/sparc.c
+++ b/gcc/config/sparc/sparc.c
@@ -5583,7 +5583,6 @@ sparc_initial_elimination_offset (int to)
void
sparc_output_scratch_registers (FILE *file ATTRIBUTE_UNUSED)
{
-#ifdef HAVE_AS_REGISTER_PSEUDO_OP
int i;
if (TARGET_ARCH32)
@@ -5604,7 +5603,6 @@ sparc_output_scratch_registers (FILE *file ATTRIBUTE_UNUSED)
}
if (i == 3) i = 5;
}
-#endif
}
#define PROBE_INTERVAL (1 << STACK_CHECK_PROBE_INTERVAL_EXP)
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index 8c15e2a..e8d5d2a 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -365,11 +365,7 @@ extern enum cmodel sparc_cmodel;
This is what GAS uses. Add %(asm_arch) to ASM_SPEC to enable. */
#define ASM_ARCH32_SPEC "-32"
-#ifdef HAVE_AS_REGISTER_PSEUDO_OP
#define ASM_ARCH64_SPEC "-64 -no-undeclared-regs"
-#else
-#define ASM_ARCH64_SPEC "-64"
-#endif
#define ASM_ARCH_DEFAULT_SPEC \
(DEFAULT_ARCH32_P ? ASM_ARCH32_SPEC : ASM_ARCH64_SPEC)
@@ -1197,7 +1193,6 @@ init_cumulative_args (& (CUM), (FNTYPE), (LIBNAME), (FNDECL));
extern GTY(()) char sparc_hard_reg_printed[8];
-#ifdef HAVE_AS_REGISTER_PSEUDO_OP
#define ASM_DECLARE_REGISTER_GLOBAL(FILE, DECL, REGNO, NAME) \
do { \
if (TARGET_ARCH64) \
@@ -1216,8 +1211,6 @@ do { \
} \
} \
} while (0)
-#endif
-
/* Emit rtl for profiling. */
#define PROFILE_HOOK(LABEL) sparc_profile_hook (LABEL)