@@ -717,8 +717,14 @@ pub const SHT_RELR: u32 = 19;
717717pub const SHT_CREL : u32 = 0x40000014 ;
718718/// Start of OS-specific section types.
719719pub const SHT_LOOS : u32 = 0x6000_0000 ;
720+ /// Android-specific compressed version of `SHT_REL`.
721+ pub const SHT_ANDROID_REL : u32 = 0x60000001 ;
722+ /// Android-specific compressed version of `SHT_RELA`.
723+ pub const SHT_ANDROID_RELA : u32 = 0x60000002 ;
720724/// LLVM-style dependent libraries.
721725pub const SHT_LLVM_DEPENDENT_LIBRARIES : u32 = 0x6fff4c04 ;
726+ /// Android-specific precursor of `SHT_RELR`; differs only by constants and required API level.
727+ pub const SHT_ANDROID_RELR : u32 = 0x6fff_ff00 ;
722728/// GNU SFrame stack trace format.
723729pub const SHT_GNU_SFRAME : u32 = 0x6fff_fff4 ;
724730/// Object attributes.
@@ -1576,6 +1582,20 @@ pub const DT_RELRSZ: i64 = 35;
15761582pub const DT_RELRENT : i64 = 37 ;
15771583/// Start of OS-specific
15781584pub const DT_LOOS : i64 = 0x6000_000d ;
1585+ /// Address of Android-specific compressed Rel relocs
1586+ pub const DT_ANDROID_REL : i64 = 0x6000000f ;
1587+ /// Total size of Android-specific compressed Rel relocs
1588+ pub const DT_ANDROID_RELSZ : i64 = 0x60000010 ;
1589+ /// Address of Android-specific compressed Rela relocs
1590+ pub const DT_ANDROID_RELA : i64 = 0x60000011 ;
1591+ /// Total size of Android-specific compressed Rela relocs
1592+ pub const DT_ANDROID_RELASZ : i64 = 0x60000012 ;
1593+ /// Address of Android-specific Relr relocs
1594+ pub const DT_ANDROID_RELR : i64 = 0x6fff_e000 ;
1595+ /// Total size of Android-specific Relr relocs
1596+ pub const DT_ANDROID_RELRSZ : i64 = 0x6fff_e001 ;
1597+ /// Size of one Android-specific Relr reloc
1598+ pub const DT_ANDROID_RELRENT : i64 = 0x6fff_e003 ;
15791599/// End of OS-specific
15801600pub const DT_HIOS : i64 = 0x6fff_f000 ;
15811601/// Start of processor-specific
0 commit comments