pkgsrc-ng/lang/gcc45/patches/patch-gcc_config_pa_milli64.S
Lionel Sambuc 612ad0a18c lang/gcc45
2016-01-22 00:09:29 +01:00

14 lines
396 B
ArmAsm

$NetBSD$
--- gcc/config/pa/milli64.S.orig Thu Apr 9 15:00:19 2009
+++ gcc/config/pa/milli64.S
@@ -221,7 +221,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