aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@pierdol.cobaltmicro.com>1998-09-04 03:08:42 +0000
committerDavid S. Miller <davem@gcc.gnu.org>1998-09-03 20:08:42 -0700
commitf3b8847be03867b52159b27295b4c8f26d7e7b48 (patch)
tree888ea1f6b814eda9e1fe1a78baa3a071cf958513 /gcc
parent1a408d072445bf265b5253db191c6a8bb8cc241d (diff)
downloadgcc-f3b8847be03867b52159b27295b4c8f26d7e7b48.zip
gcc-f3b8847be03867b52159b27295b4c8f26d7e7b48.tar.gz
gcc-f3b8847be03867b52159b27295b4c8f26d7e7b48.tar.bz2
sparc.c (output_double_int): In all V9 symbolic cases, use xword.
* config/sparc/sparc.c (output_double_int): In all V9 symbolic cases, use xword. (sparc_output_deferred_case_vectors): If no work to do, return. Fix thinko in Sept 1 change. From-SVN: r22231
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/sparc/sparc.c10
2 files changed, 13 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b604e0d..f11cd17 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+Fri Sep 4 02:01:05 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
+
+ * config/sparc/sparc.c (output_double_int): In all V9 symbolic
+ cases, use xword.
+ (sparc_output_deferred_case_vectors): If no work to do, return.
+ Fix thinko in Sept 1 change.
+
1998-09-03 SL Baur <steve@altair.xemacs.org>
* Makefile.in: add semicolon in BISON definition for portability.
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c
index 648569a..ee1f8ef 100644
--- a/gcc/config/sparc/sparc.c
+++ b/gcc/config/sparc/sparc.c
@@ -5219,9 +5219,7 @@ output_double_int (file, value)
|| GET_CODE (value) == CODE_LABEL
|| GET_CODE (value) == MINUS)))
{
- if (! TARGET_V9
- || (TARGET_CM_MEDLOW
- && ! flag_pic))
+ if (! TARGET_V9)
{
ASM_OUTPUT_INT (file, const0_rtx);
ASM_OUTPUT_INT (file, value);
@@ -7243,12 +7241,16 @@ sparc_output_deferred_case_vectors ()
rtx t;
int align;
+ if (sparc_addr_list == NULL_RTX
+ && sparc_addr_diff_list == NULL_RTX)
+ return;
+
/* Align to cache line in the function's code section. */
function_section (current_function_decl);
align = floor_log2 (FUNCTION_BOUNDARY / BITS_PER_UNIT);
if (align > 0)
- ASM_OUTPUT_ALIGN (asm_out_file, 5);
+ ASM_OUTPUT_ALIGN (asm_out_file, align);
for (t = sparc_addr_list; t ; t = XEXP (t, 1))
sparc_output_addr_vec (XEXP (t, 0));