* ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
This commit is contained in:
parent
4379f3ec45
commit
e50d6125d6
|
@ -1,3 +1,7 @@
|
|||
2009-05-26 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
|
||||
|
||||
2009-05-22 Julian Brown <julian@codesourcery.com>
|
||||
|
||||
* emultempl/armelf.em (fix_cortex_a8): New.
|
||||
|
|
|
@ -4498,7 +4498,9 @@ lang_check_section_addresses (void)
|
|||
for (s = link_info.output_bfd->sections; s != NULL; s = s->next)
|
||||
{
|
||||
/* Only consider loadable sections with real contents. */
|
||||
if ((s->flags & SEC_NEVER_LOAD) || !(s->flags & SEC_LOAD)
|
||||
if ((s->flags & SEC_NEVER_LOAD)
|
||||
|| !(s->flags & SEC_LOAD)
|
||||
|| !(s->flags & SEC_ALLOC)
|
||||
|| s->size == 0)
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue