This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
patch to correct linker mis-alignments for cygwin 1.1.3
- To: "DJ Delorie" <dj at delorie dot com>
- Subject: patch to correct linker mis-alignments for cygwin 1.1.3
- From: "Tim Prince" <tprince at computer dot org>
- Date: Wed, 9 Aug 2000 13:34:26 -0700
- Cc: <binutils at sources dot redhat dot com>, <gdb-patches at sources dot redhat dot com>
- References: <000701c00154$7bfcce60$0100000a@TIMYX18EWDT6RQ> <200008081629.MAA26945@envy.delorie.com> <002301c001c6$e95889a0$0100000a@TIMYX18EWDT6RQ> <200008091736.NAA15337@envy.delorie.com>
This patch (suggested by DJ Delorie) corrects the mis-alignment induced
performance problem with double [precision] storage under cygwin, also
improving, but not fully correcting, the lapses in application of
.p2align.
Although it requests 128-bit alignment, it produces 64-bit alignment in
cygwin, still a valuable improvement over the previous 32-bit alignment.
Make check results not affected by this patch.
Tested with stock gcc-2.95.2 binary under cygwin, and by bootstrapping
gcc-2.96 snapshot under cygwin.
Patch .diff and suggested ChangeLog entries attached
I have assignment forms accepted by FSF.
Tim Prince
----- Original Message -----
From: "DJ Delorie" <dj@delorie.com>
To: <tprince@computer.org>
Cc: <cygwin@sourceware.cygnus.com>
Sent: Wednesday, August 09, 2000 10:36 AM
Subject: Re: linker mis-alignments for cygwin 1.1.3
>
> Feel free to submit a patch to binutils@sources.redhat.com
cygcoffpatch.diff
2000-08-09 Tim Prince <tprince@computer.org>
* bfd/coff-i386.c: increase alignment to 64 bits
(requesting 128) to obtain proper double aligment
for cygwin