copyobj problem

I need to import obj files in COFF format to my project. Linker don’t
understand COFF. When I use copyobj utility to convers from COFF
to ELF32 there is an error:

Not supported allocation table

and copyobj generate memory fault exeption.

Can someone help me? RTP 6.1 A

Hi Alex,
COFF can include relocable sections as well as non-relocable fields. Are you sure your COFF file
consists of relocable sections only (relocation information can be stripped from the file). Also I
worked with two versions of COFF format (version 0 and version 1) and I’m not sure those files are
quite standard COFF without TMS specific :wink: If your COFF is not a very big, you could send it me.
I’ll look at it thru my own COFF parser, maybe I’ll also have coredump :wink: I’m not sure I can
really help you, thought.
Cheers,
Eduard.

Alex Timofeev <vchc@mail.ru> wrote in article <a6332c$lu4$1@inn.qnx.com>…

I need to import obj files in COFF format to my project. Linker don’t
understand COFF. When I use copyobj utility to convers from COFF
to ELF32 there is an error:

Not supported allocation table

and copyobj generate memory fault exeption.

Can someone help me? RTP 6.1 A

\

I think the problem is not here. You can convert elf32 to COFF with copyobj
and then try reverse operation and get same error and core dump. It seems
there is a bug in copyobj.

Hi Alex,
COFF can include relocable sections as well as non-relocable fields. Are
you sure your COFF file
consists of relocable sections only (relocation information can be
stripped from the file). Also I
worked with two versions of COFF format (version 0 and version 1) and I’m
not sure those files are
quite standard COFF without TMS specific > :wink: > If your COFF is not a very
big, you could send it me.
I’ll look at it thru my own COFF parser, maybe I’ll also have coredump > :wink:
I’m not sure I can
really help you, thought.
Cheers,
Eduard.

Alex Timofeev <> vchc@mail.ru> > wrote in article
a6332c$lu4$> 1@inn.qnx.com> >…
I need to import obj files in COFF format to my project. Linker don’t
understand COFF. When I use copyobj utility to convers from COFF
to ELF32 there is an error:

Not supported allocation table

and copyobj generate memory fault exeption.

Can someone help me? RTP 6.1 A