aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2026-02-24 14:26:55 +0000
committerEd Maste <emaste@FreeBSD.org>2026-02-24 15:17:48 +0000
commit0ff08b8c402b3c555125e4c72df0b80b4d084d56 (patch)
tree253e83bff4a84a1584977d6bff858ab811264d91
parentd7d4da91de201841c57a6b8f89b450754b9b8696 (diff)
elf_common.h: Sort SHT_ entries
Reviewed by: jrtc27 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55488
-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 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 */