mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-09 05:10:23 +00:00
- no longer using home-grown linker - simply compiling and linking switchback.c with test_xxx.c - updated to handle ppc64 (along with it's weirdo function descriptors...) - have to be careful not to use exported functions from libvex_arch_linux.a, hence vex_printf -> vexxx_printf in test_xxx.c git-svn-id: svn://svn.valgrind.org/vex/trunk@1490
11 lines
293 B
Makefile
11 lines
293 B
Makefile
|
|
all: switchback.c linker.c linker.h
|
|
gcc -m64 -Wall -O -g -o switchback switchback.c linker.c ../libvex_ppc64_linux.a
|
|
# gcc -Wall -O -g -o switchback switchback.c linker.c ../libvex.a
|
|
|
|
test_ppc:
|
|
gcc -Wall -m64 -mregnames -O -c test_ppc_jm1.c
|
|
|
|
clean:
|
|
rm -f switchback switchback.o linker.o
|