Since start.o may be compiled as PIC, we should check PIC instead of SHARED. Also avoid dynamic relocation against main in static PIE since _start is the entry point before the executable is relocated.
- sysdeps/i386/start.S (_start): Check Check PIC instead of SHARED. Avoid dynamic relocation against main in static PIE.
1e8e527 i386: Support static PIE in start.S
ChangeLog | 5 +++++
sysdeps/i386/start.S | 11 +++++++++--
2 files changed, 14 insertions(+), 2 deletions(-)