git: acf90e2e3375 - stable/15 - elf_common.h: Sort SHT_ entries
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 Mar 2026 15:10:46 UTC
The branch stable/15 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=acf90e2e337572737e73567eacf655e44df760c0
commit acf90e2e337572737e73567eacf655e44df760c0
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-02-24 14:26:55 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-03-02 15:09:54 +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)
---
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 43500fe5d51e..43707fabbd30 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -469,8 +469,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
@@ -511,6 +509,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 */