[PATCH 7/14] [LoongArch] Linux ABI

Joseph Myers joseph@codesourcery.com
Thu Aug 19 16:47:36 GMT 2021


On Thu, 19 Aug 2021, Paul Hua via Libc-alpha wrote:

> diff --git a/sysdeps/unix/sysv/linux/loongarch/bits/mman.h

The definitions here look exactly like those in 
bits/mman-map-flags-generic.h.  So you shouldn't need this file at all.

> diff --git a/sysdeps/unix/sysv/linux/loongarch/sys/procfs.h

You shouldn't have an architecture-specific version of this file.  
Everything architecture-specific should be in bits/ headers instead.  See 
my commit

commit d62f9ec0cce26a275ec68f4564814041a33395b1
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Sep 25 16:50:30 2018 +0000

    Complete sys/procfs.h unification.

and prior commits in that series for more details (and generally check 
glibc history for any changes unifying architecture-specific files, since 
whenever you started work on the port, in order to find any other such 
cases where you have no-longer-appropriate architecture-specific files).

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list