2001-07-14 H.J. Lu <hjl@gnu.org>
* emultempl/elf32.em (output_prev_sec_find): Never return bfd_abs_section_ptr, bfd_com_section_ptr nor bfd_und_section_ptr.
This commit is contained in:
parent
dfa249fb26
commit
5030876b5d
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2001-07-14 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
|
* emultempl/elf32.em (output_prev_sec_find): Never return
|
||||||
|
bfd_abs_section_ptr, bfd_com_section_ptr nor
|
||||||
|
bfd_und_section_ptr.
|
||||||
|
|
||||||
2001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
|
2001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
|
||||||
|
|
||||||
* Makefile.am (em32relf.c): Chnage dependencu from generic.em to
|
* Makefile.am (em32relf.c): Chnage dependencu from generic.em to
|
||||||
|
|
|
@ -1024,7 +1024,10 @@ output_prev_sec_find (os)
|
||||||
lookup = &u->output_section_statement;
|
lookup = &u->output_section_statement;
|
||||||
if (lookup == os)
|
if (lookup == os)
|
||||||
break;
|
break;
|
||||||
if (lookup->bfd_section != NULL)
|
if (lookup->bfd_section != NULL
|
||||||
|
&& lookup->bfd_section != bfd_abs_section_ptr
|
||||||
|
&& lookup->bfd_section != bfd_com_section_ptr
|
||||||
|
&& lookup->bfd_section != bfd_und_section_ptr)
|
||||||
s = lookup->bfd_section;
|
s = lookup->bfd_section;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue