Is GCC V3.4.6 supposed to be SystemV i386 ABI v4 compliant?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a case of g++ generating this instruction:
	add	$0xe,%esp
and creating a non 32bit aligned %esp.  This is enabling a SIGSEGV in a
signal handler that expects the stack to be word aligned.  

How can I find out if GCC V3.4.6 is intended to keep the stack word
aligned at all times as required according to System V i386 ABI v4?

(As many of you might suspect, this problem does not exhibit using gcc
v4, nor when using -march=pentium4.  But it's in a large/outdated build
source tree that someone would rather not port and test under a
completely new gcc.)

Thank you,
=- Curtis Taylor


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux