freebsd-dev/sys/pc98
Konstantin Belousov 22eca0bf45 Since version 4.3, gcc changed its behaviour concerning the i386/amd64
ABI and the direction flag, that is it now assumes that the direction
flag is cleared at the entry of a function and it doesn't clear once
more if needed. This new behaviour conforms to the i386/amd64 ABI.

Modify the signal handler frame setup code to clear the DF {e,r}flags
bit on the amd64/i386 for the signal handlers.

jhb@ noted that it might break old apps if they assumed DF == 1 would be
preserved in the signal handlers, but that such apps should be rare and
that older versions of gcc would not generate such apps.

Submitted by:	Aurelien Jarno <aurelien aurel32 net>
PR:	121422
Reviewed by:	jhb
MFC after:	2 weeks
2008-03-13 10:54:38 +00:00
..
apm
cbus Merged from sys/dev/sio/sio.c revision 1.472 2008-02-29 05:09:15 +00:00
compile
conf Remove kernel support for M:N threading. 2008-03-12 10:12:01 +00:00
include Catch up pc98 for i386 stack(9) changes: 2007-12-03 11:38:28 +00:00
linux
pc98 Since version 4.3, gcc changed its behaviour concerning the i386/amd64 2008-03-13 10:54:38 +00:00