Commit d6cdca958e00c476998a37d50885085a072d90bd

Authored by bellard
1 parent efdea7bf

alpha support - ia64 support


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@117 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 16 additions and 0 deletions
Makefile
... ... @@ -29,6 +29,18 @@ OP_CFLAGS=$(CFLAGS)
29 29 LDFLAGS+=-Wl,-T,s390.ld
30 30 endif
31 31  
  32 +ifeq ($(ARCH),alpha)
  33 +# Ensure there's only a single GP
  34 +CFLAGS += -msmall-data -msmall-text
  35 +# FIXME Too lazy to deal with gprelhigh/gprellow for now, inhibit them
  36 +OP_CFLAGS=$(CFLAGS) -mno-explicit-relocs
  37 +LDFLAGS+=-Wl,-T,alpha.ld
  38 +endif
  39 +
  40 +ifeq ($(ARCH),ia64)
  41 +OP_CFLAGS=$(CFLAGS)
  42 +endif
  43 +
32 44 ifeq ($(GCC_MAJOR),3)
33 45 # very important to generate a return at the end of every operation
34 46 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
53 65 # NOTE: the disassembler code is only needed for debugging
54 66 LIBOBJS+=disas.o ppc-dis.o i386-dis.o dis-buf.o
55 67  
  68 +ifeq ($(ARCH),ia64)
  69 +OBJS += ia64-syscall.o
  70 +endif
  71 +
56 72 all: qemu qemu-doc.html
57 73  
58 74 qemu: $(OBJS)
... ...