mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-21 10:20:06 +00:00
374976dd13
[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.
14 lines
367 B
Makefile
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
|