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
..
2009-10-26 17:27:30 +00:00
2009-12-02 07:51:25 +00:00
2009-06-23 23:20:09 +00:00
2009-09-21 08:30:52 +00:00
2009-11-02 12:35:38 +00:00
2009-11-20 08:57:25 +00:00