]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r200038:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 27 Dec 2009 20:39:58 +0000 (20:39 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 27 Dec 2009 20:39:58 +0000 (20:39 +0000)
commit8c0bcc5bda187fd5dcf923f1786ffa31e0b666fc
tree622f0081d5359a29826125b8d6fc37f4f0bf34fa
parent9c9cb001ab5d137c7c6af76d03c2fcc7083bf9b5
MFC r200038:
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.

git-svn-id: svn://svn.freebsd.org/base/stable/8@201058 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/gcc/config/freebsd-spec.h
lib/csu/amd64/Makefile
lib/csu/arm/Makefile
lib/csu/i386-elf/Makefile
lib/csu/i386-elf/crt1_c.c [moved from lib/csu/i386-elf/crt1.c with 83% similarity]
lib/csu/i386-elf/crt1_s.S [new file with mode: 0644]
lib/csu/ia64/Makefile
lib/csu/mips/Makefile
lib/csu/powerpc/Makefile
lib/csu/sparc64/Makefile