aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2026-02-24 14:26:55 +0000
committerEd Maste <emaste@FreeBSD.org>2026-03-19 16:12:28 +0000
commit2fd7680a6c8194ef3fe51fa9ec472b8f831e86c1 (patch)
tree232cad1e52ac089a43a330d63d01d1bac6e1c5a9
parentf31a6686ba85edb1e49b0a55c50d084608631c0e (diff)
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)
-rw-r--r--sys/sys/elf_common.h5
1 files 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 */