From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122278 invoked by alias); 14 Jun 2017 12:26:34 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 122268 invoked by uid 89); 14 Jun 2017 12:26:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-23.9 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=U*newlib, sk:newlib@, newlib@sourceware.org, newlibsourcewareorg X-HELO: smtprelay.synopsys.com Received: from us01smtprelay-2.synopsys.com (HELO smtprelay.synopsys.com) (198.182.47.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 Jun 2017 12:26:33 +0000 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id 94E5624E136D for ; Wed, 14 Jun 2017 05:26:36 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 86CE8B48 for ; Wed, 14 Jun 2017 05:26:36 -0700 (PDT) Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) by mailhost.synopsys.com (Postfix) with ESMTP id 810A5B47 for ; Wed, 14 Jun 2017 05:26:36 -0700 (PDT) Received: from DE02WEHTCB.internal.synopsys.com (10.225.19.94) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.266.1; Wed, 14 Jun 2017 05:26:36 -0700 Received: from DE02WEMBXA.internal.synopsys.com ([fe80::a014:7216:77d:d55c]) by DE02WEHTCB.internal.synopsys.com ([::1]) with mapi id 14.03.0266.001; Wed, 14 Jun 2017 14:26:34 +0200 From: Claudiu Zissulescu To: "newlib@sourceware.org" CC: Anton Kolesov , Francois Bedard Subject: RE: [PATCH 2/2] [ARC] Add JLI support.[PING] Date: Wed, 14 Jun 2017 12:26:00 -0000 Message-ID: <098ECE41A0A6114BB2A07F1EC238DE896662D6F1@de02wembxa.internal.synopsys.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2017/txt/msg00421.txt.bz2 Ping=20 > -----Original Message----- > From: Claudiu Zissulescu > Sent: Tuesday, May 23, 2017 3:06 PM > To: newlib@sourceware.org > Cc: Claudiu Zissulescu ; Anton Kolesov > ; Francois Bedard > Subject: [PATCH 2/2] [ARC] Add JLI support. >=20 > Initialize the jli_base registers for ARCv2 cpus. >=20 > libgloss/ > 2017-05-23 Claudiu Zissulescu >=20 > * arc/crt0.S: Initialize the jli_base registers for ARCv2 cpus. > --- > libgloss/arc/crt0.S | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) >=20 > diff --git a/libgloss/arc/crt0.S b/libgloss/arc/crt0.S > index f8d7148..46c9efd 100644 > --- a/libgloss/arc/crt0.S > +++ b/libgloss/arc/crt0.S > @@ -142,6 +142,11 @@ __start: > bset r2, r2, 19 > flag r2 > #endif > + > +#if defined (__ARC_CODE_DENSITY__) > + ;; Initialize jli_base > + sr @__JLI_TABLE__,[jli_base] > +#endif > mov gp, @__SDATA_BEGIN__ > mov_s r2, @__sbss_start ; r2 =3D start of the bss section > sub r3, @_end, r2 ; r3 =3D size of the bss section in bytes > @@ -189,7 +194,7 @@ __start: > mov_s r0, 1 > st_s r0, [r1, 4] ; _GLOBAL_REENT->atexit0._ind > ; branch to _init > -#if defined (__EM__) || defined (__HS__) > +#if defined (__ARCEM__) || defined (__ARCHS__) > jl @_init > #else > bl @_init > -- > 1.9.1