Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Krister Walfridsson <kristerw@netbsd.org>
List: source-changes
Date: 12/20/1998 19:27:03
Module Name: src
Committed By: kristerw
Date: Mon Dec 21 03:27:02 UTC 1998
Modified Files:
src/gnu/dist/bfd: netbsd.h
Log Message:
NetBSD always saves a_midmag as big-endian, but libbfd use the same
endianess as the arch in its internal structures, so we may have to change
the byte order when we write the exec header. The problem is that we need
the little endian version for libbfd to DTRT with the rest of the file.
Solve this by writing the exec header after the rest of the file has been
written.