Commit 687f77a1 by Nick Clifton Committed by Nick Clifton

Fix blunder made when applying patch to arm.h

From-SVN: r27121
parent 569c1d8b
Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
* config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
applying Philip's patch.
Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
* stmt.c (expand_end_bindings): Ignore any elements of VARS that
......
......@@ -2024,19 +2024,6 @@ extern struct rtx_def *arm_compare_op0, *arm_compare_op1;
GET_MODE_SIZE (output_memory_reference_mode)); \
} \
else output_addr_const (STREAM, X); \
\
/* Mark symbols as position independent. We only do this in the \
.text segment, not in the .data segment. */ \
if (NEED_PLT_GOT && flag_pic && making_const_table && \
(GET_CODE (X) == SYMBOL_REF || GET_CODE (X) == LABEL_REF)) \
{ \
if (GET_CODE (X) == SYMBOL_REF && CONSTANT_POOL_ADDRESS_P (X)) \
fprintf (STREAM, "(GOTOFF)"); \
else if (GET_CODE (X) == LABEL_REF) \
fprintf (STREAM, "(GOTOFF)"); \
else \
fprintf (STREAM, "(GOT)"); \
} \
}
/* Handles PIC addr specially */
......@@ -2050,6 +2037,19 @@ extern struct rtx_def *arm_compare_op0, *arm_compare_op1;
fputs (")", STREAM); \
} \
else output_addr_const (STREAM, X); \
\
/* Mark symbols as position independent. We only do this in the \
.text segment, not in the .data segment. */ \
if (NEED_PLT_GOT && flag_pic && making_const_table && \
(GET_CODE (X) == SYMBOL_REF || GET_CODE (X) == LABEL_REF)) \
{ \
if (GET_CODE (X) == SYMBOL_REF && CONSTANT_POOL_ADDRESS_P (X)) \
fprintf (STREAM, "(GOTOFF)"); \
else if (GET_CODE (X) == LABEL_REF) \
fprintf (STREAM, "(GOTOFF)"); \
else \
fprintf (STREAM, "(GOT)"); \
} \
}
/* Output code to add DELTA to the first argument, and then jump to FUNCTION.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment