Document the SH5 toolchain hack for pthread_lock.c.

This commit is contained in:
scw 2003-05-16 23:43:29 +00:00
parent 5bd6b99940
commit 08cfcbf2ee

View File

@ -1,4 +1,4 @@
# $NetBSD: HACKS,v 1.3 2003/04/06 10:12:20 jdc Exp $
# $NetBSD: HACKS,v 1.4 2003/05/16 23:43:29 scw Exp $
#
# This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs.
@ -329,3 +329,15 @@ descr
See also:
http://mail-index.netbsd.org/tech-userlevel/2003/04/06/0000.html
kcah
hack SuperH SH5 Toolchain Bugs
cdate 17 May 2003
who scw
port sh5
file lib/libpthread/pthread_lock.c : 1.7
descr
The SuperH SH5 toolchain generates incorrect PIC code when faced
with a symbol which is declared extern, but has local scope due
to being defined within an asm() statement (without being declared
.globl in that statement). Work around it by adding the .globl.
kcah