diff options
author | Nick Clifton <nickc@redhat.com> | 2012-05-19 16:46:16 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2012-05-19 16:46:16 +0000 |
commit | a6ff997ce8307ea4be649d4e8de0c07d21048a30 (patch) | |
tree | 64064d6f1b0e3ebff2d0f0bea09a8201f91370d7 /sim | |
parent | f06b801f6696ae159044d9aca903224f929a0e4f (diff) | |
download | binutils-gdb-a6ff997ce8307ea4be649d4e8de0c07d21048a30.tar.gz |
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.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/arm/ChangeLog | 5 | ||||
-rw-r--r-- | sim/arm/wrapper.c | 1 | ||||
-rw-r--r-- | sim/common/ChangeLog | 8 | ||||
-rw-r--r-- | sim/common/callback.c | 1 | ||||
-rw-r--r-- | sim/common/cgen-trace.c | 1 | ||||
-rw-r--r-- | sim/common/cgen-utils.c | 1 | ||||
-rw-r--r-- | sim/common/gentmap.c | 1 | ||||
-rw-r--r-- | sim/cris/ChangeLog | 5 | ||||
-rw-r--r-- | sim/cris/sim-if.c | 1 | ||||
-rw-r--r-- | sim/h8300/ChangeLog | 6 | ||||
-rw-r--r-- | sim/h8300/compile.c | 1 | ||||
-rw-r--r-- | sim/h8300/sim-main.h | 1 | ||||
-rw-r--r-- | sim/m32c/ChangeLog | 8 | ||||
-rw-r--r-- | sim/m32c/gdb-if.c | 2 | ||||
-rw-r--r-- | sim/m32c/load.c | 2 | ||||
-rw-r--r-- | sim/m32c/syscalls.c | 2 | ||||
-rw-r--r-- | sim/m32c/trace.c | 2 | ||||
-rw-r--r-- | sim/mips/ChangeLog | 5 | ||||
-rw-r--r-- | sim/mips/interp.c | 1 | ||||
-rw-r--r-- | sim/sh64/ChangeLog | 5 | ||||
-rw-r--r-- | sim/sh64/sim-if.c | 1 |
21 files changed, 56 insertions, 4 deletions
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index d18225352c1..68cd1a4463f 100644 --- a/sim/arm/ChangeLog +++ b/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. diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c index 3f185f0c31c..1c55f7514f1 100644 --- a/sim/arm/wrapper.c +++ b/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> diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index c4b95cf62f8..71af5ac42ec 100644 --- a/sim/common/ChangeLog +++ b/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". diff --git a/sim/common/callback.c b/sim/common/callback.c index 8a2abd0f5c7..77794894649 100644 --- a/sim/common/callback.c +++ b/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> diff --git a/sim/common/cgen-trace.c b/sim/common/cgen-trace.c index ea71ecf7250..754038dc7f3 100644 --- a/sim/common/cgen-trace.c +++ b/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" diff --git a/sim/common/cgen-utils.c b/sim/common/cgen-utils.c index 2c84c5aeec1..daeb1815078 100644 --- a/sim/common/cgen-utils.c +++ b/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" diff --git a/sim/common/gentmap.c b/sim/common/gentmap.c index a4d37134c98..7efc6d3b863 100644 --- a/sim/common/gentmap.c +++ b/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"); diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog index a261be2a1de..3f538ecc5fb 100644 --- a/sim/cris/ChangeLog +++ b/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. diff --git a/sim/cris/sim-if.c b/sim/cris/sim-if.c index 56f8d42012a..19999e2fdd4 100644 --- a/sim/cris/sim-if.c +++ b/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" diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog index 8865a79feb2..2aaf0fbf2a8 100644 --- a/sim/h8300/ChangeLog +++ b/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. diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c index 7b4a5fad31c..13d5caefc28 100644 --- a/sim/h8300/compile.c +++ b/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> diff --git a/sim/h8300/sim-main.h b/sim/h8300/sim-main.h index 65cc9995dc9..964388ac560 100644 --- a/sim/h8300/sim-main.h +++ b/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 diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog index 45b91e17f63..899657b3b25 100644 --- a/sim/m32c/ChangeLog +++ b/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. diff --git a/sim/m32c/gdb-if.c b/sim/m32c/gdb-if.c index c18f0c7a755..863fcf405fc 100644 --- a/sim/m32c/gdb-if.c +++ b/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> diff --git a/sim/m32c/load.c b/sim/m32c/load.c index 8b3545caea1..8050d657e49 100644 --- a/sim/m32c/load.c +++ b/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> diff --git a/sim/m32c/syscalls.c b/sim/m32c/syscalls.c index c5a72c111f6..82658ad4027 100644 --- a/sim/m32c/syscalls.c +++ b/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> diff --git a/sim/m32c/trace.c b/sim/m32c/trace.c index 4b2b386a273..64084edb3d8 100644 --- a/sim/m32c/trace.c +++ b/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> diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index c4f1b1b2688..c74038a7018 100644 --- a/sim/mips/ChangeLog +++ b/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. diff --git a/sim/mips/interp.c b/sim/mips/interp.c index edd4250e22c..032570a9045 100644 --- a/sim/mips/interp.c +++ b/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" diff --git a/sim/sh64/ChangeLog b/sim/sh64/ChangeLog index dfbf0537c7c..50e0c1643f9 100644 --- a/sim/sh64/ChangeLog +++ b/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. diff --git a/sim/sh64/sim-if.c b/sim/sh64/sim-if.c index f9982bded14..bb988caae25 100644 --- a/sim/sh64/sim-if.c +++ b/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" |