File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 9
9
*
10
10
*
11
11
* IDENTIFICATION
12
- * $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.33 2004/12/18 22:12:52 momjian Exp $
12
+ * $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.34 2004/12/29 23:47:38 tgl Exp $
13
13
*
14
14
*-------------------------------------------------------------------------
15
15
*/
@@ -240,8 +240,15 @@ static void
240
240
tas_dummy () /* really means: extern int tas(slock_t
241
241
* *lock); */
242
242
{
243
+
244
+ #ifdef SUNOS4_CC
243
245
asm(".seg \"data\"" );
244
246
asm(".seg \"text\"" );
247
+ #else
248
+ asm(".section \"data\"" );
249
+ asm(".section \"text\"" );
250
+ #endif
251
+
245
252
asm("_tas:" );
246
253
247
254
/*
Original file line number Diff line number Diff line change
1
+ if test "$GCC" != yes ; then
2
+ CC="$CC -Xa" # relaxed ISO C mode
3
+ CFLAGS="-v -DSUNOS4_CC" # -v is like gcc -Wall
4
+ if test "$enable_debug" != yes; then
5
+ CFLAGS="$CFLAGS -O" # any optimization breaks debug
6
+ fi
7
+ fi
You can’t perform that action at this time.
0 commit comments