pa.h (SELECT_RTX_SECTION): Place symbolic operands into the data section.

* pa.h (SELECT_RTX_SECTION): Place symbolic operands into the
        data section.

From-SVN: r14235
This commit is contained in:
Jeff Law 1997-06-13 11:58:30 -06:00
parent 8102715466
commit 8e64b41ac2
2 changed files with 8 additions and 8 deletions

View File

@ -1251,7 +1251,7 @@ emit_move_sequence (operands, mode, scratch_reg)
&& GET_CODE (XEXP (operand1, 0)) == PLUS
&& function_label_operand (XEXP (XEXP (operand1, 0), 0), Pmode))
{
rtx scratch_reg, temp, const_part;
rtx temp, const_part;
/* Figure out what (if any) scratch register to use. */
if (reload_in_progress || reload_completed)

View File

@ -1664,13 +1664,13 @@ while (0)
else \
data_section ();
/* Arghh. This is used for stuff in the constant pool; this may include
function addresses on the PA, which during PIC code generation must
reside in the data space. Unfortunately, there's no way to determine
if a particular label in the constant pool refers to a function address.
So just force everything into the data space during PIC generation. */
#define SELECT_RTX_SECTION(RTX,MODE) \
if (flag_pic) \
/* Arghh. The hpux10 linker chokes if we have a reference to symbols
in a readonly data section when the symbol is defined in a shared
library. Since we can't know at compile time if a symbol will be
satisfied by a shared library or main program we put any symbolic
constant into the normal data section. */
#define SELECT_RTX_SECTION(MODE,RTX) \
if (symbolic_operand (RTX, MODE)) \
data_section (); \
else \
readonly_data_section ();