mbox

[0/14,LoongArch] Add LoongArch GLIBC port support

Message ID CAKjxQH=AQwWcEWFBpEg=qiJNxp2ceP_WJYQ-1iNm=3_S2Sg5ow@mail.gmail.com
Headers

Message

Paul Hua Aug. 19, 2021, 3:29 a.m. UTC
  Hi all:

This is a series of patches to support the new LoongArch architecture.

The LoongArch architecture (LoongArch) is an Instruction Set
Architecture (ISA) that has a Reduced Instruction Set Computer (RISC)
style. The full documents are on:
https://loongson.github.io/LoongArch-Documentation/README-EN.html

ISA manual is on:
LoongArch Reference Manual Volume 1: Basic Architecture
https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html

The ELF ABI Document is on:
https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html

The GCC code based on GCC trunk:
https://github.com/loongson/gcc/tree/loongarch_upstream
We will send those patches for review soon.

The BINUTILS code based on BINUTILS trunk:
https://github.com/loongson/binutils-gdb/tree/loongarch/upstream_v6_a1d65b3
The BINUTILS patch is under review:
https://sourceware.org/pipermail/binutils/2021-August/117697.html

The GLIBC code based on GLIBC trunk:
https://github.com/loongson/glibc/commits/loongarch_2_34_for_upstream

The kernel patch is under review:
https://lwn.net/Articles/861951/

The 32-bit toolchain does not work, we just keep the relevant code.
Please skip it while reviewing, we will fix it in the future.

Here is the patch list:
[PATCH  1/14] [LoongArch] Add relocations and ELF flags to elf.h
[PATCH  2/14] [LoongArch] ABI Implementation
[PATCH  3/14] [LoongArch] Thread Local Storage Support
[PATCH  4/14] [LoongArch] Generic math.h and soft fp Routines
[PATCH  5/14] [LoongArch] Atomic and Locking Routines
[PATCH  6/14] [LoongArch] Linux Syscall Interface
[PATCH  7/14] [LoongArch] Linux ABI
[PATCH  8/14] [LoongArch] Linux Startup and Dynamic Loading Code
[PATCH  9/14] [LoongArch] Add ABI Lists
[PATCH 10/14] [LoongArch] Build Infastructure
[PATCH 11/14] [LoongArch] Hard Float Support
[PATCH 12/14] [LoongArch] Add optimized string functions
[PATCH 13/14] [LoongArch] Add assembly optimized sinf cosf functions
[PATCH 14/14] [LoongArch] Add optimized memcpy set move

Thanks.


















Thanks.