git: 2fd7680a6c81 - stable/14 - elf_common.h: Sort SHT_ entries
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Mar 2026 16:12:57 UTC
The branch stable/14 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=2fd7680a6c8194ef3fe51fa9ec472b8f831e86c1
commit 2fd7680a6c8194ef3fe51fa9ec472b8f831e86c1
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-02-24 14:26:55 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-03-19 16:12:28 +0000
elf_common.h: Sort SHT_ entries
Reviewed by: jrtc27
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55488
(cherry picked from commit 0ff08b8c402b3c555125e4c72df0b80b4d084d56)
(cherry picked from commit acf90e2e337572737e73567eacf655e44df760c0)
---
sys/sys/elf_common.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
index 8905f54caa16..b0b940b4cae3 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -468,8 +468,6 @@ typedef struct {
#define SHT_HISUNW 0x6fffffff
#define SHT_HIOS 0x6fffffff /* Last of OS specific semantics */
#define SHT_LOPROC 0x70000000 /* reserved range for processor */
-#define SHT_X86_64_UNWIND 0x70000001 /* unwind information */
-#define SHT_AMD64_UNWIND SHT_X86_64_UNWIND
#define SHT_ARM_EXIDX 0x70000001 /* Exception index table. */
#define SHT_ARM_PREEMPTMAP 0x70000002 /* BPABI DLL dynamic linking
@@ -510,6 +508,9 @@ typedef struct {
#define SHT_SPARC_GOTDATA 0x70000000
+#define SHT_X86_64_UNWIND 0x70000001 /* unwind information */
+#define SHT_AMD64_UNWIND SHT_X86_64_UNWIND
+
#define SHTORDERED
#define SHT_HIPROC 0x7fffffff /* specific section header types */
#define SHT_LOUSER 0x80000000 /* reserved range for application */