> We still have the signal delivery problem - a 32 bit binary running on > ppc64 needs the correct signal stack etc set up for it. I guess most of > the 64bit arches have the equivalent of > > if (test_thread_flag(TIF_32BIT)) > return do_signal32(oldset, regs); > > in do_signal().
It's not a real problem. There are two use cases for this: - A special 32bit in 64bit mode ABI. In this case the signal structures can just be defined to have the necessary padding. - A emulator like valgrind that executes a 32bit guest - in this case the monitor can intercept the signal and handle it. In both cases 64bit signals are fine. -Andi
