This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

patch to correct linker mis-alignments for cygwin 1.1.3


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]