Re: Sun inline assembler ... - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Sun inline assembler ...
Date
Msg-id 8510.1120750064@sss.pgh.pa.us
Whole thread Raw
In response to Re: Sun inline assembler ...  (Hans-Jürgen Schönig <postgres@cybertec.at>)
Responses Re: Sun inline assembler ...
List 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

pgsql-bugs by date:

Previous
From: Hans-Jürgen Schönig
Date:
Subject: Re: Sun inline assembler ...
Next
From: John R Pierce
Date:
Subject: Re: Sun inline assembler ...