diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-08-01 19:12:52 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-08-01 19:12:52 +0000 |
commit | 13ac54d1ca89d8a50b996cd26fefb9d836461a74 (patch) | |
tree | b22f555314a2025d8c493958c14cd095df546615 /src/backend | |
parent | 75619cff569ed6fe3363e0d2b232ddc80814c3d3 (diff) | |
download | postgresql-13ac54d1ca89d8a50b996cd26fefb9d836461a74.tar.gz postgresql-13ac54d1ca89d8a50b996cd26fefb9d836461a74.zip |
Since HPUX now exists for Itanium, we should decouple the assumption
that OS=hpux is the same as CPU=hppa. First steps at doing this.
With these patches, we still work on hppa with either gcc or HP's cc.
We might work on hpux/itanium with gcc, but I can't test it. Definitely
will not work on hpux/itanium with non-gcc compiler, for lack of spinlock
code.
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/port/hpux/tas.c.template | 4 | ||||
-rw-r--r-- | src/backend/port/tas/hpux_hppa.s (renamed from src/backend/port/tas/hpux.s) | 0 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/backend/port/hpux/tas.c.template b/src/backend/port/hpux/tas.c.template index 3ab37eb966e..45782948df6 100644 --- a/src/backend/port/hpux/tas.c.template +++ b/src/backend/port/hpux/tas.c.template @@ -1,8 +1,12 @@ /* + * tas() for HPPA. + * * To generate tas.s using this template: * 1. cc +O2 -S -c tas.c * 2. edit tas.s: * - replace the LDW with LDCWX + * 3. install as src/backend/port/tas/hpux_hppa.s. + * * For details about the LDCWX instruction, see the "Precision * Architecture and Instruction Reference Manual" (09740-90014 of June * 1987), p. 5-38. diff --git a/src/backend/port/tas/hpux.s b/src/backend/port/tas/hpux_hppa.s index d978a7cb030..d978a7cb030 100644 --- a/src/backend/port/tas/hpux.s +++ b/src/backend/port/tas/hpux_hppa.s |