Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2010 09:07:11 +0000 (UTC)
From:      David Xu <davidxu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r215168 - user/davidxu/libthr/gnu/lib/libgomp
Message-ID:  <201011120907.oAC97Bch001893@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: davidxu
Date: Fri Nov 12 09:07:11 2010
New Revision: 215168
URL: http://svn.freebsd.org/changeset/base/215168

Log:
  Update lock's sizes and bump library version.

Modified:
  user/davidxu/libthr/gnu/lib/libgomp/Makefile

Modified: user/davidxu/libthr/gnu/lib/libgomp/Makefile
==============================================================================
--- user/davidxu/libthr/gnu/lib/libgomp/Makefile	Fri Nov 12 07:34:52 2010	(r215167)
+++ user/davidxu/libthr/gnu/lib/libgomp/Makefile	Fri Nov 12 09:07:11 2010	(r215168)
@@ -7,7 +7,7 @@ SRCDIR=	${GCCLIB}/libgomp
 .PATH: ${SRCDIR} ${SRCDIR}/config/posix
 
 LIB=		gomp
-SHLIB_MAJOR=	1
+SHLIB_MAJOR=	3
 
 SRCS=	alloc.c barrier.c critical.c env.c \
 	error.c iter.c loop.c ordered.c parallel.c sections.c \
@@ -28,18 +28,18 @@ VERSION_MAP=	${SRCDIR}/libgomp.map
     (${MACHINE_CPUARCH} == mips && \
 	(!defined(TARGET_ABI) || ${TARGET_ABI} != "n64"))
 OMP_LOCK_ALIGN	=	4
-OMP_LOCK_KIND=		4
-OMP_LOCK_SIZE=		4
+OMP_LOCK_KIND=		8
+OMP_LOCK_SIZE=		24
 OMP_NEST_LOCK_ALIGN=	4
 OMP_NEST_LOCK_KIND=	8
-OMP_NEST_LOCK_SIZE=	8
+OMP_NEST_LOCK_SIZE=	28
 .else
 OMP_LOCK_ALIGN	=	8
 OMP_LOCK_KIND=		8
-OMP_LOCK_SIZE=		8
+OMP_LOCK_SIZE=		24
 OMP_NEST_LOCK_ALIGN=	8
 OMP_NEST_LOCK_KIND=	8
-OMP_NEST_LOCK_SIZE=	16
+OMP_NEST_LOCK_SIZE=	32
 .endif
 
 gstdint.h:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011120907.oAC97Bch001893>