This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Remove __ASSUME_IPC64
- From: "Tulio Magno Quites Machado Filho" <tuliom at linux dot vnet dot ibm dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: libc-alpha at sourceware dot org
- Cc:
- Date: Fri, 21 Aug 2015 11:07:52 -0300
- Subject: Re: [PATCH] Remove __ASSUME_IPC64
- Authentication-results: sourceware.org; auth=none
- References: <mvmvbcceun8 dot fsf at hawking dot suse dot de>
Andreas Schwab <schwab@suse.de> writes:
> PowerPC has always used __IPC_64 like most other architectures, which
> means that __ASSUME_IPC64 is now always true. This also makes all other
> architecture implementations that use the ipc syscall identical to the
> generic version.
>
> * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
> Don't define.
> * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
> (__ASSUME_IPC64): Don't undef.
> * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
> * sysdeps/unix/sysv/linux/semctl.c: Likewise.
> * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
> * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
> * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
> * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
> * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
> * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
> * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
> * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
> * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
> * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
> * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
> * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
> * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
> * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
> * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
> * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
> * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
> * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
> * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
LGMT and is mandatory to fix the -Wundef errors on ppc, ppc64 and ppc64le.
Thanks!
--
Tulio Magno