From 1d70c9b963b272aea21c7661c009d8f3782798d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Henrik=20Sk=C3=A5rstedt?= Date: Sun, 13 Dec 2020 22:43:53 +0100 Subject: [PATCH] Allow code to be compiled in "zero page" --- x65.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x65.cpp b/x65.cpp index b579adb..e74fea3 100644 --- a/x65.cpp +++ b/x65.cpp @@ -2487,7 +2487,7 @@ uint8_t* Asm::BuildExport(strref append, int &file_size, int &addr) { (!i->include_from && allSections[first_link_section].include_from))))) first_link_section = SectionId(*i); has_relative_section = true; - } else if (i->start_address >= 0x100 && ( i->size() > 0 || i->addr_size() > 0 ) ) { + } else if (i->size() > 0 || i->addr_size() > 0) { has_fixed_section = true; bool inserted = false; for (std::vector::iterator f = FixedExport.begin(); f != FixedExport.end(); ++f) {