public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
From: dj@stealth.ctron.com (DJ Delorie)
To: artk@congruent.com
Cc: erich@uruk.org, gas2@cygnus.com, bfd@cygnus.com
Subject: Re: traditional Intel & Microsoft formats...
Date: Wed, 09 Nov 1994 09:56:00 -0000	[thread overview]
Message-ID: <9411091756.AA21070@delorie> (raw)
In-Reply-To: <9411091639.AA07216@Congruent.COM>

>   ar only makes sense if you have ld.  For ld to work with Windows NT
> and Windows95 require more changes then you can imagine.  Its at
> least several man years of work.  There's the further problem that
> much of it must be done by reverse engineering microsoft executables.

NT libraries are the same format as unix libraries.  In fact, GNU make
built on NT already knows about library timestamps!  NT objects appear
to be straight COFF objects, perhaps with different reloc types or
something, but objdump seems to like them.

The NT "pe" executable format is coff-ish, but it's NOT coff.  At
least, not enough to use our standard tools on it.  I've been reverse
engineering it and working on determining the feasability of writing
an NT linker.

As for ld, it's probably almost easier to do this from scratch, as the
NT linker needs to know a LOT about dll's and resources.  I'm guessing
that an NT-specific linker is 2/3 this stuff and 1/3 actual linking.
It would be more work merging gld's stuff to the NT extensions than
just writing an NT-specific linker from scratch, although you'd still
want to use BFD to load objects.



  parent reply	other threads:[~1994-11-09  9:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-11-09  8:05 Erich Stefan Boleyn
1994-11-09  8:59 ` Arthur Kreitman
1994-11-09  9:41   ` Erich Stefan Boleyn
1994-11-09  9:56   ` DJ Delorie [this message]
1994-11-09  9:57   ` Ken Raeburn
1994-11-09 10:33     ` DJ Delorie
1994-11-09 11:56       ` Erich Stefan Boleyn
1994-11-09 10:49     ` Arthur Kreitman
1994-11-09 12:02       ` Erich Stefan Boleyn
1994-11-10  8:22     ` Richard Stallman
1994-11-10  8:11   ` Richard Stallman
1994-11-10  9:35     ` Erich Stefan Boleyn
1994-11-10 22:53 ` John Gilmore
1994-11-10 23:25   ` John Gilmore
1994-11-11  5:34   ` Arthur Kreitman
1994-11-11  8:31     ` Ian Lance Taylor
1994-11-11 10:21   ` Erich Stefan Boleyn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9411091756.AA21070@delorie \
    --to=dj@stealth.ctron.com \
    --cc=artk@congruent.com \
    --cc=bfd@cygnus.com \
    --cc=erich@uruk.org \
    --cc=gas2@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).