Files
ftmemsim-valgrind/coregrind/amd64/Makefile.am
Nicholas Nethercote 244787cc7f Get AMD64 slightly further before dying:
- implemented VG_(do_syscall)()
- fixed a problem in ume.c with mapping when loading, which was causing
  stage2's memory to be trashed
- fixed stage2.lds substitution so stage2 goes in the right address



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3156
2004-11-30 11:40:24 +00:00

34 lines
700 B
Makefile

include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -O -fomit-frame-pointer -g
noinst_HEADERS = \
core_arch.h \
core_arch_asm.h \
amd64_private.h \
amd64_private_asm.h
noinst_LIBRARIES = libarch.a
EXTRA_DIST = \
jmp_with_stack.c \
libpthread.c
BUILT_SOURCES = stage2.lds
CLEANFILES = stage2.lds
libarch_a_SOURCES = \
cpuid.S \
helpers.S \
dispatch.S \
signals.c \
state.c
# Extract ld's default linker script and hack it to our needs
stage2.lds: Makefile
$(CC) -Wl,--verbose -nostdlib 2>&1 | sed \
-e '1,/^=====\+$$/d' \
-e '/^=====\+$$/d' \
-e 's/0x400000/kickstart_base/g' > $@ || rm -f $@