diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-10-17 23:03:04 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-17 23:03:54 -0700 |
commit | 9d8b57d08131b91652220e8c8bf3c0d56090aea7 (patch) | |
tree | 6267b54a15395e96e33ed84cb7a56b2d61b66ba7 /test/Makefile | |
parent | 8218572d5ed33d4d581133fbf34fc6249ca29ba9 (diff) | |
download | nasm-9d8b57d08131b91652220e8c8bf3c0d56090aea7.tar.gz nasm-9d8b57d08131b91652220e8c8bf3c0d56090aea7.tar.bz2 nasm-9d8b57d08131b91652220e8c8bf3c0d56090aea7.zip |
test/Makefile: enable debugging info for elftest/elftest64
Enable debugging information for the ELF tests.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Makefile b/test/Makefile index c32d9d0..357b9ba 100644 --- a/test/Makefile +++ b/test/Makefile @@ -46,24 +46,24 @@ spotless: clean # Test for ELF32 shared libraries; assumes an x86 Linux system # elfso.o: elfso.asm $(NASM) - $(NASM) $(NASMOPT) -f elf32 -o $@ -l $*.lst $< + $(NASM) $(NASMOPT) -f elf32 -F stabs -o $@ -l $*.lst $< elfso.so: elfso.o $(LD) -m elf_i386 -shared -o $@ $< elftest: elftest.c elfso.so - $(CC) -m32 -o $@ $^ - env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH ./elftest + $(CC) -g -m32 -o $@ $^ + -env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH ./elftest # # Test for ELF64 shared libraries; assumes an x86-64 Linux system # elf64so.o: elf64so.asm $(NASM) - $(NASM) $(NASMOPT) -f elf64 -o $@ -l $*.lst $< + $(NASM) $(NASMOPT) -f elf64 -F dwarf -o $@ -l $*.lst $< elf64so.so: elf64so.o $(LD) -shared -o $@ $< elftest64: elftest64.c elf64so.so - $(CC) -o $@ $^ - env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH ./elftest64 + $(CC) -g -o $@ $^ + -env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH ./elftest64 |