aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-04-16 14:32:02 +0000
committerSteve Chamberlain <steve@cygnus>1991-04-16 14:32:02 +0000
commit070aa81923459dd32e158095f243e99b02bfb579 (patch)
tree86954be5f52ad8738d742493a8fb5f6cc4d0ab07 /ld/ldlang.c
parent6408afbac5660871c8ce3a6be951e78535346d14 (diff)
downloadgdb-070aa81923459dd32e158095f243e99b02bfb579.zip
gdb-070aa81923459dd32e158095f243e99b02bfb579.tar.gz
gdb-070aa81923459dd32e158095f243e99b02bfb579.tar.bz2
*** empty log message ***
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 55553fa..483472c 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -984,7 +984,9 @@ static void
DEFUN(print_input_statement,(statm),
lang_input_statement_type *statm)
{
- printf("LOAD %s\n",statm->filename);
+ if (statm->filename != (char *)NULL) {
+ printf("LOAD %s\n",statm->filename);
+ }
}
static void