The i386/amd64 abi specifies that the direction flag must be clear
authorAggelos Economopoulos <aggelos@dragonflybsd.org>
Sat, 15 Mar 2008 16:21:30 +0000 (16:21 +0000)
committerAggelos Economopoulos <aggelos@dragonflybsd.org>
Sat, 15 Mar 2008 16:21:30 +0000 (16:21 +0000)
commit8688c24a75c13f5168b2628d352f0db84720dd72
tree43e1e78b1f6023479038de9eb1b50d63fa1ddb26
parent667713fe7c21358210817f44354c4a8f6dd3d869
The i386/amd64 abi specifies that the direction flag must be clear
on function entry. Newer versions of gcc (>=4.3) depend on this
behavior (and reportedly so does icc), so make sure the flag is
clear when running a signal handler.
sys/emulation/linux/i386/linux_sysvec.c
sys/platform/pc32/i386/machdep.c
sys/platform/pc64/amd64/cpu_regs.c
sys/platform/vkernel/i386/cpu_regs.c