Re: [BUGS] Compile fails on AIX 6.1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [BUGS] Compile fails on AIX 6.1
Date: 2015-08-28 22:34:16
Message-ID: 4447.1440801256@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

I wrote:
> ... that assembler likes "$" for current location. I did a quick check on my
> oldest OS X PPC box, and it seems to be happy with "$" as well, so maybe
> we can use that --- though I see nothing about "$" in the GNU Assembler
> manual, which makes me a bit worried about whether it works on all PPC
> systems.

A look into the current gas sources finds this in config/tc-ppc.h:

/* $ is used to refer to the current location. */
#define DOLLAR_DOT

so apparently this is indeed standard behavior for gas on PPC. There's
no indication that you could turn it off without manually hacking this
config header.

Source code access to one's tools is so pleasant ...

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message it 2015-08-29 01:42:42 BUG #13595: pg_ctl.exe interferes with GPClient.exe
Previous Message Tom Lane 2015-08-28 22:01:21 Re: [BUGS] Compile fails on AIX 6.1

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2015-08-28 22:48:07 Re: Fwd: Core dump with nested CREATE TEMP TABLE
Previous Message Bruce Momjian 2015-08-28 22:31:45 Re: Adding commit details to SGML release notes