On 03/02/16 05:25, Andreas Schwab wrote: > Greg Ungerer writes: >>> Does it work to use this signature: >>> >>> asmlinkage int do_sigreturn(struct switch_stack sw, struct pt_regs regs) >>> >>> without changing the caller? >> >> No, same problem. > > So this is unrelated to aliasing. Can you create a test case? Attached is a test case - derived from the original signal.c code. I removed a lot to get it to a manageable size. It still exhibits the problem. I compile this test case with: m68k-uclinux-gcc -Wall -mcpu=5208 -fno-strict-aliasing -O2 -c -o signal.o signal.i I get the same result if I use a m68k-linux-gcc as well (I am using gcc-5.3 based toolchains). Regards Greg