From f539a27245d31f4ba3c90389dce1f5f4d372bd27 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 27 Apr 2019 21:33:26 -0700 Subject: 5131 Rename '--map' to '--debug'. --- subx/036global_variables.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'subx/036global_variables.cc') diff --git a/subx/036global_variables.cc b/subx/036global_variables.cc index 846cd291..fffabf72 100644 --- a/subx/036global_variables.cc +++ b/subx/036global_variables.cc @@ -54,8 +54,8 @@ void compute_addresses_for_global_variables(const segment& s, map 0) raise << "'" << to_string(inst) << "': global variable names can only be the first word in a line.\n" << end(); - if (Map_file.is_open()) - Map_file << "0x" << HEXWORD << current_address << ' ' << variable << '\n'; + if (Labels_file.is_open()) + Labels_file << "0x" << HEXWORD << current_address << ' ' << variable << '\n'; if (contains_key(address, variable)) { raise << "duplicate global '" << variable << "'\n" << end(); return; -- cgit 1.4.1-2-gfad0