projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2009-07-22 H.J. Lu <hongjiu.lu@intel.com>
[external/binutils.git]
/
ld
/
ldlang.c
diff --git
a/ld/ldlang.c
b/ld/ldlang.c
index
c10bbea
..
bc03374
100644
(file)
--- a/
ld/ldlang.c
+++ b/
ld/ldlang.c
@@
-1667,7
+1667,9
@@
insert_os_after (lang_output_section_statement_type *after)
{
asection *s = (*where)->output_section_statement.bfd_section;
- if (s == NULL || (s->flags & SEC_ALLOC) != 0)
+ if (s == NULL
+ || s->map_head.s == NULL
+ || (s->flags & SEC_ALLOC) != 0)
where = assign;
}
break;