This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: about writing a ld-extension to support linking 16-bit-gas code
- From: DJ Delorie <dj at redhat dot com>
- To: sijoange at cip dot informatik dot uni-erlangen dot de
- Cc: binutils at sourceware dot org, josef dot angermeier at web dot de
- Date: Mon, 27 Jun 2005 11:50:20 -0400
- Subject: Re: about writing a ld-extension to support linking 16-bit-gas code
- References: <1119885236.21052.ezmlm@sources.redhat.com> <20050627152833.GB5560@faui00i.informatik.uni-erlangen.de>
> Yet i'm not sure, if i shall write my own 'little' linker or try the
> probably 'hard way' to extend ld accordingly.
It might be more fun to write a TRUE 8086 binutils port. Binutils has
no problems with 16 bit ports per se, it's just that you're trying to
do 16 bit fixups in a 32 bit port that makes it awkward.
I think extending the existing 32-bit i386 linker would be easy, but
logistically complex due to the number of people, projects, and
organizations relying on it.
Alternately, I did write an OMF linker at one point.
http://www.delorie.com/djgpp/16bit/djlink/