glibc/sysdeps/unix/sysv/linux/powerpc
Adhemerval Zanella 5f828ff824 io: Fix F_GETLK, F_SETLK, and F_SETLKW for powerpc64
Different than other 64 bit architectures, powerpc64 defines the
LFS POSIX lock constants  with values similar to 32 ABI, which
are meant to be used with fcntl64 syscall.  Since powerpc64 kABI
does not have fcntl, the constants are adjusted with the
FCNTL_ADJUST_CMD macro.

The 4d0fe291ae changed the logic of generic constants
LFS value are equal to the default values; which is now wrong
for powerpc64.

Fix the value by explicit define the previous glibc constants
(powerpc64 does not need to use the 32 kABI value, but it simplifies
the FCNTL_ADJUST_CMD which should be kept as compatibility).

Checked on powerpc64-linux-gnu and powerpc-linux-gnu.
2023-05-31 15:31:02 -03:00
..
bits io: Fix F_GETLK, F_SETLK, and F_SETLKW for powerpc64 2023-05-31 15:31:02 -03:00
powerpc32 math: Remove the error handling wrapper from fmod and fmodf 2023-04-03 16:45:27 -03:00
powerpc64 math: Remove the error handling wrapper from fmod and fmodf 2023-04-03 16:45:27 -03:00
sys Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Implies
Makefile powerpc: Relocate stinfo->main 2022-04-10 08:37:38 +09:30
Versions
configure configure: Remove check if ld is GNU 2022-12-06 09:40:19 -03:00
configure.ac powerpc: Use --no-tls-get-addr-optimize in test only if the linker supports it 2021-08-24 09:26:44 -07:00
dl-auxv.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
dl-cache.h
dl-support.c Linux: Consolidate auxiliary vector parsing (redo) 2022-02-28 11:50:41 +01:00
elision-conf.c Fix misspellings in sysdeps/unix -- BZ 25337 2023-05-23 11:59:23 +00:00
elision-conf.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
elision-lock.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
elision-timed.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
elision-trylock.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
elision-unlock.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
get_timebase_freq.c Fix misspellings in sysdeps/unix -- BZ 25337 2023-05-23 11:59:23 +00:00
gettimeofday.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
htm.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
internal-ioctl.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
ipc_priv.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
kernel-features.h Linux: Assume and consolidate getpeername wire-up syscall 2023-02-20 10:20:44 -03:00
kernel_sigaction.h
kernel_termios.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
ldd-rewrite.sed Remove left over LD_LIBRARY_VERSION usages 2022-08-04 09:09:48 -03:00
libc-start.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
libc-start.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
libc-vdso.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
libpthread-compat.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nldbl-abi.h
pointer_guard.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
pthread_attr_setstack.c
pthread_attr_setstacksize.c
readelflib.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
rt-sysdep.c
rtld_static_init.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
socket-constants-time64.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
struct_kernel_shmid64_ds.h
syscall.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sysconf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sysdep.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sysdep.h powerpc64: Add the clone3 wrapper 2023-02-09 07:49:25 -03:00
test-gettimebasefreq-static.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
test-gettimebasefreq.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
test-powerpc-linux-sysconf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
time.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
xstatver.h