linker mis-alignments for cygwin 1.1.3

DJ Delorie dj@delorie.com
Tue Aug 8 09:29:00 GMT 2000


> apparently all from libcygwin.a, which take a total of 12 bytes,
> beginning at a properly aligned address, leaving all subsequent modules
> mis-aligned.

Actually, such alignments are enforced by the assembler and linker.
The linker is supposed to pad sections to keep each one aligned on a
suitable boundary (src/bfd/coff-i386.c,
COFF_DEFAULT_SECTION_ALIGNMENT_POWER, currently set to 2 (i.e. 4
bytes)).

The assembler is supposed to only produce sections that are padded to
the right size alignment.

> I will attempt to get the 1.1.4 distribution later on.  As others have
> pointed out, simply following instructions causes nothing to be
> up-dated.

Delete the cygwin line from /etc/setup/installed.db and re-run setup.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list