Message-Id: <199907220030.AAA09334@out5.ibm.net> From: "Mark E." To: binutils AT sourceware DOT cygnus DOT com Date: Wed, 21 Jul 1999 20:30:51 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: DJGPP and alignment CC: djgpp-workers AT delorie DOT com In-reply-to: <19990721114723.A19378@cygnus.com> References: <199907211607 DOT QAA38452 AT out1 DOT ibm DOT net>; from Mark E. on Wed, Jul 21, 1999 at 12:07:18PM -0400 X-mailer: Pegasus Mail for Win32 (v3.11) Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Hello Richard, > I fear you're getting yourself into trouble, since there's no > way to change the section alignment in coff. Since the documentation is silent on this, what does COFF_DEFAULT_SECTION_ALIGNMENT_POWER do then? My tests show it does increase the size of the object files and executables accordingly. > If you do any sort of collect-sections-to-make-data kinds of > things like .ctors or .dtors, that'll break. Do you know that > you're using collect2 to construct constructor lists? I'm not 100% sure, but I don't think so. The linker script groups them together in the .data section and surrounds them with special symbols (djgpp_first_ctor, etc.) defined in the script. Mark --- Mark Elbrecht, snowball3 AT bigfoot DOT com http://snowball.frogspace.net/