use "bv" branching on NetBSD, like on linux. from the GCC3 tree.

This commit is contained in:
mrg 2006-05-12 00:47:50 +00:00
parent 8ff76fa508
commit 8ff761d708
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ GSYM($$dyncall)
ldw 4(%r22),%r19 ; load new LTP value
ldw 0(%r22),%r22 ; load address of target
LSYM(1)
#ifdef LINUX
#if defined(LINUX) || defined(NETBSD)
bv %r0(%r22) ; branch to the real target
#else
ldsid (%sr0,%r22),%r1 ; get the "space ident" selected by r22