* 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.
This commit is contained in:
Ian Lance Taylor 1994-02-26 19:01:50 +00:00
parent c768aaa7c3
commit b495c31442
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,16 @@
Sat Feb 26 10:58:25 1994 Ian Lance Taylor (ian@cygnus.com)
* 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.
Fri Feb 25 19:12:03 1994 Ian Lance Taylor (ian@cygnus.com)
* scripttempl/elf.sc: Force all sections to be aligned.

View File

@ -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);