summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-06-24 14:29:00 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-06-24 14:29:00 -0700
commit67222ab2f96d1bd29566b3452f1a003d0641609a (patch)
tree5ad2ae24337e8b46a422d41c44eff84f449ae434
parent0f5e3cc4056b81191beb266753daeef85d141d4b (diff)
downloadsyslinux-67222ab2f96d1bd29566b3452f1a003d0641609a.tar.gz
core: generate DWARF debugging info from NASM
NASM 2.03 or higher can generate DWARF debugging info, which is also what gcc produces. Mixing debugging info seems to cause a lot of problems. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--core/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Makefile b/core/Makefile
index df3310ed..6a374cc6 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -53,7 +53,7 @@ LIB = libcore.a
LIBS = $(LIB) $(com32)/lib/libcom32.a $(LIBGCC)
LIBOBJS = $(COBJ) $(SOBJ)
-NASMDEBUG = -g -F stabs
+NASMDEBUG = -g -F dwarf
NASMOPT += $(NASMDEBUG)
PREPCORE = ../lzo/prepcore