From: David S. Miller Date: Thu, 3 Sep 1998 01:02:22 +0000 (+0000) Subject: sparc.c (output_double_int): If V9 and MEDLOW... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=222a7e550cf31cd854032d106db6e426f4eee15f;p=gcc.git sparc.c (output_double_int): If V9 and MEDLOW... * config/sparc/sparc.c (output_double_int): If V9 and MEDLOW, do not assume top 32-bits of symbolic addresses are zero if flag_pic. From-SVN: r22202 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4109c4e3268..7519b871429 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Wed Sep 2 23:56:29 1998 David S. Miller + + * config/sparc/sparc.c (output_double_int): If V9 and MEDLOW, do + not assume top 32-bits of symbolic addresses are zero if + flag_pic. + Thu Sep 3 00:23:21 1998 Richard Henderson * ginclude/va-alpha.h: Protect entire second portion of the diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index c7ce12aa1bd..648569a34e5 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -5219,7 +5219,9 @@ output_double_int (file, value) || GET_CODE (value) == CODE_LABEL || GET_CODE (value) == MINUS))) { - if (!TARGET_V9 || TARGET_CM_MEDLOW) + if (! TARGET_V9 + || (TARGET_CM_MEDLOW + && ! flag_pic)) { ASM_OUTPUT_INT (file, const0_rtx); ASM_OUTPUT_INT (file, value);