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 |
||
---|---|---|
.. | ||
amd64 | ||
arm | ||
common | ||
i386-elf | ||
ia64 | ||
mips | ||
powerpc | ||
sparc64 | ||
Makefile.inc |