aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-02-11 20:21:52 +0000
committerSteve Chamberlain <sac@cygnus>1992-02-11 20:21:52 +0000
commitdcde00c429c1d7cb9c6ece3e7e76c11de66d8a5e (patch)
treeab685a7c8d72f1691291f002cb2a284c48b8c534 /ld/ldlang.c
parentd68f75c44d26738885919fbf1754833dbc3600a4 (diff)
downloadgdb-dcde00c429c1d7cb9c6ece3e7e76c11de66d8a5e.zip
gdb-dcde00c429c1d7cb9c6ece3e7e76c11de66d8a5e.tar.gz
gdb-dcde00c429c1d7cb9c6ece3e7e76c11de66d8a5e.tar.bz2
ldlang.c: now won't core dump with -M
configure.in: add configure target for vxworks960
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index a268cbc..f44cd18 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -995,6 +995,7 @@ DEFUN(print_assignment,(assignment, output_section),
}
print_space();
exp_print_tree(assignment->exp);
+
fprintf(config.map_file, "\n");
}
@@ -1240,7 +1241,8 @@ static void
DEFUN_VOID(print_statements)
{
print_statement(statement_list.head,
- (lang_output_section_statement_type *)NULL);
+ abs_output_section);
+
}
static bfd_vma