diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-03-26 18:07:04 +0530 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-03-27 00:08:47 +0100 |
commit | d3c60fc490d714d7610a91555cec67952409b189 (patch) | |
tree | 63e5909fa0054b6e8c362698d1ba4debfc320145 /libc/sysdeps/linux/mips/bits/ipc.h | |
parent | 70bafe7e4d52f6dafbb5888009c9b601cdbc3743 (diff) |
ARC/signal: shield sa_restorer from compiler toggle side-effects
when building uClibc with -O0 (DODEBUG build) the default sigrestorer
had some extra glue code generated for stack manipulation which was
messing up resume from signal path.
So annotate the function with -Os so that gcc would only generate the
bare min 2 instruction TRAP sequence
Reported-and-Debugged-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/mips/bits/ipc.h')
0 files changed, 0 insertions, 0 deletions