[0/7,LoongArch] Add LoongArch port support.

Message ID CAKjxQHmu-=zsag1_SMDCu00oYHx+1AV2wGN487TfGamLH4cTLw@mail.gmail.com
Headers show
Series
  • Add LoongArch port support.
Related show

Message

Alan Modra via Binutils Aug. 14, 2021, 8:05 a.m.
Hi all:

This is a series patch set to support LoongArch.

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

The ELF ABI Documents are on
https://github.com/loongson/LoongArch-Documentation/blob/main/LoongArch-ELF-ABI-EN.adoc

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

We will send those patches for review soon.

Thanks.

Comments

Alan Modra via Binutils Aug. 20, 2021, 3:44 a.m. | #1
On Sat, Aug 14, 2021 at 04:05:04PM +0800, Paul Hua via Binutils wrote:
> Hi all:

> 

> This is a series patch set to support LoongArch.


The patches could do with a little reorganisation.  Ideally the
order would be
  include/
  bfd/
  opcodes/
  binutils/
  gas/
  ld/
  gdb/

include/ and bfd/ can be one patch if you'd like.

Why this order?  Well, it helps with automatic tools bisecting for a
problem if binutils compiles after each patch.  Everything depends on
include/ and bfd/ so that must be first.  A lot of tools also need
opcodes/ so that is next.  The rest don't matter a great deal, but gdb
patches should be posted to gdb-patches@sourceware.org.

-- 
Alan Modra
Australia Development Lab, IBM
Alan Modra via Binutils Aug. 25, 2021, 8:44 a.m. | #2
Hi Alan,

Thanks for the review.
We will reorganize the patch according to your suggestions. Then the
V2 version will be sent soon.

On Fri, Aug 20, 2021 at 11:44 AM Alan Modra <amodra@gmail.com> wrote:
>

> On Sat, Aug 14, 2021 at 04:05:04PM +0800, Paul Hua via Binutils wrote:

> > Hi all:

> >

> > This is a series patch set to support LoongArch.

>

> The patches could do with a little reorganisation.  Ideally the

> order would be

>   include/

>   bfd/

>   opcodes/

>   binutils/

>   gas/

>   ld/

>   gdb/

>

> include/ and bfd/ can be one patch if you'd like.

>

> Why this order?  Well, it helps with automatic tools bisecting for a

> problem if binutils compiles after each patch.  Everything depends on

> include/ and bfd/ so that must be first.  A lot of tools also need

> opcodes/ so that is next.  The rest don't matter a great deal, but gdb

> patches should be posted to gdb-patches@sourceware.org.

>

> --

> Alan Modra

> Australia Development Lab, IBM