From dd0a369ac1b6b21a2ea53e1ea012b05cbd6cf399 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Fri, 20 Jan 2017 10:33:00 -0500 Subject: [PATCH] generate full section header for ref-only sections --- zrdz_disassembler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zrdz_disassembler.cpp b/zrdz_disassembler.cpp index 2b83a67..3e0a016 100644 --- a/zrdz_disassembler.cpp +++ b/zrdz_disassembler.cpp @@ -91,10 +91,10 @@ void zrdz_disassembler::front_matter(const std::string &module) { if ((e.flags & SEC_REF_ONLY) == 0) continue; if (e.size == 0 && e.symbols.empty()) continue; - e.processed = true; print_section(e); print_globals(e.number); print_equs(e.number); + e.processed = true; if (e.org) emit("", ".org", to_x(e.org, 4, '$')); uint32_t pc = e.org;