diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-04-27 21:33:26 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-04-27 21:40:12 -0700 |
commit | f539a27245d31f4ba3c90389dce1f5f4d372bd27 (patch) | |
tree | 63ad429ff673c9c0febef165b0dc0e93c8adaee8 /subx/036global_variables.cc | |
parent | 62a71b89a88800c1966980db1b0ca01ef728c78e (diff) | |
download | mu-f539a27245d31f4ba3c90389dce1f5f4d372bd27.tar.gz |
5131
Rename '--map' to '--debug'.
Diffstat (limited to 'subx/036global_variables.cc')
-rw-r--r-- | subx/036global_variables.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<string, uint32 if (trace_contains_errors()) return; if (j > 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; |