[0/2] Update LoongArch relocations for psABI v2.30

Message ID 20240223044728.24959-1-xry111@xry111.site
Headers
Series Update LoongArch relocations for psABI v2.30 |

Message

Xi Ruoyao Feb. 23, 2024, 4:47 a.m. UTC
  LoongArch psABI v2.30 has introduced 17 new reloc types for TLS
descriptor, TLS LE relaxation, and medium code model function call.  Add
them to elfutils.

Tested on loongarch64-linux-gnu with Binutils-2.42 and GCC 14 (trunk).

Xi Ruoyao (2):
  libelf: Sync elf.h from glibc
  backends: Update list of LoongArch relocations

 backends/loongarch_reloc.def | 17 +++++++++++++++++
 libelf/elf.h                 | 31 ++++++++++++++++++++++++++++++-
 2 files changed, 47 insertions(+), 1 deletion(-)
  

Comments

Mark Wielaard Feb. 24, 2024, 1:04 p.m. UTC | #1
Hi,

On Fri, Feb 23, 2024 at 12:47:26PM +0800, Xi Ruoyao wrote:
> LoongArch psABI v2.30 has introduced 17 new reloc types for TLS
> descriptor, TLS LE relaxation, and medium code model function call.  Add
> them to elfutils.
> 
> Tested on loongarch64-linux-gnu with Binutils-2.42 and GCC 14 (trunk).
> 
> Xi Ruoyao (2):
>   libelf: Sync elf.h from glibc
>   backends: Update list of LoongArch relocations

Thanks, looks good.
Both patches pushed.

Cheers,

Mark