2009-07-22 H.J. Lu <hongjiu.lu@intel.com>

PR ld/10429
	* ldlang.c (insert_os_after): Tie assignments to non-alloc
	output sections if there is no-input section.
This commit is contained in:
H.J. Lu 2009-07-23 00:08:22 +00:00
parent dbd964eb7c
commit 249b2a84f4
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2009-07-22 H.J. Lu <hongjiu.lu@intel.com>
PR ld/10429
* ldlang.c (insert_os_after): Tie assignments to non-alloc
output sections if there is no-input section.
2009-07-11 Alan Modra <amodra@bigpond.net.au>
* ldlang.c (insert_os_after): Don't tie assignments to non-alloc
@ -14,7 +20,7 @@
2009-07-06 Matthias Klose <doko@ubuntu.com>
* ld.texinfo: Fix typo.
* ld.texinfo: Fix typo.
2009-07-03 Tristan Gingold <gingold@adacore.com>
@ -457,7 +463,7 @@
* configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
2009-03-14 Dave Korn <dave.korn.cygwin@gmail.com>
Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith <dannysmith@users.sourceforge.net>
* emultmpl/pe.em (pe_dll_characteristics): New variable.
(OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,

View File

@ -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;