From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: donn@verinet.com Cc: snowball3@bigfoot.com, binutils@sourceware.cygnus.com, djgpp-workers@delorie.com Subject: Re: DJGPP and alignment Date: Thu, 22 Jul 1999 00:13:00 -0000 Message-id: <19990722071323.20692.qmail@daffy.airs.com> References: <199907211607.QAA38452@out1.ibm.net> <199907220030.AAA09334@out5.ibm.net> <19990722003428.12362.qmail@daffy.airs.com> <37968ECF.E35A6119@verinet.com> X-SW-Source: 1999-q3/msg00290.html Date: Wed, 21 Jul 1999 21:23:59 -0600 From: Donn Terry In the case of .ctors and .dtors, I think Ian is right to characterize the zeros as "unsightly". For .idata and .pdata, they're catastrophic. Just for the record, I was being facetious. Zeroes are also catastrophic in .ctors and .dtors. The code in gcc's crtbegin file will call each address in the .ctors section. If there is a zero there, it will wind up jumping to the zero address. Ian