aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-02-26 19:01:50 +0000
committerIan Lance Taylor <ian@airs.com>1994-02-26 19:01:50 +0000
commitb495c3144236b906e6afed82b2507449bd962038 (patch)
tree619347975f062c2ff10cae60ad770e82c0a47e60 /ld/ldlang.c
parentc768aaa7c34f137ae65f544590ed6e6062db8593 (diff)
downloadgdb-b495c3144236b906e6afed82b2507449bd962038.zip
gdb-b495c3144236b906e6afed82b2507449bd962038.tar.gz
gdb-b495c3144236b906e6afed82b2507449bd962038.tar.bz2
* ldmain.c (write_map): Don't define. Removed all references.
Just use map_file or map_filename instead. (add_archive_element): Use minfo to write map information, not info_msg. (constructor_callback): Use fprintf to write map information, not info_msg. * ldmain.h (write_map): Don't declare. * ldgram.y (mri_script_command): Removed reference to write_map. * ldlang.c (lang_one_common): Likewise. * lexsup.c (parse_args): Likewise.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 468898c..5e628b8 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -2144,7 +2144,7 @@ lang_one_common (h, info)
/* Increase the size of the section. */
section->_raw_size += size;
- if (write_map && config.map_file != NULL)
+ if (config.map_file != NULL)
fprintf (config.map_file, "Allocating common %s: %lx at %lx %s\n",
h->root.string, (unsigned long) size,
(unsigned long) h->u.def.value, section->owner->filename);