summaryrefslogtreecommitdiff
path: root/gcc/genemit.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-12 17:59:57 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-12 17:59:57 +0000
commita8a393cb0158c06dce628abc98308b357965f3b4 (patch)
tree905585bca2c720af915424497af8aba3029dbcbd /gcc/genemit.c
parentd1b79aba888acdc18d77fd0b9e09327c2f73d9c9 (diff)
downloadgcc-a8a393cb0158c06dce628abc98308b357965f3b4.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123757 138bc75d-0d04-0410-961f-82ee72b054a4
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 a367f46a8cc..64fb312f609 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");