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. * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here. From-SVN: r52161
This commit is contained in:
parent
3135284bfb
commit
1a05e8743e
|
@ -1,3 +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.
|
||||
|
||||
* t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
|
||||
|
||||
2002-04-10 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* except.c (add_ehl_entry): Allow duplicates after landing pad
|
||||
|
|
|
@ -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))
|
||||
|
@ -936,7 +937,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