aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Borgerson <contact@mborgerson.com>2019-12-17 19:47:47 -0700
committerMatt Borgerson <contact@mborgerson.com>2019-12-17 19:47:47 -0700
commit77eb93ce4eaf9667e1261fa7be0a9e9f8cc4d949 (patch)
tree98752e56525f9978d033beaf38f1c1471cd5e09b
parentaf1a586beb952808238834a4d65531936a97f0de (diff)
Rename x86 dir to arch_x86
-rw-r--r--Makefile4
-rw-r--r--arch_x86/gdbstub_int.nasm (renamed from x86/gdbstub_int.nasm)0
-rw-r--r--arch_x86/gdbstub_sys.c (renamed from x86/gdbstub_sys.c)0
-rw-r--r--arch_x86/gdbstub_sys.h (renamed from x86/gdbstub_sys.h)0
4 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c447411..e956044 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@
# SOFTWARE.
#
-ARCH := x86
+ARCH := arch_x86
# Include a simple demo that can be debugged
INCLUDE_DEMO = 1
@@ -38,7 +38,7 @@ BASE_ADDRESS = 0x500000
OBJECTS = gdbstub_rsp.o \
$(ARCH)/gdbstub_sys.o
-ifeq ($(ARCH),x86)
+ifeq ($(ARCH),arch_x86)
CFLAGS += -m32
LDFLAGS += -m elf_i386
OBJECTS += $(ARCH)/gdbstub_int.o
diff --git a/x86/gdbstub_int.nasm b/arch_x86/gdbstub_int.nasm
index 2495971..2495971 100644
--- a/x86/gdbstub_int.nasm
+++ b/arch_x86/gdbstub_int.nasm
diff --git a/x86/gdbstub_sys.c b/arch_x86/gdbstub_sys.c
index a73bc52..a73bc52 100644
--- a/x86/gdbstub_sys.c
+++ b/arch_x86/gdbstub_sys.c
diff --git a/x86/gdbstub_sys.h b/arch_x86/gdbstub_sys.h
index 82f7ca9..82f7ca9 100644
--- a/x86/gdbstub_sys.h
+++ b/arch_x86/gdbstub_sys.h