Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LoongArch TLSDESC and tunable support from upstream #20

Merged
merged 1 commit into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 <lixing@loongson.cn> 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 <lixing@loongson.cn>
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 <caiyinyu@loongson.cn>
Signed-off-by: Peng Fan <fanpeng@loongson.cn>
---
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
Loading