|
From: Cyrill G. <gor...@gm...> - 2016-04-07 22:17:17
|
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)
*/
--
2.5.5
|