aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgram.y
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r--ld/ldgram.y7
1 files changed, 2 insertions, 5 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y
index d342da1..039a07d 100644
--- a/ld/ldgram.y
+++ b/ld/ldgram.y
@@ -193,11 +193,8 @@ command_line_option:
}
| OPTION_M {
- if (write_map) {
- option_longmap = true;
- }
- write_map = true;
-
+ config.map_filename = "-";
+
}
| OPTION_n {
config.magic_demand_paged = false;