This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project. See the eCos home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

[ECOS] Bug in eCos tools linker.



Hello;

I found bug in the 'ld' provided in the eCos tools distribution
(in 'bfd' actually). The follwing command causes Segmentation fault
(file rtems.o is attached):

$ ppc-rtems-ld -r rtems.o -o test.rel

The patch attached fixes the problem (at least for me).

The problem is that 'bfd_get_section_by_name(dynobj, ...)' is called
with zero 'dynobj', I believe.

Regards,
Sergei Organov.

elf32-ppc.diff

rtems.o