5 SUN_FUNCDEF="#define FUNCDEF(x) .type x,#function"
6 GNU_FUNCDEF="#define FUNCDEF(x) .type x,@function"
8 echo $SUN_FUNCDEF > $TMP
9 # cribbed from ldso_stubs, just "some code"
11 .globl ldso_stub__printf ;
12 FUNCDEF(ldso_stub__printf) ;
14 sethi %hi(printf),%g1 ;
15 jmpl %g1+%lo(printf),%g0 ;
18 .size ldso_stub__printf,.Lprintfe1-ldso_stub__printf ;" >> $TMP
20 if $GNUMAKE sparc-funcdef.o > /dev/null 2>&1 ; then