glibc/sysdeps/unix/sysv/linux/sparc/Makefile
David S. Miller 374976dd13 Fix SHMLBA on sparc.
[BZ #6471]
	* sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
	properly.
	* sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
	* sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
	sysdep_routines when subdir is sysvipc.
	* sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
	__getshmlba helper.
2012-03-16 19:28:51 -07:00

14 lines
367 B
Makefile

syscall-list-variants := 32bit 64bit
syscall-list-32bit-options := -U__sparc_v9__ -U__arch64__
syscall-list-32bit-condition := __WORDSIZE == 32
syscall-list-64bit-options := -D__sparc_v9__ -D__arch64__
syscall-list-64bit-condition := __WORDSIZE == 64
ifeq ($(subdir),rt)
librt-routines += rt-sysdep
endif
ifeq ($(subdir),sysvipc)
sysdep_routines += getshmlba
endif