Fix -fpic -a problems.

From-SVN: r8315
This commit is contained in:
Michael Meissner 1994-10-19 20:51:33 +00:00
parent a523d8009d
commit 05ca35c718

View File

@ -972,9 +972,15 @@ do \
\ \
ASM_GENERATE_INTERNAL_LABEL (counts, "LPBX", 2); \ ASM_GENERATE_INTERNAL_LABEL (counts, "LPBX", 2); \
cnt_rtx = gen_rtx (SYMBOL_REF, VOIDmode, counts); \ cnt_rtx = gen_rtx (SYMBOL_REF, VOIDmode, counts); \
CONSTANT_POOL_ADDRESS_P (cnt_rtx) = TRUE; \ SYMBOL_REF_FLAG (cnt_rtx) = TRUE; \
\ \
xops[0] = gen_rtx (MEM, SImode, plus_constant (cnt_rtx, (BLOCKNO)*4)); \ if (BLOCKNO) \
cnt_rtx = plus_constant (cnt_rtx, (BLOCKNO)*4); \
\
if (flag_pic) \
cnt_rtx = gen_rtx (PLUS, Pmode, pic_offset_table_rtx, cnt_rtx); \
\
xops[0] = gen_rtx (MEM, SImode, cnt_rtx); \
output_asm_insn (AS1(inc%L0,%0), xops); \ output_asm_insn (AS1(inc%L0,%0), xops); \
} \ } \
while (0) while (0)