Mail Archives: djgpp/1998/05/20/05:46:53
Andrew Crabtree wrote:
> > and not a specific requirement of the object format?
> It is :( I was told this on the gcc developers list some time ago when I
> reported problems related to libgcc-test.c having to do with pre-pending
> underscores., and just now (before replying) verified it in the elf 1.1
> standard.
>
> 1-17 "Note - External C symbols have the same names in C and object files'
> symbol tables."
>
> >If ELF really doesn't allow these underscores, I think that would be a
> >very strong reason to continue using COFF.
> Definitely. I hadn't even thought of the implication that all (most)
> assembly would have to change.
Just how offensive would it be to say "stuff section 1-17, backwards
compatability is more important than strict ELF compliance, heck, it's
only symbols"? It's not as if linking Linux object files with DJGPP
ones will work anyway, due to the different syscall conventions (though
an emulation lib could be made).
I'm actually thinking of writing a loader and reconfiguring gcc/binutils
myself. Don't let this stop anybody else from doing this, and don't
hold your breath, as I don't know how much time I will be able to
dedicate to this.
Bill
--
Leave others their otherness.
- Raw text -