[ECOS] Bug in eCos tools linker.

Sergei Organov osv@javad.ru
Sat Dec 26 20:56:00 GMT 1998


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.



More information about the Ecos-discuss mailing list