Message ID | 20240820121043.1605628-1-ykolerov@synopsys.com |
---|---|
Headers |
Return-Path: <newlib-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E01CC384475E for <patchwork@sourceware.org>; Tue, 20 Aug 2024 12:12:04 +0000 (GMT) X-Original-To: newlib@sourceware.org Delivered-To: newlib@sourceware.org Received: from mx0a-00230701.pphosted.com (mx0a-00230701.pphosted.com [148.163.156.19]) by sourceware.org (Postfix) with ESMTPS id C1B6F384609A for <newlib@sourceware.org>; Tue, 20 Aug 2024 12:11:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C1B6F384609A Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=synopsys.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=synopsys.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C1B6F384609A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.156.19 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724155896; cv=none; b=ccQE4MSQe86BNlF1gLWJkTvKbfhaelJryvwWkKgReWBWt9586poS6kGWajEM/ZQdXlGQ8H9g6OSClei45NMzj+bqQJKeipJaB4pzLO1KAeTXv7bcPEx3lT2kVydgzzRPQ1w5hO9JaIBjnPk6cXsYrwOsecKk22Q5g8b6KoU16no= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724155896; c=relaxed/simple; bh=OcInwVp2V2xiTAR2iSxBD5I3Uu3L/MD/yIVGSN8NK48=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-Id: MIME-Version; b=bLf5pjNP02ZeO0Rt33q8bSH9XRATpVH0m26OGXfNZaWiinAzzP4hK/IjQfJJT4ATGWn+ULEJnJ3jaMb/emerZodJvEZeBC2L8whJd+dVnD1LflxYpsvoAFgGKQFjLSK5Ni9gowZTtPeqdCxoU0uuzpUFXJqKjchxt9hABkJw+Ec= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0098571.ppops.net [127.0.0.1]) by mx0a-00230701.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47KBaLdn031025 for <newlib@sourceware.org>; Tue, 20 Aug 2024 05:11:32 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=synopsys.com; h= cc:content-transfer-encoding:date:from:message-id:mime-version :subject:to; s=pfptdkimsnps; bh=MPnRiwhIj1lo99lYlYNCigNJ6kkdW8OH Swone1hta4M=; b=SOQ8BSYDuHZeGFd1aaPTRCrt2CL0T/aVw1LCpBS8eJFGbUCD utShY/jBL4M1xH6+El3sqk8nRDYPZQNJbQnrjsWI7Lc1e1ErY7v8+uSHBM/P+CC8 VsHRQj0DJsFB6DLyKwcvrWhzwrmhATGOnMH9foKyfapFkur9eljNjHlDR3Ot5ESz STMk7SZC/8GVIf3YJaPB/royI/XTsjWsLQ3bAfdr8WSBS2U75lFl0LiXQG6BvH3K 4bmLDw1G3T8dDvI9y+sAqrwrqbS21el35UGPM/lVxuLv3awC6UNJwxLTuDuA+zqM aGJkCKXcuUGrQojWbT8lV389xuHQXv3vQO9gFQ== Received: from smtprelay-out1.synopsys.com (smtprelay-out1.synopsys.com [149.117.87.133]) by mx0a-00230701.pphosted.com (PPS) with ESMTPS id 414g8kjmwk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <newlib@sourceware.org>; Tue, 20 Aug 2024 05:11:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1724155890; bh=OcInwVp2V2xiTAR2iSxBD5I3Uu3L/MD/yIVGSN8NK48=; h=From:To:Cc:Subject:Date:From; b=ZsBOZ48JuiP/slZYI8BsQxVMrjPE60HE9aTu9dPKKcussQVRYJKWJf8eY29EBw4eV Nd8y9+sMildIMHNeosJP2QIP79B2kyvaeg0Wt1CcktYiK+XWgctbyyc3IZ4nbYQGpE euUaHENMe0mz071WgqfyO1Sli/8qqu/IAHZ4jw0QDD/U19rwhJDQHmT/2PEVonOfqd O4EItc0kwALUwpNgixZvC76gHVtWO/vfmlB9Avc0XVaiqYCkldrDnNi/h/OivwcLDM XfY6/7TK2BCnycL21pvLSel0ZGi9RlOWRZ7pC9YZa6+wTAK4xAsiD2xrbH+ST75ydm ROa0rrRyHGrxA== Received: from mailhost.synopsys.com (eudc-mailhost2.synopsys.com [10.213.161.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailhost.synopsys.com", Issuer "SNPSica2" (verified OK)) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 0ACCC40147 for <newlib@sourceware.org>; Tue, 20 Aug 2024 12:11:29 +0000 (UTC) Received: from SNPS-HRlPxd6IgG.internal.synopsys.com (snps-hrlpxd6igg.internal.synopsys.com [10.120.15.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by mailhost.synopsys.com (Postfix) with ESMTPSA id B70EDC034F; Tue, 20 Aug 2024 12:11:27 +0000 (UTC) X-SNPS-Relay: synopsys.com From: Yuriy.Kolerov@synopsys.com To: newlib@sourceware.org Cc: Yuriy Kolerov <Yuriy.Kolerov@synopsys.com> Subject: [PATCH 0/8] A series of patches for Synopsys ARC port Date: Tue, 20 Aug 2024 15:10:35 +0300 Message-Id: <20240820121043.1605628-1-ykolerov@synopsys.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=VcqlP0p9 c=1 sm=1 tr=0 ts=66c487f2 cx=c_pps a=t4gDRyhI9k+KZ5gXRQysFQ==:117 a=t4gDRyhI9k+KZ5gXRQysFQ==:17 a=yoJbH4e0A30A:10 a=jIQo8A4GAAAA:8 a=Gf8I6aI7mhA0I6Fy8cIA:9 a=Lf5xNeLK5dgiOs8hzIjU:22 X-Proofpoint-GUID: fv6oG1EznBAs2dciz1uM6XRezOxFK455 X-Proofpoint-ORIG-GUID: fv6oG1EznBAs2dciz1uM6XRezOxFK455 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-20_09,2024-08-19_03,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_active_cloned_notspam policy=outbound_active_cloned score=0 mlxscore=0 bulkscore=0 suspectscore=0 lowpriorityscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 phishscore=0 adultscore=0 malwarescore=0 spamscore=0 mlxlogscore=902 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2408200089 X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Newlib mailing list <newlib.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/newlib>, <mailto:newlib-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/newlib/> List-Post: <mailto:newlib@sourceware.org> List-Help: <mailto:newlib-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/newlib>, <mailto:newlib-request@sourceware.org?subject=subscribe> Errors-To: newlib-bounces~patchwork=sourceware.org@sourceware.org |
Series |
A series of patches for Synopsys ARC port
|
|
Message
Yuriy Kolerov
Aug. 20, 2024, 12:10 p.m. UTC
From: Yuriy Kolerov <ykolerov@synopsys.com>
This is a series of patches for Synopsys ARC port. Some of
them are just small fixes related to nSIM simulator. Also,
it includes patches that make the port compatible with
a proprietary compiler for Synopsys ARC processors
(MetaWare Development Kit).
And the final one ("Prepare for porting to ARCv3") makes
port's libgloss implementation fully compatible with
ARCv3 - the next generation of Synopsys ARC processors
(this port supports only ARCv1 and ARCv2). So, the next
series of patches will include a separate port for
ARCv3 ISA and it will reuse most libgloss sources
for ARCv1/ARCv2.
Alexey Brodkin (3):
arc: libgloss: Switch from .balign to .align
arc: Remove @ from symbol references in assembly
arc: libgloss: Accommodate MetaWare's standard symbol names
Claudiu Zissulescu (1):
arc: Use __ARC_UNALIGNED__ compiler macro
Yuriy Kolerov (4):
arc: libgloss: Fix define guard in nsim-syscall.h
arc: libgloss: Clean MetaWare hostlink documentation
arc: libgloss: Use exit code in _exit_halt for nSIM
arc: libgloss: Prepare for porting to ARCv3
libgloss/arc/arc-specific.h | 32 ++++++
libgloss/arc/arc-symbols.h | 40 ++++++++
libgloss/arc/arc-timer.c | 18 ++--
libgloss/arc/crt0.S | 50 ++++-----
libgloss/arc/emsk-uart-setup.c | 3 +-
libgloss/arc/gcrt0.S | 2 +-
libgloss/arc/hl-stub.c | 14 +++
libgloss/arc/hl/hl_gw.c | 9 ++
libgloss/arc/hl/hl_toolchain.h | 10 ++
libgloss/arc/iotdk-uart-setup.c | 3 +-
libgloss/arc/nsim-syscall.h | 6 +-
libgloss/arc/nsim-syscalls.c | 9 +-
libgloss/arc/readme-hostlink.md | 134 ++++++++++++-------------
libgloss/arc/sbrk.c | 9 +-
libgloss/arc/uart-8250.c | 5 +-
newlib/libc/machine/arc/memcpy-archs.S | 52 ++++++----
newlib/libc/machine/arc/strcmp-archs.S | 2 +-
17 files changed, 266 insertions(+), 132 deletions(-)
create mode 100644 libgloss/arc/arc-specific.h
create mode 100644 libgloss/arc/arc-symbols.h
Comments
Patches applied. Thanks. -- Jeff J. On Tue, Aug 20, 2024 at 8:12 AM <Yuriy.Kolerov@synopsys.com> wrote: > From: Yuriy Kolerov <ykolerov@synopsys.com> > > This is a series of patches for Synopsys ARC port. Some of > them are just small fixes related to nSIM simulator. Also, > it includes patches that make the port compatible with > a proprietary compiler for Synopsys ARC processors > (MetaWare Development Kit). > > And the final one ("Prepare for porting to ARCv3") makes > port's libgloss implementation fully compatible with > ARCv3 - the next generation of Synopsys ARC processors > (this port supports only ARCv1 and ARCv2). So, the next > series of patches will include a separate port for > ARCv3 ISA and it will reuse most libgloss sources > for ARCv1/ARCv2. > > Alexey Brodkin (3): > arc: libgloss: Switch from .balign to .align > arc: Remove @ from symbol references in assembly > arc: libgloss: Accommodate MetaWare's standard symbol names > > Claudiu Zissulescu (1): > arc: Use __ARC_UNALIGNED__ compiler macro > > Yuriy Kolerov (4): > arc: libgloss: Fix define guard in nsim-syscall.h > arc: libgloss: Clean MetaWare hostlink documentation > arc: libgloss: Use exit code in _exit_halt for nSIM > arc: libgloss: Prepare for porting to ARCv3 > > libgloss/arc/arc-specific.h | 32 ++++++ > libgloss/arc/arc-symbols.h | 40 ++++++++ > libgloss/arc/arc-timer.c | 18 ++-- > libgloss/arc/crt0.S | 50 ++++----- > libgloss/arc/emsk-uart-setup.c | 3 +- > libgloss/arc/gcrt0.S | 2 +- > libgloss/arc/hl-stub.c | 14 +++ > libgloss/arc/hl/hl_gw.c | 9 ++ > libgloss/arc/hl/hl_toolchain.h | 10 ++ > libgloss/arc/iotdk-uart-setup.c | 3 +- > libgloss/arc/nsim-syscall.h | 6 +- > libgloss/arc/nsim-syscalls.c | 9 +- > libgloss/arc/readme-hostlink.md | 134 ++++++++++++------------- > libgloss/arc/sbrk.c | 9 +- > libgloss/arc/uart-8250.c | 5 +- > newlib/libc/machine/arc/memcpy-archs.S | 52 ++++++---- > newlib/libc/machine/arc/strcmp-archs.S | 2 +- > 17 files changed, 266 insertions(+), 132 deletions(-) > create mode 100644 libgloss/arc/arc-specific.h > create mode 100644 libgloss/arc/arc-symbols.h > > -- > 2.34.1 > >