Cygwin: access: Fix X_OK behaviour for backup operators and admins
[newlib-cygwin.git] / newlib / libc / sys / sysvnecv70 / fps.S
blob83214dff4049ccc94105c9d91a10a36a6ab1514c
1         .globl  _fpgetsticky
2 _fpgetsticky:
3         getpsw    r0
4         and.w     #0x1f00,r0
5         shl.w     #0xf8,r0
6         ret       #0x0
9         .globl  _fpsetsticky    
10 _fpsetsticky:
11          getpsw   r0
12          mov.w    [ap],r1
13          shl.w    #0x8,r1
14          updpsw.h r1,#0x1f00
15          trapfl
16          and.w    #0x1f00,r0
17          shl.w    #0xf8,r0
18          ret      #0x0