From: Richard Kenner Date: Fri, 22 Sep 1995 22:50:27 +0000 (-0400) Subject: (ASM_OUTPUT_INT): Test for whether the integer being output is also a X-Git-Tag: misc/cutover-egcs-0~3569 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1e5b2303241086a79bf7e3db7082a0cb6d72c6de;p=thirdparty%2Fgcc.git (ASM_OUTPUT_INT): Test for whether the integer being output is also a constant so &sym - &sym2 is not fixed up. From-SVN: r10395 --- diff --git a/gcc/config/rs6000/eabi.h b/gcc/config/rs6000/eabi.h index c244843c7b13..0f8bdb5ead4f 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; \