From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-40132.protonmail.ch (mail-40132.protonmail.ch [185.70.40.132]) by sourceware.org (Postfix) with ESMTPS id 26F043861881 for ; Tue, 16 Feb 2021 22:56:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 26F043861881 Date: Tue, 16 Feb 2021 22:56:23 +0000 To: "newlib@sourceware.org" From: iNvEr7 Reply-To: iNvEr7 Subject: [PATCH] Semihosting ctr0 typo (adr/ldr)? Message-ID: <2SG25aQ-_EdUvM9w1kXfGjpV_I6OSbvGLA9jIuXTs51Rzc7ESf1s9rIDWF85eATSD7jtZle5D2asRAeEEwtJs5adLfOf_c-uOa3myGWT-Ys=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-14.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, FREEMAIL_REPLYTO_END_DIGIT, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2021 22:56:38 -0000 >From c0d80dfc1b832d690263af93231041ae7bb3f68e Mon Sep 17 00:00:00 2001 From: iNvEr7 Date: Tue, 16 Feb 2021 14:53:52 -0800 Subject: [PATCH] fix semihosting typo --- libgloss/arm/crt0.S | 2 +- newlib/libc/sys/arm/crt0.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libgloss/arm/crt0.S b/libgloss/arm/crt0.S index 8490bde2f..b8bbcee18 100644 --- a/libgloss/arm/crt0.S +++ b/libgloss/arm/crt0.S @@ -283,7 +283,7 @@ #ifdef ARM_RDI_MONITOR =09/* Issue Angel SWI to read stack info. */ =09movs=09r0, #AngelSWI_Reason_HeapInfo -=09adr=09r1, .LC0=09/* Point at ptr to 4 words to receive data. */ +=09ldr=09r1, .LC0=09/* Point at ptr to 4 words to receive data. */ #ifdef THUMB_VXM =09bkpt=09AngelSWI #elif defined(__thumb2__) diff --git a/newlib/libc/sys/arm/crt0.S b/newlib/libc/sys/arm/crt0.S index 5e677a23c..3c5771229 100644 --- a/newlib/libc/sys/arm/crt0.S +++ b/newlib/libc/sys/arm/crt0.S @@ -270,7 +270,7 @@ #ifdef ARM_RDI_MONITOR =09/* Issue Angel SWI to read stack info. */ =09movs=09r0, #AngelSWI_Reason_HeapInfo -=09adr=09r1, .LC0=09/* Point at ptr to 4 words to receive data. */ +=09ldr=09r1, .LC0=09/* Point at ptr to 4 words to receive data. */ #ifdef THUMB_VXM =09bkpt=09AngelSWI #elif defined(__thumb2__) -- 2.29.2