mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-04-06 14:21:43 +08:00
sim: replace -I$srcroot/opcodes include with -I$srcroot
Clean up includes a bit by making ports include opcodes/ headers explicitly. This matches other projects, and makes it more clear where these headers are coming from.
This commit is contained in:
parent
3002e78a7d
commit
60a1031181
@ -20,8 +20,8 @@
|
||||
#define SIM_MAIN_H
|
||||
|
||||
#include "sim-basics.h"
|
||||
#include "bpf-desc.h"
|
||||
#include "bpf-opc.h"
|
||||
#include "opcodes/bpf-desc.h"
|
||||
#include "opcodes/bpf-opc.h"
|
||||
#include "arch.h"
|
||||
#include "sim-base.h"
|
||||
#include "cgen-sim.h"
|
||||
|
@ -119,7 +119,7 @@ CONFIG_CFLAGS = \
|
||||
CSEARCH = -I. -I$(srcdir) -I$(srccom) \
|
||||
-I$(srcroot)/include \
|
||||
-I../../bfd -I$(srcroot)/bfd \
|
||||
-I$(srcroot)/opcodes \
|
||||
-I$(srcroot) \
|
||||
-I../..
|
||||
ALL_CFLAGS = $(CONFIG_CFLAGS) $(CSEARCH) $(INCGNU) $(SIM_EXTRA_CFLAGS) $(CFLAGS)
|
||||
BUILD_CFLAGS = $(CFLAGS_FOR_BUILD) $(CSEARCH)
|
||||
|
@ -30,8 +30,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#define WITH_SCACHE_PBB 1
|
||||
|
||||
#include "sim-basics.h"
|
||||
#include "cris-desc.h"
|
||||
#include "cris-opc.h"
|
||||
#include "opcodes/cris-desc.h"
|
||||
#include "opcodes/cris-opc.h"
|
||||
#include "arch.h"
|
||||
#include "sim-base.h"
|
||||
#include "cgen-sim.h"
|
||||
|
@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#ifndef PROFILE_H
|
||||
#define PROFILE_H
|
||||
|
||||
#include "frv-desc.h"
|
||||
#include "opcodes/frv-desc.h"
|
||||
|
||||
/* This struct defines the state of profiling. All fields are of general
|
||||
use to all machines. */
|
||||
|
@ -28,9 +28,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#define WITH_SCACHE_PBB 0
|
||||
|
||||
#include "sim-basics.h"
|
||||
#include "frv-desc.h"
|
||||
#include "opcodes/frv-desc.h"
|
||||
#include <stdbool.h>
|
||||
#include "frv-opc.h"
|
||||
#include "opcodes/frv-opc.h"
|
||||
#include "arch.h"
|
||||
|
||||
#define SIM_ENGINE_HALT_HOOK(SD, LAST_CPU, CIA) \
|
||||
|
@ -10,8 +10,8 @@
|
||||
#define WITH_SCACHE_PBB 1
|
||||
|
||||
#include "sim-basics.h"
|
||||
#include "iq2000-desc.h"
|
||||
#include "iq2000-opc.h"
|
||||
#include "opcodes/iq2000-desc.h"
|
||||
#include "opcodes/iq2000-opc.h"
|
||||
#include "arch.h"
|
||||
|
||||
/* Pull in IQ2000_{DATA,INSN}_{MASK,VALUE}. */
|
||||
|
@ -26,8 +26,8 @@
|
||||
#define WITH_SCACHE_PBB 1
|
||||
|
||||
#include "sim-basics.h"
|
||||
#include "lm32-desc.h"
|
||||
#include "lm32-opc.h"
|
||||
#include "opcodes/lm32-desc.h"
|
||||
#include "opcodes/lm32-opc.h"
|
||||
#include "arch.h"
|
||||
#include "sim-base.h"
|
||||
#include "cgen-sim.h"
|
||||
|
@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "bfd.h"
|
||||
#include "dis-asm.h"
|
||||
#include "m32c-desc.h"
|
||||
#include "opcodes/m32c-desc.h"
|
||||
|
||||
#include "cpu.h"
|
||||
#include "mem.h"
|
||||
|
@ -9,8 +9,8 @@
|
||||
#define WITH_SCACHE_PBB 1
|
||||
|
||||
#include "sim-basics.h"
|
||||
#include "m32r-desc.h"
|
||||
#include "m32r-opc.h"
|
||||
#include "opcodes/m32r-desc.h"
|
||||
#include "opcodes/m32r-opc.h"
|
||||
#include "arch.h"
|
||||
#include "sim-base.h"
|
||||
#include "cgen-sim.h"
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include "sim-syscall.h"
|
||||
|
||||
#include "microblaze-sim.h"
|
||||
#include "microblaze-dis.h"
|
||||
#include "opcodes/microblaze-dis.h"
|
||||
|
||||
#define target_big_endian (CURRENT_TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
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 "../../opcodes/microblaze-opcm.h"
|
||||
#include "opcodes/microblaze-opcm.h"
|
||||
|
||||
#define GET_RD ((inst & RD_MASK) >> RD_LOW)
|
||||
#define GET_RA ((inst & RA_MASK) >> RA_LOW)
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
#define WITH_SCACHE_PBB 1
|
||||
|
||||
#include "or1k-desc.h"
|
||||
#include "or1k-opc.h"
|
||||
#include "opcodes/or1k-desc.h"
|
||||
#include "opcodes/or1k-opc.h"
|
||||
#include "sim-basics.h"
|
||||
#include "arch.h"
|
||||
#include "sim-base.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user