sparc.c (output_double_int): If V9 and MEDLOW...
authorDavid S. Miller <davem@pierdol.cobaltmicro.com>
Thu, 3 Sep 1998 01:02:22 +0000 (01:02 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Thu, 3 Sep 1998 01:02:22 +0000 (18:02 -0700)
* 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

gcc/ChangeLog
gcc/config/sparc/sparc.c

index 4109c4e326892f94d4364c7f50b07695aab1c80b..7519b87142984522178019cb63d62f5e54208775 100644 (file)
@@ -1,3 +1,9 @@
+Wed Sep  2 23:56:29 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
+
+       * 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  <rth@cygnus.com>
 
        * ginclude/va-alpha.h: Protect entire second portion of the
index c7ce12aa1bd6114a54a25a909a5bd5b227b70d1c..648569a34e535045885049e5e998796f5d336965 100644 (file)
@@ -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);