[PATCH] Remove __ASSUME_IPC64

Tulio Magno Quites Machado Filho tuliom@linux.vnet.ibm.com
Fri Aug 21 14:08:00 GMT 2015


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



More information about the Libc-alpha mailing list