Re: Sun inline assembler ...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hans-Jürgen Schönig <postgres(at)cybertec(dot)at>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Sun inline assembler ...
Date: 2005-07-07 15:27:44
Message-ID: 8510.1120750064@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

>> Here's what I see in REL8_0_STABLE
>> and in HEAD (s_lock.c 1.35):
>>
>> 244 #ifdef SUNOS4_CC
>> 245 asm(".seg \"data\"");
>> 246 asm(".seg \"text\"");
>> 247 #else
>> 248 asm(".section \"data\"");
>> 249 asm(".section \"text\"");
>> 250 #endif

I see that template/sunos4 adds -DSUNOS4_CC to CFLAGS, but template/solaris
does not. Maybe it should too? I'm not real clear about which platforms
each of those templates gets used on.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message John R Pierce 2005-07-07 17:13:58 Re: Sun inline assembler ...
Previous Message Hans-Jürgen Schönig 2005-07-07 15:20:54 Re: Sun inline assembler ...