diff options
author | David S. Miller <davem@pierdol.cobaltmicro.com> | 1998-09-03 01:02:22 +0000 |
---|---|---|
committer | David S. Miller <davem@gcc.gnu.org> | 1998-09-02 18:02:22 -0700 |
commit | 222a7e550cf31cd854032d106db6e426f4eee15f (patch) | |
tree | b61dc933ec9ccb6e7f995d454c82243505b9976b /gcc | |
parent | 9335570d9c02bda0e9f1aae6414d00bd5303f090 (diff) | |
download | gcc-222a7e550cf31cd854032d106db6e426f4eee15f.zip gcc-222a7e550cf31cd854032d106db6e426f4eee15f.tar.gz gcc-222a7e550cf31cd854032d106db6e426f4eee15f.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.c | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4109c4e..7519b87 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index c7ce12a..648569a 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); |