mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 12:35:55 +08:00
sim: cgen: move cgen-types.h include to cgen-defs.h
The cgen-types.h header sets up types that are needed by cgen-defs.h, so move the include out of sim-main.h and to that header. It might be needed in other specific modules, but for now let's kick it out of sim-main.h to make some progress. Things still build with just this.
This commit is contained in:
parent
a4c4d804d6
commit
d9e217e950
@ -20,7 +20,6 @@
|
||||
#define SIM_MAIN_H
|
||||
|
||||
#include "sim-basics.h"
|
||||
#include "cgen-types.h"
|
||||
#include "bpf-desc.h"
|
||||
#include "bpf-opc.h"
|
||||
#include "arch.h"
|
||||
|
@ -20,6 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#ifndef CGEN_DEFS_H
|
||||
#define CGEN_DEFS_H
|
||||
|
||||
#include "cgen-types.h"
|
||||
|
||||
/* Compute number of longs required to hold N bits. */
|
||||
#define HOST_LONGS_FOR_BITS(n) \
|
||||
(((n) + sizeof (long) * 8 - 1) / sizeof (long) * 8)
|
||||
|
@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "symcat.h"
|
||||
#include "sim-basics.h"
|
||||
#include "cgen-types.h"
|
||||
#include "cris-desc.h"
|
||||
#include "cris-opc.h"
|
||||
#include "arch.h"
|
||||
|
@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "symcat.h"
|
||||
#include "sim-basics.h"
|
||||
#include "cgen-types.h"
|
||||
#include "frv-desc.h"
|
||||
#include <stdbool.h>
|
||||
#include "frv-opc.h"
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
#include "symcat.h"
|
||||
#include "sim-basics.h"
|
||||
#include "cgen-types.h"
|
||||
#include "iq2000-desc.h"
|
||||
#include "iq2000-opc.h"
|
||||
#include "arch.h"
|
||||
|
@ -27,7 +27,6 @@
|
||||
|
||||
#include "symcat.h"
|
||||
#include "sim-basics.h"
|
||||
#include "cgen-types.h"
|
||||
#include "lm32-desc.h"
|
||||
#include "lm32-opc.h"
|
||||
#include "arch.h"
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#include "symcat.h"
|
||||
#include "sim-basics.h"
|
||||
#include "cgen-types.h"
|
||||
#include "m32r-desc.h"
|
||||
#include "m32r-opc.h"
|
||||
#include "arch.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "or1k-desc.h"
|
||||
#include "or1k-opc.h"
|
||||
#include "sim-basics.h"
|
||||
#include "cgen-types.h"
|
||||
#include "arch.h"
|
||||
#include "sim-base.h"
|
||||
#include "sim-fpu.h"
|
||||
|
Loading…
Reference in New Issue
Block a user