diff --git a/specification/ch_2.xml b/specification/ch_2.xml index b8a27e0..21afab8 100644 --- a/specification/ch_2.xml +++ b/specification/ch_2.xml @@ -7983,7 +7983,7 @@ nop extern void function( ); -extern void (*ptrfunc) ( ); +void (*ptrfunc) ( ); ptrfunc = function; @@ -8002,7 +8002,7 @@ ptrfunc = function; .section .text lis r11,ptrfunc@ha lis r9,function@ha -ld r9,function@l(r9) +addi r9,r9,function@l std r9,ptrfunc@l(r11) lis r12,ptrfunc@ha @@ -8043,7 +8043,7 @@ bctrl extern void function( ); -extern void (*ptrfunc) ( ); +void (*ptrfunc) ( ); ptrfunc = function; @@ -8105,7 +8105,7 @@ ld r2,24(r1) extern void function( ); -extern void (*ptrfunc) ( ); +void (*ptrfunc) ( ); ptrfunc = function; @@ -8176,7 +8176,7 @@ ld r2,24(r1) extern void function( ); -extern void (*ptrfunc) ( ); +void (*ptrfunc) ( ); ptrfunc=function;