git: 0ff08b8c402b - main - elf_common.h: Sort SHT_ entries
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Feb 2026 15:18:15 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=0ff08b8c402b3c555125e4c72df0b80b4d084d56
commit 0ff08b8c402b3c555125e4c72df0b80b4d084d56
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-02-24 14:26:55 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-02-24 15:17:48 +0000
elf_common.h: Sort SHT_ entries
Reviewed by: jrtc27
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55488
---
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 353ac882350b..42252d2e21af 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -470,8 +470,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
@@ -512,6 +510,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 */