From 8b0a598853163772f412c9b3df37e66f41960479 Mon Sep 17 00:00:00 2001 From: WANG Xuerui Date: Fri, 11 Jul 2025 15:49:08 +0800 Subject: [PATCH] {binutils, gas, ld}/NEWS: Announce LoongArch changes in 2.45 Signed-off-by: WANG Xuerui --- binutils/NEWS | 4 ++++ gas/NEWS | 9 +++++++++ ld/NEWS | 6 ++++++ 3 files changed, 19 insertions(+) diff --git a/binutils/NEWS b/binutils/NEWS index 06356875255..6ef8e67c3e1 100644 --- a/binutils/NEWS +++ b/binutils/NEWS @@ -24,6 +24,10 @@ * For RISC-V dis-assembler, the definition of mapping symbol $x is changed, so the file needs to be rebuilt since 2.45 once used .option arch directives. +* The LoongArch disassembler now properly accepts multiple disassembly + options given by -M, such as "-M no-aliases,numeric". (Previously only the + first option took effect.) + Changes in 2.44: * Support for Nios II targets has been removed except in the readelf utility, diff --git a/gas/NEWS b/gas/NEWS index 05352a732cc..56a2b88d1ea 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -39,6 +39,15 @@ * Add support for the x86 Zhaoxin PadLock XMODX instructions. +* Add support for several instruction aliases defined for the LoongArch 32-bit + reduced subset (LA32R): rdcntvl.w, rdcntvh.w, rdcntid.w. + +* For LoongArch, warn about out-of-range 3rd arguments (maximum number of + bytes to skip) of .align directives. + +* For LoongArch, warn about negative right-shift amounts and + division/modulus-by-zero when evaluating expressions. + Changes in 2.44: * Add support for the x86 Intel Diamond Rapids AMX instructions, including diff --git a/ld/NEWS b/ld/NEWS index 85c74a96441..2ad06e9c124 100644 --- a/ld/NEWS +++ b/ld/NEWS @@ -35,6 +35,12 @@ * On s390, add support for linker option --[no-]ld-generated-unwind-info. +* On LoongArch, linker relaxation time complexity is no longer quadratic with + respect to relocation counts. Linking time of large software should be + improved. + +* On LoongArch, R_LARCH_32_PCREL records are now checked for overflow. + Changes in 2.44: * Support for Nios II target has been removed, as this architecture has been -- 2.47.2