Solaris PIE support
include/elf: * common.h (DF_1_STUB, DF_1_PIE): Define. ld: * emulparams/solaris2.sh (GENERATE_PIE_SCRIPT): Set to yes. * emultempl/elf32.em: Include ldlex.h. (gld${EMULATION_NAME}_handle_option) [GENERATE_PIE_SCRIPT] <OPTION_PIE>: Set DF_1_PIE. binutils: * readelf.c (process_dynamic_section): Handle DF_1_STUB, DF_1_PIE.
This commit is contained in:
parent
6dca4fd141
commit
5c383f0262
7 changed files with 38 additions and 0 deletions
|
@ -867,6 +867,8 @@
|
|||
#define DF_1_SYMINTPOSE 0x00800000
|
||||
#define DF_1_GLOBAUDIT 0x01000000
|
||||
#define DF_1_SINGLETON 0x02000000
|
||||
#define DF_1_STUB 0x04000000
|
||||
#define DF_1_PIE 0x08000000
|
||||
|
||||
/* Flag values for the DT_FLAGS entry. */
|
||||
#define DF_ORIGIN (1 << 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue