From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: hjl@nynexst.com Cc: gcc2@cygnus.com, gas2@cygnus.com, raeburn@cygnus.com Subject: Re: comm/local/ELF/gas/gcc Date: Tue, 28 Nov 1995 08:55:00 -0000 Message-id: <199511281655.LAA06540@sanguine.cygnus.com> References: <9511280605.AA10129@nynexst.com> X-SW-Source: 1995/msg00203.html From: hjl@nynexst.com (H.J. Lu) Date: Tue, 28 Nov 95 1:05:35 EST 1. There is a limit of MAX_OFILE_ALIGNMENT in bits for maximum alignment. But it only applies to symbols in data, not those in bss/common. The problem would appear to be that gcc defaults to value of MAX_OFILE_ALIGNMENT to BIGGEST_ALIGNMENT. For the i386, BIGGEST_ALIGNMENT is 32 or 64. It would be reasonable for config/svr4.h in gcc to set MAX_OFILE_ALIGNMENT to 0x80000000. However, I don't know what the consequences are of requesting an alignment larger than BIGGEST_ALIGNMENT. Is that supposed to work or not? 3. The x86/ELF gas is kind of strange: .local x.2 .comm x.2,4,4 and .comm x.2,4,16 mean the same alignment. This was a gas bug. It is fixed in the 2.6 release. Ian