Skip to content

Commit

Permalink
Add LoongArch TLSDESC and tunable support from upstream
Browse files Browse the repository at this point in the history
Summary of test results:
   4654 PASS
     20 UNSUPPORTED
     16 XFAIL
      2 XPASS
  • Loading branch information
lixing-star authored and Zeno-sole committed Nov 29, 2024
1 parent 2942687 commit 0cd420e
Show file tree
Hide file tree
Showing 26 changed files with 5,090 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
glibc (2.38-6deepin7) unstable; urgency=medium

* Add LoongArch TLSDESC and tunable support from upstream.

-- Xing Li <[email protected]> Tue, 26 Nov 2024 19:57:12 +0800

glibc (2.38-6deepin6) unstable; urgency=medium

* Unset -U_FILE_OFFSET_BITS -U_TIME_BITS to fix build.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
From c9e99fb9ccbbc69308c84d1c558be61e1fb7bee7 Mon Sep 17 00:00:00 2001
From: Xing Li <[email protected]>
Date: Tue, 26 Nov 2024 17:01:56 +0800
Subject: [PATCH 01/23] LoongArch: elf: Add new LoongArch reloc types 109 into
elf.h

These reloc types are generated by GNU assembler >= 2.41 for relaxation
support.

From: caiyinyu <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
---
elf/elf.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/elf/elf.h b/elf/elf.h
index d623bdeb..9c51073f 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -4213,6 +4213,7 @@ enum
#define R_LARCH_SUB6 106
#define R_LARCH_ADD_ULEB128 107
#define R_LARCH_SUB_ULEB128 108
+#define R_LARCH_64_PCREL 109

/* ARC specific declarations. */

--
2.43.0

Loading

0 comments on commit 0cd420e

Please sign in to comment.