| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | gcc -O |
Hi Tulipant.
16-Jun-03 09:49:00, Tulipant Gergely wrote to Jasen Betts
Jasen Betts ->> Tulipant Gergely >>gcc -O<< {at} 10 Jun 03 06:46:06
TG> What for? Is that some kind of pseudo
TG> anti-anti-anti-anti-anti-anti-terorrist radar jammer
yeah more or less.
TG> I don't think so. Looks to me like a stack alignment bug. :(
TG> -mpreferred-stack-boundary=4 is the default
I think ypu've got it.
it seems to be arranged to encounter each function call while alligned 2^8
SP
0 - alligned
call main -4
TG> main: -4
TG> pushl %ebp -8
TG> movl %esp, %ebp
TG> subl $248, %esp -256 - alligned
TG> subl $252, %esp -508
TG> pushl $.LC0 -512 - alligned
TG> call printf (-516)
TG> addl $256, %esp -256
TG> movl $0, %eax
TG> leave -4
TG> ret 0 - alligned
-=> Bye <=-
---
* Origin: Bushido does not mean what it sounds like. (3:640/1042)SEEN-BY: 633/267 270 @PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.