diff options
author | David S. Miller <davem@davemloft.net> | 2012-03-16 19:28:51 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-16 19:28:51 -0700 |
commit | 374976dd138bd4d74608d5658c84c0e257716d0b (patch) | |
tree | fe923ac3e59dcc6ef45922b00a894beaa52c3481 /sysdeps/unix/sysv/linux/sparc/Makefile | |
parent | edc218041ef05fde20a7f7e6b24033a72deedce1 (diff) | |
download | glibc-374976dd138bd4d74608d5658c84c0e257716d0b.tar glibc-374976dd138bd4d74608d5658c84c0e257716d0b.tar.gz glibc-374976dd138bd4d74608d5658c84c0e257716d0b.tar.bz2 glibc-374976dd138bd4d74608d5658c84c0e257716d0b.zip |
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc/Makefile')
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/Makefile b/sysdeps/unix/sysv/linux/sparc/Makefile index 96bf0bbd16..d769c48526 100644 --- a/sysdeps/unix/sysv/linux/sparc/Makefile +++ b/sysdeps/unix/sysv/linux/sparc/Makefile @@ -7,3 +7,7 @@ syscall-list-64bit-condition := __WORDSIZE == 64 ifeq ($(subdir),rt) librt-routines += rt-sysdep endif + +ifeq ($(subdir),sysvipc) +sysdep_routines += getshmlba +endif |