Files
ftmemsim-valgrind/coregrind/arm/Makefile.am
Nicholas Nethercote c40ff3902e Fix a couple of minor ARM things -- frame pointer is R11, it seems, and
programs get loaded at 0x00008000.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3122
2004-11-27 13:42:42 +00:00

30 lines
636 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
noinst_LIBRARIES = libarch.a
EXTRA_DIST = \
jmp_with_stack.c \
libpthread.c
BUILT_SOURCES = stage2.lds
CLEANFILES = stage2.lds
libarch_a_SOURCES = \
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/0x00008000/kickstart_base/g' > $@ || rm -f $@