mirror of
https://github.com/opnsense/src.git
synced 2026-03-15 07:02:32 -04:00
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. Hide and localize _start1 symbol used as an interface between asm and C code. |
||
|---|---|---|
| .. | ||
| crt1.c | ||
| crti.S | ||
| crtn.S | ||
| Makefile | ||