[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] ELF object linking



On 24/02/2014 23:06, Jo Even Skarstein wrote:
I just came across this:

https://code.google.com/p/m68k-atari-mint-elf/

Maybe old news for you gcc gurus, but I haven't heard of this before.

I found it recently, and I was quite surprised; I never heard about it before.

This reminds me that I still have my old gcc-4.4.1-mintelf and binutils patch sleeping somewhere on my hard disk. I only configured (and slightly patched) ld to accept (and link together) both new ELF objects and old a.out libraries. It worked fine, but without any debug information (due to a limitation of the GNU linker). Full debug information and multi-section support would require a rewrite of the linker code, and a new executable format (which I believe, could still be compatible with plain TOS). But I'm lazy, the current obsolete a.out m68k-atari-mint target is good enough for my own needs. And most Atari people still prefer to use gcc 2.95, anyway.

Anyway, for sure ELF is better than anything else. And it is becoming more and more difficult to get support for something else than ELF.

PS: Markus, I have just read your comments, you are totally right.

--
Vincent Rivière