aboutsummaryrefslogtreecommitdiff
path: root/gcc/stub-objc.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2007-04-12 17:10:56 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-04-12 17:10:56 +0000
commit14976818e723aedf177bdd090fdd3ecb246e908d (patch)
tree7c0f32335921253409500cfc13d9689ae349e3b6 /gcc/stub-objc.c
parent2f11881446ab72f0e85eedb8391ae47cd89d3244 (diff)
downloadgcc-14976818e723aedf177bdd090fdd3ecb246e908d.zip
gcc-14976818e723aedf177bdd090fdd3ecb246e908d.tar.gz
gcc-14976818e723aedf177bdd090fdd3ecb246e908d.tar.bz2
mips.h (TARGET_SPLIT_CALLS): Check TARGET_CALL_CLOBBERED_GP.
gcc/ * config/mips/mips.h (TARGET_SPLIT_CALLS): Check TARGET_CALL_CLOBBERED_GP. (TARGET_SIBCALLS): Check TARGET_USE_GOT instead of TARGET_ABICALLS. (TARGET_USE_GOT, TARGET_CALL_CLOBBERED_GP): New macros. (TARGET_CALL_SAVED_GP, TARGET_USE_PIC_FN_ADDR_REG): Likewise. (STARTING_FRAME_OFFSET): Check TARGET_CALL_CLOBBERED_GP instead of TARGET_ABICALLS && !TARGET_NEWABI. (MIPS_CALL): Check TARGET_USE_GOT instead of TARGET_ABICALLS. * config/mips/mips.c (mips_load_call_address): Check TARGET_CALL_SAVED_GP instead of TARGET_NEWABI. (mips_global_pointer): Check TARGET_USE_GOT instead of TARGET_ABICALLS. Check TARGET_CALL_SAVED_GP instead of TARGET_NEWABI. (mips_save_reg_p): Check TARGET_CALL_SAVED_GP instead of TARGET_ABICALLS && TARGET_NEWABI. (mips_current_loadgp_style): Check TARGET_USE_GOT instead of TARGET_ABICALLS. (mips_expand_prologue): Check TARGET_OLDABI instead of !TARGET_NEWABI. (mips_expand_epilogue): Check TARGET_CALL_SAVED_GP instead of TARGET_ABICALLS && TARGET_NEWABI. (mips_output_mi_thunk): Check TARGET_USE_GOT instead of TARGET_ABICALLS. Check TARGET_CALL_SAVED_GP instead of TARGET_NEWABI. Use TARGET_USE_PIC_FN_ADDR_REG to decide whether indirect calls must use $25. (mips_extra_live_on_entry): Check TARGET_GOT instead of TARGET_ABICALLS. * config/mips/mips.md (jal_macro): Check flag_pic and TARGET_CALL_CLOBBERED_GP instead of TARGET_ABICALLS and TARGET_NEWABI. (builtin_setjmp_setup, builtin_longjmp): Check TARGET_USE_GOT instead of TARGET_ABICALLS. (exception_receiver): Check TARGET_CALL_CLOBBERED_GP instead of TARGET_ABICALLS && TARGET_OLDABI. (load_call<mode>): Check TARGET_USE_GOT instead of TARGET_ABICALLS. (sibcall): In the comment above the define_insn, mention TARGET_USE_PIC_FN_ADDR_REG instead of TARGET_ABICALLS. * config/mips/constraints.md (c): Check TARGET_USE_PIC_FN_ADDR_REG instead of TARGET_ABICALLS. From-SVN: r123751
Diffstat (limited to 'gcc/stub-objc.c')
0 files changed, 0 insertions, 0 deletions