diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-09-22 18:50:27 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-09-22 18:50:27 -0400 |
commit | 1e5b2303241086a79bf7e3db7082a0cb6d72c6de (patch) | |
tree | 641ad08ffd58ebe67d6089602e8944b0ddc894c3 /gcc | |
parent | f0c2404219afc7da27a8ea70e8b1a4c51320b033 (diff) | |
download | gcc-1e5b2303241086a79bf7e3db7082a0cb6d72c6de.zip gcc-1e5b2303241086a79bf7e3db7082a0cb6d72c6de.tar.gz gcc-1e5b2303241086a79bf7e3db7082a0cb6d72c6de.tar.bz2 |
(ASM_OUTPUT_INT): Test for whether the integer being output is also a
constant so &sym - &sym2 is not fixed up.
From-SVN: r10395
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/rs6000/eabi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/rs6000/eabi.h b/gcc/config/rs6000/eabi.h index c244843..0f8bdb5 100644 --- a/gcc/config/rs6000/eabi.h +++ b/gcc/config/rs6000/eabi.h @@ -96,7 +96,8 @@ do { \ && in_section != in_dtors \ && !recurse \ && GET_CODE (VALUE) != CONST_INT \ - && GET_CODE (VALUE) != CONST_DOUBLE) \ + && GET_CODE (VALUE) != CONST_DOUBLE \ + && CONSTANT_P (VALUE)) \ { \ static int labelno = 0; \ char buf[256], *p; \ |