Browse Source

PR 14072

* wrapper.c: Include config.h before system header files.

	* callback.c: Include config.h before system header files.
	* cgen-trace.c: Likewise.
	* cgen-utils.c: Likewise.
	* gentmap.c: Likewise.

	* sim-if.c: Include config.h before system header files.

	* compile.c: Include config.h before system header files.
	* sim-main.h: Likewise.

	* gdb-if.c: Include config.h before system header files.
	* load.c: Likewise.
	* syscalls.c: Likewise.
	* trace.c: Likewise.

	* interp.c: Include config.h before system header files.
cygwin-64bit-branch
Nick Clifton 14 years ago
parent
commit
a6ff997ce8
  1. 5
      sim/arm/ChangeLog
  2. 1
      sim/arm/wrapper.c
  3. 8
      sim/common/ChangeLog
  4. 1
      sim/common/callback.c
  5. 1
      sim/common/cgen-trace.c
  6. 1
      sim/common/cgen-utils.c
  7. 1
      sim/common/gentmap.c
  8. 5
      sim/cris/ChangeLog
  9. 1
      sim/cris/sim-if.c
  10. 6
      sim/h8300/ChangeLog
  11. 1
      sim/h8300/compile.c
  12. 1
      sim/h8300/sim-main.h
  13. 8
      sim/m32c/ChangeLog
  14. 2
      sim/m32c/gdb-if.c
  15. 2
      sim/m32c/load.c
  16. 2
      sim/m32c/syscalls.c
  17. 2
      sim/m32c/trace.c
  18. 5
      sim/mips/ChangeLog
  19. 1
      sim/mips/interp.c
  20. 5
      sim/sh64/ChangeLog
  21. 1
      sim/sh64/sim-if.c

5
sim/arm/ChangeLog

@ -1,3 +1,8 @@
2012-05-18 Nick Clifton <nickc@redhat.com>
PR 14072
* wrapper.c: Include config.h before system header files.
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.

1
sim/arm/wrapper.c

@ -21,6 +21,7 @@
run.c and gdb (when the simulator is linked with gdb).
All simulator interaction should go through this file. */
#include "config.h"
#include <stdio.h>
#include <stdarg.h>
#include <string.h>

8
sim/common/ChangeLog

@ -1,3 +1,11 @@
2012-05-18 Nick Clifton <nickc@redhat.com>
PR 14072
* callback.c: Include config.h before system header files.
* cgen-trace.c: Likewise.
* cgen-utils.c: Likewise.
* gentmap.c: Likewise.
2012-04-02 Mike Frysinger <vapier@gentoo.org>
* hw-ports.c (hw_port_decode): Change "Unreconized" to "Unrecognized".

1
sim/common/callback.c

@ -24,6 +24,7 @@
#ifdef HAVE_CONFIG_H
#include "cconfig.h"
#endif
#include "config.h"
#include "ansidecl.h"
#include <stdarg.h>
#include <stdio.h>

1
sim/common/cgen-trace.c

@ -17,6 +17,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "config.h"
#include <errno.h>
#include "dis-asm.h"
#include "bfd.h"

1
sim/common/cgen-utils.c

@ -17,6 +17,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "config.h"
#include "bfd.h"
#include "sim-main.h"
#include "dis-asm.h"

1
sim/common/gentmap.c

@ -66,6 +66,7 @@ gen_targ_map_c ()
printf ("/* Target value mapping utilities needed by the simulator and gdb. */\n");
printf ("/* This file is machine generated by gentmap.c. */\n\n");
printf ("#include \"config.h\"\n");
printf ("#include <errno.h>\n");
printf ("#include <fcntl.h>\n");
printf ("#include \"ansidecl.h\"\n");

5
sim/cris/ChangeLog

@ -1,3 +1,8 @@
2012-05-18 Nick Clifton <nickc@redhat.com>
PR 14072
* sim-if.c: Include config.h before system header files.
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.

1
sim/cris/sim-if.c

@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Based on the fr30 file, mixing in bits from the i960 and pruning of
dead code. */
#include "config.h"
#include "libiberty.h"
#include "bfd.h"
#include "elf-bfd.h"

6
sim/h8300/ChangeLog

@ -1,3 +1,9 @@
2012-05-18 Nick Clifton <nickc@redhat.com>
PR 14072
* compile.c: Include config.h before system header files.
* sim-main.h: Likewise.
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.

1
sim/h8300/compile.c

@ -17,6 +17,7 @@
* AND FITNESS FOR A PARTICULAR PURPOSE.
*/
#include "config.h"
#include <signal.h>
#ifdef HAVE_TIME_H
#include <time.h>

1
sim/h8300/sim-main.h

@ -1,5 +1,6 @@
/* Main header for the Hitachi h8/300 architecture. */
#include "config.h"
#include "bfd.h"
#ifndef SIM_MAIN_H

8
sim/m32c/ChangeLog

@ -1,3 +1,11 @@
2012-05-18 Nick Clifton <nickc@redhat.com>
PR 14072
* gdb-if.c: Include config.h before system header files.
* load.c: Likewise.
* syscalls.c: Likewise.
* trace.c: Likewise.
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.

2
sim/m32c/gdb-if.c

@ -18,7 +18,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "config.h"
#include <stdio.h>
#include <assert.h>
#include <signal.h>

2
sim/m32c/load.c

@ -18,7 +18,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

2
sim/m32c/syscalls.c

@ -18,7 +18,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>

2
sim/m32c/trace.c

@ -18,7 +18,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "config.h"
#include <stdio.h>
#include <stdarg.h>
#include <string.h>

5
sim/mips/ChangeLog

@ -1,3 +1,8 @@
2012-05-18 Nick Clifton <nickc@redhat.com>
PR 14072
* interp.c: Include config.h before system header files.
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.

1
sim/mips/interp.c

@ -29,6 +29,7 @@ code on the hardware.
#define TRACE (1)
#endif
#include "config.h"
#include "bfd.h"
#include "sim-main.h"
#include "sim-utils.h"

5
sim/sh64/ChangeLog

@ -1,3 +1,8 @@
2012-05-18 Nick Clifton <nickc@redhat.com>
PR 14072
* interp.c: Include config.h before system header files.
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.

1
sim/sh64/sim-if.c

@ -17,6 +17,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "config.h"
#include "libiberty.h"
#include "bfd.h"
#include "sim-main.h"

Loading…
Cancel
Save