delorie.com/archives/browse.cgi | search |
From: | "Jack K." <xos AT o2 DOT pl> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: data alignment |
Date: | Thu, 3 May 2001 15:24:28 +0200 |
Organization: | tp.internet - http://www.tpi.pl |
Lines: | 17 |
Message-ID: | <9crmh1$jlc$1@news.tpi.pl> |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1010503110508 DOT 26629L-100000 AT is> <9crm5s$id0$1 AT news DOT tpi DOT pl> |
NNTP-Posting-Host: | pe175.gdansk.cvx.ppp.tpnet.pl |
X-Trace: | news.tpi.pl 988896609 20140 213.76.28.175 (3 May 2001 13:30:09 GMT) |
X-Complaints-To: | usenet AT tpi DOT pl |
NNTP-Posting-Date: | 3 May 2001 13:30:09 GMT |
X-Newsreader: | Microsoft Outlook Express 5.50.4133.2400 |
X-MSMail-Priority: | Normal |
X-Priority: | 3 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
> There are limitations to the alignment which the target object file > format can produce. I think both DJGPP and MinGW are limited to 16 > bytes. 4096 will _certainly_ not work, but 16 should. Under my djgpp doesn't. > If you need 4K alignment, you need special code to allocate it at run time. But it is slower and needs more memory. > What do you need this for? I'm working about simple OS. Page tables and other structures need to be 4K aligned. Maby you knew how to do it using linker script?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |