Patchwork RFA: Fix bootstrap/44512 (1/2)

login
register
mail settings
Submitter Joern Rennecke
Date June 17, 2010, 2:06 p.m.
Message ID <20100617100655.ce16ojoy4g4w0ws0-nzlynne@webmail.spamcop.net>
Download mbox | patch
Permalink /patch/56050/
State New
Headers show

Comments

Joern Rennecke - June 17, 2010, 2:06 p.m.
This fixes the unspecv_strings name mangling issue.
bootstrapped and regtested in trunk revision 160890.
2010-06-13  Joern Rennecke  <joern.rennecke@embecosm.com>

	PR bootstrap/44512
	* genenums.c (main): Output include of insn-constants.h
	* Makefile.in (insn-enums.o): Depend on insn-constants.h.

Patch

Index: genenums.c
===================================================================
--- genenums.c	(revision 160890)
+++ genenums.c	(working copy)
@@ -56,6 +56,7 @@  main (int argc, char **argv)
   puts ("   from the machine description file.  */\n");
   puts ("#include \"config.h\"\n");
   puts ("#include \"system.h\"\n");
+  puts ("#include \"insn-constants.h\"\n");
 
   traverse_enum_types (print_enum_type, 0);
 
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 160890)
+++ Makefile.in	(working copy)
@@ -3536,7 +3536,7 @@  insn-emit.o : insn-emit.c $(CONFIG_H) $(
   dfp.h $(FLAGS_H) output.h insn-config.h hard-reg-set.h $(RECOG_H)	\
   $(RESOURCE_H) reload.h $(TOPLEV_H) $(REGS_H) tm-constrs.h $(GGC_H)	\
   $(BASIC_BLOCK_H) $(INTEGRATE_H)
-insn-enums.o : insn-enums.c $(CONFIG_H) $(SYSTEM_H)
+insn-enums.o : insn-enums.c $(CONFIG_H) $(SYSTEM_H) insn-constants.h
 insn-extract.o : insn-extract.c $(CONFIG_H) $(SYSTEM_H) coretypes.h	\
   $(TM_H) $(RTL_H) $(TOPLEV_H) insn-config.h $(RECOG_H)
 insn-modes.o : insn-modes.c $(CONFIG_H) $(SYSTEM_H) coretypes.h	$(TM_H) \