Re: [PATCH v3] newlib: libc: make AArch64 asmdefs.h compatible with GCC/binutils COFF

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On Jul 16 12:03, Radek Barton via Newlib wrote:
> Hello.
> 
> The necessary changes to asmdefs.h header in optimized-routines repository were accepted (https://github.com/ARM-software/optimized-routines/pull/87) so the new version of the patch synchronizes the newlib version of the header.
> 
> Radek
> 
> ---
> >From ac536e8cf2e15ce25bc7d352f0fef492b58c276a Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Radek=20Barto=C5=88?= <[email protected]>
> Date: Thu, 5 Jun 2025 11:32:08 +0200
> Subject: [PATCH v3] newlib: libc: update asmdefs.h compatible with Cygwin
>  AArch64
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
> 
> This patch synchronizes newlib/libc/machine/aarch64/asmdefs.h header with
> version from https://github.com/ARM-software/optimized-routines/commit/4352245388a55a836f3ac9ac5907022c24ab8e4c
> commit that added support for AArch64 Cygwin.
> 
> This version of the header removed PTR_ARG and SIZE_ARG macros as ILP32 was
> deprecated which introduced changes in many .S files.
> 
> On top of that, setjmp.S and rawmemchr.S were refactored to use
> ENTRY/ENTRY_ALIGN and END macros.
> 
> Signed-off-by: Radek Bartoň <[email protected]>
> ---
>  newlib/libc/machine/aarch64/asmdefs.h   | 105 ++++++++++--------------
>  newlib/libc/machine/aarch64/memchr.S    |   2 -
>  newlib/libc/machine/aarch64/memcmp.S    |   4 -
>  newlib/libc/machine/aarch64/memcpy.S    |   3 -
>  newlib/libc/machine/aarch64/memrchr.S   |   1 -
>  newlib/libc/machine/aarch64/memset.S    |   3 -
>  newlib/libc/machine/aarch64/rawmemchr.S |  17 +---
>  newlib/libc/machine/aarch64/setjmp.S    |  14 ++--
>  newlib/libc/machine/aarch64/strchr.S    |   1 -
>  newlib/libc/machine/aarch64/strchrnul.S |   1 -
>  newlib/libc/machine/aarch64/strcmp.S    |   2 -
>  newlib/libc/machine/aarch64/strcpy.S    |   2 -
>  newlib/libc/machine/aarch64/strlen.S    |   1 -
>  newlib/libc/machine/aarch64/strncmp.S   |   3 -
>  newlib/libc/machine/aarch64/strnlen.S   |   2 -
>  newlib/libc/machine/aarch64/strrchr.S   |   1 -
>  16 files changed, 54 insertions(+), 108 deletions(-)

Pushed.


Thanks,
Corinna
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.