aboutsummaryrefslogtreecommitdiff
path: root/ld/ldwrite.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-01-24 23:44:10 +0000
committerSteve Chamberlain <sac@cygnus>1992-01-24 23:44:10 +0000
commitac5939079f3281f51bb37834c872827938c479c6 (patch)
treebee9ad9d42d591895adc367424b4b21b560818fe /ld/ldwrite.c
parent92abd4a713cc1405295280dab1e5c1e58c99b2d2 (diff)
downloadgdb-ac5939079f3281f51bb37834c872827938c479c6.zip
gdb-ac5939079f3281f51bb37834c872827938c479c6.tar.gz
gdb-ac5939079f3281f51bb37834c872827938c479c6.tar.bz2
Now compiles with gcc too.
Diffstat (limited to 'ld/ldwrite.c')
-rw-r--r--ld/ldwrite.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ld/ldwrite.c b/ld/ldwrite.c
index 0f545d0..fc7759f 100644
--- a/ld/ldwrite.c
+++ b/ld/ldwrite.c
@@ -387,8 +387,7 @@ DEFUN_VOID(write_rel)
}
void
-DEFUN(ldwrite, (write_map),
- boolean write_map)
+DEFUN_VOID(ldwrite)
{
data_area = (PTR) ldmalloc(largest_section);
if (config.relocateable_output == true)
@@ -404,9 +403,9 @@ DEFUN(ldwrite, (write_map),
/* Print a map, if requested. */
- if (write_map) {
+ if (config.map_file) {
ldsym_print_symbol_table ();
- lang_map(stdout);
+ lang_map();
}
ldsym_write ();