diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-06-19 18:42:30 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-06-19 18:42:30 +0000 |
commit | 8d64d0fdcac27d9aa914bfef11b31e7c0180a360 (patch) | |
tree | 4819cbe255a37040a065cfb4b7752ec3c3bf7b25 /sim/ppc/gen-support.c | |
parent | 815ddb50514b0e325f21fde39f3fac3c1d081af7 (diff) | |
download | gdb-8d64d0fdcac27d9aa914bfef11b31e7c0180a360.zip gdb-8d64d0fdcac27d9aa914bfef11b31e7c0180a360.tar.gz gdb-8d64d0fdcac27d9aa914bfef11b31e7c0180a360.tar.bz2 |
2003-06-19 Andrew Cagney <cagney@redhat.com>
* Makefile.in (ICACHE_CFLAGS, SEMANTICS_CFLAGS): Delete.
(SIM_FPU_FLAGS): Define.
(icache.o): Delete explicit compile command.
(semantics.o, idecode.o): Delete explicit compile command.
(NOWARN_CFLAGS, STD_CFLAGS): Append SIM_FPU_CFLAGS.
* gen-support.c (gen_support_c): Generate #include of
"sim-inline.h" and "sim-fpu.h", but conditional on
HAVE_COMMON_FPU.
* gen-idecode.c (gen_idecode_c): Ditto.
* igen.c (gen_icache_c, gen_semantics_c): Wrap #include of
"sim-inline.h" and "sim-fpu.h" in HAVE_COMMON_FPU conditional.
Move to before "support.h".
* Makefile.in, gen-support.c, gen-idecode.c, igen.c: Update
copyright.
Diffstat (limited to 'sim/ppc/gen-support.c')
-rw-r--r-- | sim/ppc/gen-support.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sim/ppc/gen-support.c b/sim/ppc/gen-support.c index d3067c3..ed02d7d 100644 --- a/sim/ppc/gen-support.c +++ b/sim/ppc/gen-support.c @@ -1,6 +1,6 @@ /* This file is part of the program psim. - Copyright (C) 1994-1995, Andrew Cagney <cagney@highland.com.au> + Copyright 1994, 1995, 2003 Andrew Cagney This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -122,6 +122,10 @@ gen_support_c(insn_table *table, { lf_printf(file, "#include \"cpu.h\"\n"); lf_printf(file, "#include \"idecode.h\"\n"); + lf_printf(file, "#ifdef HAVE_COMMON_FPU\n"); + lf_printf(file, "#include \"sim-inline.h\"\n"); + lf_printf(file, "#include \"sim-fpu.h\"\n"); + lf_printf(file, "#endif\n"); lf_printf(file, "#include \"support.h\"\n"); lf_printf(file, "\n"); |