aboutsummaryrefslogtreecommitdiff
path: root/gcc/genemit.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2007-04-12 17:59:57 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-04-12 17:59:57 +0000
commit8cb6400cdaea428d965f6a22b39e4b7d2acff880 (patch)
tree905585bca2c720af915424497af8aba3029dbcbd /gcc/genemit.c
parentf28d806256a9b8741f42997649561121cff6ba23 (diff)
downloadgcc-8cb6400cdaea428d965f6a22b39e4b7d2acff880.zip
gcc-8cb6400cdaea428d965f6a22b39e4b7d2acff880.tar.gz
gcc-8cb6400cdaea428d965f6a22b39e4b7d2acff880.tar.bz2
Makefile.in (insn-emit.o): Depend on $(INTEGRATE_H).
gcc/ * Makefile.in (insn-emit.o): Depend on $(INTEGRATE_H). * genemit.c (main): Emit #include "integrate.h". * config/mips/mips-protos.h (SYMBOL_HALF): New mips_symbol_type. (LOADGP_RTP): New mips_loadgp_style. * config/mips/mips.h: Include config/vxworks-dummy.h. (TARGET_RTP_PIC): New macro. (TARGET_USE_GOT): Return true for TARGET_RTP_PIC. (TARGET_USE_PIC_FN_ADDR_REG): Return true for TARGET_VXWORKS_RTP. (ASM_OUTPUT_ADDR_DIFF_ELT): Emit function-relative case tables for TARGET_RTP_PIC. * config/mips/vxworks.h (SUBTARGET_ASM_SPEC): Define. Pass down -mvxworks-pic when using -mrtp and a PIC option. * config/mips/mips.c (mips_classify_symbol): Return SYMBOL_GOT_DISP for RTP PIC. (mips_symbolic_constant_p, mips_symbolic_address_p) (mips_symbol_insns): Handle SYMBOL_HALF. (override_options): Warn about -G and -mrtp being used together. Initialize mips_lo_relocs[SYMBOL_HALF]. (mips_current_loadgp_style): Return LOADGP_RTP for RTP PIC. (mips_emit_loadgp): Handle LOADGP_RTP. (mips_in_small_data_p): Return false for TARGET_VXWORKS_RTP. * config/mips/mips.md (loadgp_rtp): New insn and splitter. (tablejump): Handle function-relative case table entries if TARGET_RTP_PIC. * config/mips/predicates.md (symbol_ref_operand): New predicate. From-SVN: r123757
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r--gcc/genemit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c
index a367f46..64fb312 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -857,6 +857,7 @@ from the machine description file `md'. */\n\n");
printf ("#include \"tm-constrs.h\"\n");
printf ("#include \"ggc.h\"\n\n");
printf ("#include \"basic-block.h\"\n\n");
+ printf ("#include \"integrate.h\"\n\n");
printf ("#define FAIL return (end_sequence (), _val)\n");
printf ("#define DONE return (_val = get_insns (), end_sequence (), _val)\n\n");