From 926e494fd76abff2c266c4bdd234f8a24df9157d Mon Sep 17 00:00:00 2001 From: jakcron Date: Sat, 9 Jun 2018 23:31:29 +0800 Subject: [PATCH] [nx] Update nx::dynsym::SpecialSectionIndex --- lib/libnx/include/nx/dynamic_symbol.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/libnx/include/nx/dynamic_symbol.h b/lib/libnx/include/nx/dynamic_symbol.h index 899c03c..ca1944a 100644 --- a/lib/libnx/include/nx/dynamic_symbol.h +++ b/lib/libnx/include/nx/dynamic_symbol.h @@ -8,12 +8,13 @@ namespace nx enum SpecialSectionIndex { SHN_UNDEF, - SHN_LORESERVE = 65280, - SHN_LOPROC = 65280, - SHN_HIPROC = 65311, + SHN_EXPORT = 1, + SHN_LORESERVE = 0xFF00, + SHN_LOPROC = 0xFF00, + SHN_HIPROC = 0xFF1F, SHN_LOOS, - SHN_HIOS = 65343, - SHN_ABS = 65521, + SHN_HIOS = 0xFF3F, + SHN_ABS = 0xFFF1, SHN_COMMON, SHN_HIRESERVE = 0xFFFF };