| delorie.com/archives/browse.cgi | search |
| Date: | Sun, 11 Jan 1998 14:10:56 -0500 (EST) |
| Message-Id: | <199801111910.OAA25392@delorie.com> |
| From: | DJ Delorie <dj AT delorie DOT com> |
| To: | eliz AT is DOT elta DOT co DOT il |
| CC: | andrewc AT rosemail DOT rose DOT hp DOT com, djgpp-workers AT delorie DOT com |
| In-reply-to: | <Pine.SUN.3.91.980111142539.15603C-100000@is> (message from Eli |
| Zaretskii on Sun, 11 Jan 1998 14:25:59 +0200 (IST)) | |
| Subject: | Re: Stack Alignment |
> Note that the patch doesn't align on a 8-byte boundary, only on a
> 4-byte one. So it is not meant to make the DJGPP stack compatible
> with align-double.
The patch that was sent in was for 4-bytes, but I made it 8-bytes in
the alpha, since I already knew about the pgcc issue.
http://www.delorie.com/djgpp/dl/ofc/simtel/v2/.alphas/980101/djlsr202.zip/src/libc/crt0/crt0.s
movw %ds, %dx /* set stack */
movw %dx, %ss
>>> andb $0xf8, %eax /* align to 8-byte boundary */
movl %eax, %esp
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |