diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-06-05 16:24:28 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-06-05 16:24:28 -0700 |
commit | 5e37e2e7f7688ab57635e123bf67646bfa2b74e0 (patch) | |
tree | f5f956669333bdd55d6cb66bbfe4d7e471665c7d | |
parent | 358c97d21f892e910ce9fcd6a6613ea6fa556211 (diff) | |
parent | 7accd1ccacae0c43250a80d55072efc44af555d6 (diff) | |
download | nasm-5e37e2e7f7688ab57635e123bf67646bfa2b74e0.tar.gz nasm-5e37e2e7f7688ab57635e123bf67646bfa2b74e0.tar.bz2 nasm-5e37e2e7f7688ab57635e123bf67646bfa2b74e0.zip |
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/nasm
-rw-r--r-- | output/outelf32.c | 2 | ||||
-rw-r--r-- | output/outelf64.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/output/outelf32.c b/output/outelf32.c index 491b9ae..63762b1 100644 --- a/output/outelf32.c +++ b/output/outelf32.c @@ -1185,7 +1185,7 @@ static void elf_write(void) /* for dwarf debugging information, create the ten dwarf sections */ /* this function call creates the dwarf sections in memory */ - dwarf32_generate(); + if (dwarf_fsect) dwarf32_generate(); p += strlen(p) + 1; elf_section_header(p - shstrtab, SHT_PROGBITS, 0, arangesbuf, false, diff --git a/output/outelf64.c b/output/outelf64.c index e7abba6..3811a03 100644 --- a/output/outelf64.c +++ b/output/outelf64.c @@ -1216,7 +1216,7 @@ static void elf_write(void) /* for dwarf debugging information, create the ten dwarf sections */ /* this function call creates the dwarf sections in memory */ - dwarf64_generate(); + if (dwarf_fsect) dwarf64_generate(); p += strlen(p) + 1; elf_section_header(p - shstrtab, SHT_PROGBITS, 0, arangesbuf, false, |