aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-04-29 21:24:00 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-04-29 21:24:00 +0000
commitd6cdca958e00c476998a37d50885085a072d90bd (patch)
treed2ddee9f0e65a892ec8bb334a15fd0742c507202 /Makefile
parentefdea7bf193bb5f00737022f8a6efeab3e4d5ff4 (diff)
alpha support - ia64 support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@117 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9008dc95b6..49f26fcf69 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,18 @@ OP_CFLAGS=$(CFLAGS)
LDFLAGS+=-Wl,-T,s390.ld
endif
+ifeq ($(ARCH),alpha)
+# Ensure there's only a single GP
+CFLAGS += -msmall-data -msmall-text
+# FIXME Too lazy to deal with gprelhigh/gprellow for now, inhibit them
+OP_CFLAGS=$(CFLAGS) -mno-explicit-relocs
+LDFLAGS+=-Wl,-T,alpha.ld
+endif
+
+ifeq ($(ARCH),ia64)
+OP_CFLAGS=$(CFLAGS)
+endif
+
ifeq ($(GCC_MAJOR),3)
# very important to generate a return at the end of every operation
OP_CFLAGS+=-fno-reorder-blocks -fno-optimize-sibling-calls
@@ -53,6 +65,10 @@ LIBOBJS+=thunk.o translate-i386.o op-i386.o exec-i386.o
# NOTE: the disassembler code is only needed for debugging
LIBOBJS+=disas.o ppc-dis.o i386-dis.o dis-buf.o
+ifeq ($(ARCH),ia64)
+OBJS += ia64-syscall.o
+endif
+
all: qemu qemu-doc.html
qemu: $(OBJS)