Re: COFF and byte ordering

sac@cygnus.com (Steve Chamberlain)
Fri, 26 Jun 1992 20:18:03 GMT

          From comp.compilers

Related articles
COFF and byte ordering chrise@sr.hp.com (Chris Eich) (1992-06-25)
Re: COFF and byte ordering sac@cygnus.com (1992-06-26)
Re: COFF and byte ordering chrise@hpsrcje.sr.hp.com (Chris Eich) (1992-06-26)
Re: COFF and byte ordering chrise@hpsrcje.sr.hp.com (Chris Eich) (1992-07-01)
| List of all articles for this month |
Newsgroups: comp.compilers
From: sac@cygnus.com (Steve Chamberlain)
Organization: Cygnus Support, Palo Alto CA; Phone +1 415 322 3811
Date: Fri, 26 Jun 1992 20:18:03 GMT
References: 92-06-128
Keywords: linker

Chris Eich <chrise@sr.hp.com> writes:




      Does anyone have tools to byte-swap COFF files? I want to generate them
      on a big-endian system and consume them on a little-endian system. COFF
      is liberally littered with shorts and ints, written and read in whatever
      byte order is natural for system.


The binary file descriptor library (BFD) was written to solve problems
like this. A set of binutils (ar, nm, ld, strip, copy etc) have been
written to use it.


Sources are available for ftp from many places, version 1.97 can be
had from alpha.gnu.ai.mit.edu in /pub/gnu.


/Steve
--
Cygnus Support Steve Chamberlain
814 University Avenue
Palo Alto, CA
94301 USA
General (415) 322 3811 sac@cygnus.com
Direct (415) 322 3897
Fax (415) 322 3270
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.