public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Xi Ruoyao <xry111@xry111.site>
To: binutils@sourceware.org
Cc: mengqinggang@loongson.cn, Nick Clifton <nickc@redhat.com>,
	Xi Ruoyao <xry111@xry111.site>, WANG Xuerui <git@xen0n.name>
Subject: [PATCH v2] gas/NEWS, ld/NEWS: Announce LoongArch changes in 2.42
Date: Tue, 23 Jan 2024 19:12:16 +0800	[thread overview]
Message-ID: <20240123111325.36166-1-xry111@xry111.site> (raw)
In-Reply-To: <0999dbf2-c656-4b5e-8f6c-5424a21a3fc6@redhat.com>

The change is self-explained, no more commit message :).

Co-authored-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
---

v1 -> v2:
- Do not falsely claim la.tls.le supported relax.
- Do not mention 3-operand .align directive support because it only
  supports an empty 2nd operand with a warning as at now.

 gas/NEWS | 27 +++++++++++++++++++++++++++
 ld/NEWS  | 11 +++++++++++
 2 files changed, 38 insertions(+)

diff --git a/gas/NEWS b/gas/NEWS
index cf4e8ff7c95..d717a430127 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -66,6 +66,33 @@ Changes in 2.42:
 * The BPF assembler now allows using both hash (#) and double slash (//) to
   begin line comments.
 
+* Add support for LoongArch v1.10 new instructions: estimated reciprocal
+  instructions, sub-word atomic instructions, atomic CAS instructions,
+  16-byte store-conditional instruction, load-linked instructions with
+  acquire semantics, and store-conditional instructions with release
+  semantics.
+
+* The %call36 relocation operator, along with the pseudo-instructions
+  call36 and tail36, are now usable with the LoongArch "medium" code
+  model, allowing text sections up to 128 GiB.
+
+* TLS descriptors (TLSDESC) are now supported on LoongArch. This includes
+  the following new relocation operators: %desc_pc_hi20, %desc_pc_lo12,
+  %desc_ld, and %desc_call, and the la.tls.desc pseudo-instruction.
+
+* TLS LE relaxation is now supported on LoongArch. New relocation
+  operators %le_hi20_r, %le_lo12r, and %le_add_r are now available.
+
+* Add support for LoongArch branch relaxation: a conditional branch with
+  destination out of its immediate operand range, but still within
+  a "b"'s range, is now assembled as an inverted branch and a "b". This
+  works around the unreliable branch offset estimation of the compiler
+  when .align directive is encoded into a long NOP sequence with an
+  R_LARCH_RELAX by the assembler.
+
+* Symbol or label names in LoongArch assembly can now be spelled with
+  double-quotes.
+
 Changes in 2.41:
 
 * Add support for the KVX instruction set.
diff --git a/ld/NEWS b/ld/NEWS
index c3ebe320e5e..a5a5b9faee2 100644
--- a/ld/NEWS
+++ b/ld/NEWS
@@ -29,6 +29,17 @@ Changes in 2.42:
   --enable-error-rwx-segments=[yes|no] configure options to set the default for
   converting warnings into errors.
 
+* On LoongArch, various linker relaxation bugs are fixed; the most notable
+  of which is BZ 30944 (incorrect .balign semantics).
+
+* On LoongArch, the LoongArch ABI v2.30 (LoongArch ELF psABI v20231219) is
+  now implemented. This includes new relocation types, and changed
+  semantics for PC-relative relocations handling the higher half of 64-bit
+  offsets.
+
+* On LoongArch, link-time TLS optimization and TLS relaxation are now
+  supported.
+
 Changes in 2.41:
 
 * The linker now accepts a command line option of --remap-inputs
-- 
2.43.0


  reply	other threads:[~2024-01-23 11:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-22 19:14 [PATCH] " Xi Ruoyao
2024-01-23  3:56 ` mengqinggang
2024-01-23  8:35   ` Xi Ruoyao
2024-01-23 11:08     ` Nick Clifton
2024-01-23 11:12       ` Xi Ruoyao [this message]
2024-01-23 11:28         ` [PATCH v2] " Nick Clifton
2024-01-23 12:38           ` Xi Ruoyao
2024-01-23 16:01             ` Nick Clifton
2024-01-24  3:24     ` [PATCH] " mengqinggang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240123111325.36166-1-xry111@xry111.site \
    --to=xry111@xry111.site \
    --cc=binutils@sourceware.org \
    --cc=git@xen0n.name \
    --cc=mengqinggang@loongson.cn \
    --cc=nickc@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).