]> granicus.if.org Git - postgresql/commitdiff
Add Linux ARM.
authorBruce Momjian <bruce@momjian.us>
Sat, 6 Nov 1999 01:55:44 +0000 (01:55 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 6 Nov 1999 01:55:44 +0000 (01:55 +0000)
src/include/storage/s_lock.h
src/template/.similar
src/template/linux_arm [new file with mode: 0644]

index 6b6e4ecfb0fbf30f3a3e09a4b791c7ed9c999f5b..04caa52960ab8aa79e05474ff3fa9c453be0a043 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.64 1999/07/15 23:04:13 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.65 1999/11/06 01:55:43 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -124,7 +124,7 @@ __asm__("lock; xchgb %0,%1": "=q"(_res), "=m"(*lock):"0"(_res));
 
 
 
-#if defined(__arm32__)
+#if defined(__arm32__) || defined(__arm__)
 #define TAS(lock) tas(lock)
 
 static __inline__ int
index d498a5f4f7043ccb905c503e5459d291e373fd44..a6bd33b2f6e45309f2363c34fe45d0be51168fc1 100644 (file)
@@ -37,3 +37,4 @@ sparc-unknown-bsdi4=bsdi_4.0_sparc
 sparc-unknown-linux-gnu=linux_sparc
 mips-pc-linux-gnu=linux_mips
 mipsel-unknown-linux-gnu=linux_mips
+arm-unknown-linux-gnu=linux_arm
diff --git a/src/template/linux_arm b/src/template/linux_arm
new file mode 100644 (file)
index 0000000..65415dd
--- /dev/null
@@ -0,0 +1,10 @@
+AROPT:crs
+CFLAGS:-O2
+SHARED_LIB:-fpic
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
+YFLAGS:-d
+YACC:bison -y