Mail Archives: djgpp/1996/10/14/17:37:53
> adding ELF support to DJGPP would be a matter of changing a) gas code to
> output ELF objects, b) LD code to link together ELF modules and/or convert
> COFF ones to ELF format during the linking process (is it a loseless
> operation?), c) writing a new image loader
src/debug/common/v2load.c needs to be updated, so that go32-v2 and the
debuggers will work. This should be the first module modified, since it's
easier to debug this code than it is to modify the stub. This module should
handle either type of image; but there can be two separate stubs - one for
each type of binary image format. So I would say the order is:
1) Build ld such that it can create either COFF or ELF images.
2) Enhance v2load.c to be able to load ELF images.
3) Modify a new stub to load ELF images.
4) Look at changing default .o format when everything else is working.
- Raw text -