Print this page
10366 ld(1) should support GNU-style linker sets
10581 ld(1) should know kernel modules are a thing


 144 /*
 145  * DT_* encoding rules apply between DT_SUNW_ENCODING and DT_HIOS
 146  */
 147 #define DT_SUNW_ENCODING        0x60000013      /* DT_* encoding rules resume */
 148                                                 /*      after this */
 149 #define DT_SUNW_SORTENT         0x60000013      /* sizeof [SYM|TLS]SORT entry */
 150 #define DT_SUNW_SYMSORT         0x60000014      /* sym indices sorted by addr */
 151 #define DT_SUNW_SYMSORTSZ       0x60000015      /* size of SUNW_SYMSORT */
 152 #define DT_SUNW_TLSSORT         0x60000016      /* tls sym ndx sort by offset */
 153 #define DT_SUNW_TLSSORTSZ       0x60000017      /* size of SUNW_TLSSORT */
 154 #define DT_SUNW_CAPINFO         0x60000018      /* capabilities symbols */
 155 #define DT_SUNW_STRPAD          0x60000019      /* # of unused bytes at the */
 156                                                 /*      end of dynstr */
 157 #define DT_SUNW_CAPCHAIN        0x6000001a      /* capabilities chain info */
 158 #define DT_SUNW_LDMACH          0x6000001b      /* EM_ machine code of linker */
 159                                                 /*      that produced object */
 160 #define DT_SUNW_CAPCHAINENT     0x6000001d      /* capabilities chain entry */
 161 #define DT_SUNW_CAPCHAINSZ      0x6000001f      /* capabilities chain size */
 162 /* 0x60000021 would be DT_SUNW_PARENT */
 163 #define DT_SUNW_ASLR            0x60000023      /* executable ASLR desire */

 164 
 165 /*
 166  * DT_* encoding rules do not apply between DT_HIOS and DT_LOPROC
 167  */
 168 #define DT_HIOS                 0x6ffff000
 169 
 170 /*
 171  * The following values have been deprecated and remain here to allow
 172  * compatibility with older binaries.
 173  */
 174 #define DT_DEPRECATED_SPARC_REGISTER    0x7000001
 175 
 176 /*
 177  * DT_* entries which fall between DT_VALRNGHI & DT_VALRNGLO use the
 178  * Dyn.d_un.d_val field of the Elf*_Dyn structure.
 179  */
 180 #define DT_VALRNGLO     0x6ffffd00
 181 
 182 #define DT_GNU_PRELINKED 0x6ffffdf5     /* prelinking timestamp (unused) */
 183 #define DT_GNU_CONFLICTSZ 0x6ffffdf6    /* size of conflict section (unused) */




 144 /*
 145  * DT_* encoding rules apply between DT_SUNW_ENCODING and DT_HIOS
 146  */
 147 #define DT_SUNW_ENCODING        0x60000013      /* DT_* encoding rules resume */
 148                                                 /*      after this */
 149 #define DT_SUNW_SORTENT         0x60000013      /* sizeof [SYM|TLS]SORT entry */
 150 #define DT_SUNW_SYMSORT         0x60000014      /* sym indices sorted by addr */
 151 #define DT_SUNW_SYMSORTSZ       0x60000015      /* size of SUNW_SYMSORT */
 152 #define DT_SUNW_TLSSORT         0x60000016      /* tls sym ndx sort by offset */
 153 #define DT_SUNW_TLSSORTSZ       0x60000017      /* size of SUNW_TLSSORT */
 154 #define DT_SUNW_CAPINFO         0x60000018      /* capabilities symbols */
 155 #define DT_SUNW_STRPAD          0x60000019      /* # of unused bytes at the */
 156                                                 /*      end of dynstr */
 157 #define DT_SUNW_CAPCHAIN        0x6000001a      /* capabilities chain info */
 158 #define DT_SUNW_LDMACH          0x6000001b      /* EM_ machine code of linker */
 159                                                 /*      that produced object */
 160 #define DT_SUNW_CAPCHAINENT     0x6000001d      /* capabilities chain entry */
 161 #define DT_SUNW_CAPCHAINSZ      0x6000001f      /* capabilities chain size */
 162 /* 0x60000021 would be DT_SUNW_PARENT */
 163 #define DT_SUNW_ASLR            0x60000023      /* executable ASLR desire */
 164 #define DT_SUNW_KMOD            0x60000027      /* object is a kernel module */
 165 
 166 /*
 167  * DT_* encoding rules do not apply between DT_HIOS and DT_LOPROC
 168  */
 169 #define DT_HIOS                 0x6ffff000
 170 
 171 /*
 172  * The following values have been deprecated and remain here to allow
 173  * compatibility with older binaries.
 174  */
 175 #define DT_DEPRECATED_SPARC_REGISTER    0x7000001
 176 
 177 /*
 178  * DT_* entries which fall between DT_VALRNGHI & DT_VALRNGLO use the
 179  * Dyn.d_un.d_val field of the Elf*_Dyn structure.
 180  */
 181 #define DT_VALRNGLO     0x6ffffd00
 182 
 183 #define DT_GNU_PRELINKED 0x6ffffdf5     /* prelinking timestamp (unused) */
 184 #define DT_GNU_CONFLICTSZ 0x6ffffdf6    /* size of conflict section (unused) */