cris.c (cris_override_options): Tweak error message for PIC not implemented.
* config/cris/cris.c (cris_override_options): Tweak error message for PIC not implemented. * config/cris/cris.h: Tweak comments related to parameter-passing. * config/cris/t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here. From-SVN: r52162
This commit is contained in:
parent
b99f20ca20
commit
6c1b90c492
|
@ -1,5 +1,12 @@
|
|||
2002-04-11 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* config/cris/cris.c (cris_override_options): Tweak error message
|
||||
for PIC not implemented.
|
||||
|
||||
* config/cris/cris.h: Tweak comments related to parameter-passing.
|
||||
|
||||
* config/cris/t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
|
||||
|
||||
* config/cris/cris.c (cris_target_asm_function_prologue): Cast
|
||||
uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
|
||||
(cris_target_asm_function_epilogue): Ditto.
|
||||
|
|
|
@ -2541,7 +2541,7 @@ cris_override_options ()
|
|||
further errors. */
|
||||
if (! TARGET_LINUX)
|
||||
{
|
||||
error ("-fPIC not supported in this configuration");
|
||||
error ("-fPIC and -fpic are not supported in this configuration");
|
||||
flag_pic = 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -67,6 +67,7 @@ Boston, MA 02111-1307, USA. */
|
|||
#define CRIS_PLT_GOTOFFSET_SUFFIX ":PLTG"
|
||||
#define CRIS_PLT_PCOFFSET_SUFFIX ":PLT"
|
||||
|
||||
/* If you tweak this, don't forget to check cris_expand_builtin_va_arg. */
|
||||
#define CRIS_FUNCTION_ARG_SIZE(MODE, TYPE) \
|
||||
((MODE) != BLKmode ? GET_MODE_SIZE (MODE) \
|
||||
: (unsigned) int_size_in_bytes (TYPE))
|
||||
|
@ -942,7 +943,8 @@ enum reg_class {NO_REGS, ALL_REGS, LIM_REG_CLASSES};
|
|||
? 1 : 0)
|
||||
|
||||
/* Structs may be passed by value, but they must not be more than 8
|
||||
bytes long. */
|
||||
bytes long. If you tweak this, don't forget to adjust
|
||||
cris_expand_builtin_va_arg. */
|
||||
#define FUNCTION_ARG_PASS_BY_REFERENCE(CUM, MODE, TYPE, NAMED) \
|
||||
(MUST_PASS_IN_STACK (MODE, TYPE) \
|
||||
|| CRIS_FUNCTION_ARG_SIZE (MODE, TYPE) > 8) \
|
||||
|
|
|
@ -39,5 +39,3 @@ $(LIB2FUNCS_EXTRA): $(CRIS_LIB1CSRC)
|
|||
echo "#define L$$name" > tmp-$@ \
|
||||
&& echo '#include "$<"' >> tmp-$@ \
|
||||
&& mv -f tmp-$@ $@
|
||||
|
||||
TARGET_LIBGCC2_CFLAGS = -Dinhibit_libc
|
||||
|
|
Loading…
Reference in New Issue