/usr/share/picolisp/src64/sys/ppc64.linux.code.l is in picolisp 3.1.5.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | # 30sep12abu
# (c) Software Lab. Alexander Burger
# System macros
(code 'errno_A 0)
cc __errno_location() # Get address of 'errno'
ld4 (A) # Load value
ret
(code 'errnoC 0)
cc __errno_location() # Get address of 'errno'
xchg A C
st4 (C) # Store new value
ret
(code 'wifstoppedS_F 0) # WIFSTOPPED
ld4 (S I) # Get status
cmp B `(hex "7F") # (((status) & 0xff) == 0x7f)
ret
(code 'wifsignaledS_F 0) # WIFSIGNALED
ld4 (S I) # Get status
and B `(hex "7F") # (((status) & 0x7f) + 1) >> 1) > 0)
inc B
shr B 1
ret
(code 'wtermsigS_A 0) # WTERMSIG
ld4 (S I) # Get status
and B `(hex "7F") # ((status) & 0x7f)
zxt
ret
# vi:et:ts=3:sw=3
|