diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-05-11 12:25:45 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-05-11 12:25:45 +0000 |
commit | a993ba85cf50932cca8d697e2d45145fb21afafe (patch) | |
tree | ca2dc079d63db82e58ca492d27cd3ab2a23063cf /Makefile | |
parent | 226c91327d1eebf9a70b670830c181a46c6c454b (diff) | |
download | hqemu-a993ba85cf50932cca8d697e2d45145fb21afafe.zip hqemu-a993ba85cf50932cca8d697e2d45145fb21afafe.tar.gz |
alpha disas (Falk Hueffner)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@155 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -30,10 +30,11 @@ LDFLAGS+=-Wl,-T,s390.ld endif ifeq ($(ARCH),alpha) +# -msmall-data is not used because we want two-instruction relocations +# for the constant constructions +OP_CFLAGS=-Wall -O2 -g # 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 @@ -63,7 +64,7 @@ OBJS+= libqemu.a 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 +LIBOBJS+=disas.o ppc-dis.o i386-dis.o alpha-dis.o dis-buf.o ifeq ($(ARCH),ia64) OBJS += ia64-syscall.o @@ -73,6 +74,11 @@ all: qemu qemu-doc.html qemu: $(OBJS) $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) +ifeq ($(ARCH),alpha) +# Mark as 32 bit binary, i. e. it will be mapped into the low 31 bit of +# the address space (31 bit so sign extending doesn't matter) + echo -ne '\001\000\000\000' | dd of=qemu bs=1 seek=48 count=4 conv=notrunc +endif depend: $(SRCS) $(CC) -MM $(CFLAGS) $^ 1>.depend |