aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.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/ldmain.c
parent92abd4a713cc1405295280dab1e5c1e58c99b2d2 (diff)
downloadgdb-ac5939079f3281f51bb37834c872827938c479c6.zip
gdb-ac5939079f3281f51bb37834c872827938c479c6.tar.gz
gdb-ac5939079f3281f51bb37834c872827938c479c6.tar.bz2
Now compiles with gcc too.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index a83385e..d9380b5 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -219,13 +219,13 @@ main (argc, argv)
if (config.relocateable_output) {
output_bfd->flags &= ~EXEC_P;
- ldwrite(write_map);
+ ldwrite();
bfd_close(output_bfd);
}
else {
output_bfd->flags |= EXEC_P;
- ldwrite(write_map);
+ ldwrite();
if (config.make_executable == false && force_make_executable ==false) {