diff options
author | H. Peter Anvin <hpa@zytor.com> | 2019-08-10 02:30:29 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2019-08-10 02:30:29 -0700 |
commit | 14b16442ce951942f13756cdb5d44c1fe4f3e98f (patch) | |
tree | 6b0273ac66bb5c752ab72cde2f8d232664280274 /output | |
parent | 9084beb1bb7e985e3d954081e15b4d469047f1b0 (diff) | |
download | nasm-14b16442ce951942f13756cdb5d44c1fe4f3e98f.tar.gz |
outelf: change debug format default to dwarf
DWARF is by far the predominant format on ELF platforms these
days. Catch up with the times.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'output')
-rw-r--r-- | output/outelf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/output/outelf.c b/output/outelf.c index e8d55f8b..948636a6 100644 --- a/output/outelf.c +++ b/output/outelf.c @@ -2392,7 +2392,7 @@ const struct ofmt of_elf32 = { 0, 32, elf32_debugs_arr, - &elf32_df_stabs, + &elf32_df_dwarf, elf_stdmac, elf32_init, null_reset, @@ -2444,7 +2444,7 @@ const struct ofmt of_elf64 = { 0, 64, elf64_debugs_arr, - &elf64_df_stabs, + &elf64_df_dwarf, elf_stdmac, elf64_init, null_reset, @@ -2496,7 +2496,7 @@ const struct ofmt of_elfx32 = { 0, 64, elfx32_debugs_arr, - &elfx32_df_stabs, + &elfx32_df_dwarf, elf_stdmac, elfx32_init, null_reset, |