From owner-p4-projects@FreeBSD.ORG Sat Apr 3 01:46:20 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 7C67016A4D0; Sat, 3 Apr 2004 01:46:19 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BC6B16A4CE for ; Sat, 3 Apr 2004 01:46:19 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34B6243D5E for ; Sat, 3 Apr 2004 01:46:19 -0800 (PST) (envelope-from dfr@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i339kJGe097277 for ; Sat, 3 Apr 2004 01:46:19 -0800 (PST) (envelope-from dfr@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i339kIHd097274 for perforce@freebsd.org; Sat, 3 Apr 2004 01:46:18 -0800 (PST) (envelope-from dfr@freebsd.org) Date: Sat, 3 Apr 2004 01:46:18 -0800 (PST) Message-Id: <200404030946.i339kIHd097274@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to dfr@freebsd.org using -f From: Doug Rabson To: Perforce Change Reviews Subject: PERFORCE change 50248 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2004 09:46:20 -0000 http://perforce.freebsd.org/chv.cgi?CH=50248 Change 50248 by dfr@dfr_home on 2004/04/03 01:45:26 Add reference to external array to make check the use of relocs with offsets. Add reference to local TLS to check local exec tls model. Affected files ... .. //depot/projects/kse/tools/regression/tls/libxx/xx.c#2 edit .. //depot/projects/kse/tools/regression/tls/ttls1/ttls1.c#2 edit Differences ... ==== //depot/projects/kse/tools/regression/tls/libxx/xx.c#2 (text+ko) ==== @@ -1,6 +1,7 @@ extern int __thread yy1; int __thread xx1 = 1; int __thread xx2 = 2; +int __thread xxa[10] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; int xxyy() ==== //depot/projects/kse/tools/regression/tls/ttls1/ttls1.c#2 (text+ko) ==== @@ -2,9 +2,12 @@ extern int __thread xx1; extern int __thread xx2; +extern int __thread xxa[]; +int __thread a[10] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; extern int xxyy(); int main(int argc, char** argv) { - printf("xx1=%d, xx2=%d, xxyy()=%d\n", xx1, xx2, xxyy()); + printf("xx1=%d, xx2=%d, xxa[5]=%d, a[5]=%d, xxyy()=%d\n", + xx1, xx2, xxa[5], a[5], xxyy()); }