Subject: Re: postgresql pkg & TAS
To: Brian Brunswick <bdb@eidos.co.uk>
From: Dave Millen <webmaster@largesalad.co.uk>
List: port-arm32
Date: 03/31/1999 12:37:16
Brian Brunswick wrote:

> I've had success with the following:
> Sorry for not returning it sooner!
>
> @ Used to be  Generated by gcc 2.7.2.2+myc1 for ARM/NetBSD
> rfp     .req    r9
> sl      .req    r10
> fp      .req    r11
> ip      .req    r12
> sp      .req    r13
> lr      .req    r14
> pc      .req    r15
> gcc2_compiled.:
> ___gnu_compiled_c:
> .text
>         .align  0
>         .global _TAS
>         .type    _TAS,#function
> _TAS:
>         mov r1,#1
>         swp r1,r1,[r0]
>         mov r0,r1
>         mov pc,lr
> Lfe1:
>         .size    _TAS,Lfe1-_TAS

Where should this code go?

regards,
Dave

--
Make it idiot-proof and someone will make a better idiot!

e-mail: webmaster@largesalad.co.uk
net: http://www.largesalad.co.uk/DJMsoft/