From 1e5b2303241086a79bf7e3db7082a0cb6d72c6de Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 22 Sep 1995 18:50:27 -0400 Subject: [PATCH] (ASM_OUTPUT_INT): Test for whether the integer being output is also a constant so &sym - &sym2 is not fixed up. From-SVN: r10395 --- gcc/config/rs6000/eabi.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; \ -- 2.47.2