summaryrefslogtreecommitdiff
path: root/libpthread/nptl/pthread_rwlockattr_getkind_np.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-02-22 16:23:23 -0500
committerMike Frysinger <vapier@gentoo.org>2011-02-22 16:24:34 -0500
commit9112a2398ec58b32cd1a1c6feae195bd8f9a46a2 (patch)
treebc7311d18e1fc7d8d59e14576fd9296123824a8d /libpthread/nptl/pthread_rwlockattr_getkind_np.c
parent435f73337eff129943249b0d59aad50c8df5bd2e (diff)
bfin: fix fp reference in _JMPBUF_UNWINDS
We want to access the frame pointer, so do so directly rather than "overflowing" the pregs array and ending up at the fp member. This fixes the Blackfin build warnings: libpthread/linuxthreads.old/ptlongjmp.c: In function 'pthread_cleanup_upto': libpthread/linuxthreads.old/ptlongjmp.c:35: warning: array subscript is above array bounds libpthread/linuxthreads.old/ptlongjmp.c:56: warning: array subscript is above array bounds Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libpthread/nptl/pthread_rwlockattr_getkind_np.c')
0 files changed, 0 insertions, 0 deletions