This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Adding elf support to an coff target


On Sat, 14 Jun 2003, Svein E. Seldal wrote:
> The tic4x target supports only coff as of this day. But I'm wishing for
> elf support (to get weak symbols and such).
>
> Can I have both coff and elf support at the same time in the compiled
> binutils binaries?

Yes, *including the assembler* if you wish so.

> Or do I have to specify them as two entirely
> different targets?

No, but let me suggest you add separate targets where the
default output differs.

> What do I have to do to get elf support in this target?

Write it, reusing lots of code from existing targets for the
supposed elf32-tic4x.c.  Unfortunately much of the ELF code
isn't parametrized.  Lots is, and lots isn't.

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]