freebsd-nq/lib/csu
Konstantin Belousov c09ba32715 Properly support -fPIE by linking PIE binaries with specially-built
Scrt1.o instead of crt1.o, since the later is built as non-PIC.

Separate i386-elf crt1.c into the pure assembler part and C code,
supplying all data extracted by assembler stub as explicit parameters [1].
Hide and localize _start1 symbol used as an interface between asm and
C code.

In collaboration with:	kan
Inspired by:	PR i386/127387 [1]
Prodded and tested by:	rdivacky [1]
MFC after:	3 weeks
2009-12-02 16:34:20 +00:00
..
amd64 Properly support -fPIE by linking PIE binaries with specially-built 2009-12-02 16:34:20 +00:00
arm Properly support -fPIE by linking PIE binaries with specially-built 2009-12-02 16:34:20 +00:00
common The __used (== __attribute__((__used)) ) silences the warning produced 2007-12-04 12:18:43 +00:00
i386-elf Properly support -fPIE by linking PIE binaries with specially-built 2009-12-02 16:34:20 +00:00
ia64 Properly support -fPIE by linking PIE binaries with specially-built 2009-12-02 16:34:20 +00:00
mips Properly support -fPIE by linking PIE binaries with specially-built 2009-12-02 16:34:20 +00:00
powerpc Properly support -fPIE by linking PIE binaries with specially-built 2009-12-02 16:34:20 +00:00
sparc64 Properly support -fPIE by linking PIE binaries with specially-built 2009-12-02 16:34:20 +00:00
Makefile.inc Fix build when WITH_SSP is set explicitly. 2009-02-21 15:04:31 +00:00