From: nasm-bot f. C. G. <gor...@gm...> - 2016-04-21 06:18:24
|
Commit-ID: 5941092b061e1823f2d3953ddb7e850d495854d0 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=5941092b061e1823f2d3953ddb7e850d495854d0 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 13 Mar 2016 22:47:36 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Mon, 11 Apr 2016 00:07:14 +0300 out: Elf64, Elfx32 -- Drop useless DEBUG We rather need a trace engine. Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- output/outelf64.c | 11 ----------- output/outelfx32.c | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/output/outelf64.c b/output/outelf64.c index 460dc01..91d50e8 100644 --- a/output/outelf64.c +++ b/output/outelf64.c @@ -667,17 +667,6 @@ static void elf_out(int32_t segto, const void *data, int i; static struct symlininfo sinfo; -#if defined(DEBUG) && DEBUG>2 - if (data) - nasm_error(ERR_DEBUG, - " elf_out line: %d type: %x seg: %"PRIx32" segto: %"PRIx32" bytes: %"PRIx64" data: %"PRIx64"\n", - currentline, type, segment, segto, size, *(int64_t *)data); - else - nasm_error(ERR_DEBUG, - " elf_out line: %d type: %x seg: %"PRIx32" segto: %"PRIx32" bytes: %"PRIx64"\n", - currentline, type, segment, segto, size); -#endif - /* * handle absolute-assembly (structure definitions) */ diff --git a/output/outelfx32.c b/output/outelfx32.c index ed1a99e..b5f62a6 100644 --- a/output/outelfx32.c +++ b/output/outelfx32.c @@ -668,17 +668,6 @@ static void elf_out(int32_t segto, const void *data, int i; static struct symlininfo sinfo; -#if defined(DEBUG) && DEBUG>2 - if (data) - nasm_error(ERR_DEBUG, - " elf_out line: %d type: %x seg: %"PRIx32" segto: %"PRIx32" bytes: %"PRIx64" data: %"PRIx64"\n", - currentline, type, segment, segto, size, *(int64_t *)data); - else - nasm_error(ERR_DEBUG, - " elf_out line: %d type: %x seg: %"PRIx32" segto: %"PRIx32" bytes: %"PRIx64"\n", - currentline, type, segment, segto, size); -#endif - /* * handle absolute-assembly (structure definitions) */ |