Date: Wed, 2 Dec 2009 16:34:20 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/contrib/gcc/config freebsd-spec.h src/lib/csu/amd64 Makefile src/lib/csu/arm Makefile src/lib/csu/i386-elf Makefile crt1.c crt1_c.c crt1_s.S src/lib/csu/ia64 Makefile src/lib/csu/mips Makefile src/lib/csu/powerpc Makefile ... Message-ID: <200912021637.nB2GbQlg073542@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2009-12-02 16:34:20 UTC
FreeBSD src repository
Modified files:
contrib/gcc/config freebsd-spec.h
lib/csu/amd64 Makefile
lib/csu/arm Makefile
lib/csu/i386-elf Makefile
lib/csu/ia64 Makefile
lib/csu/mips Makefile
lib/csu/powerpc Makefile
lib/csu/sparc64 Makefile
Added files:
lib/csu/i386-elf crt1_c.c crt1_s.S
Removed files:
lib/csu/i386-elf crt1.c
Log:
SVN rev 200038 on 2009-12-02 16:34:20Z by kib
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
Revision Changes Path
1.27 +4 -4 src/contrib/gcc/config/freebsd-spec.h
1.20 +4 -1 src/lib/csu/amd64/Makefile
1.2 +4 -1 src/lib/csu/arm/Makefile
1.21 +19 -5 src/lib/csu/i386-elf/Makefile
1.16 +0 -113 src/lib/csu/i386-elf/crt1.c (dead)
1.1 +95 -0 src/lib/csu/i386-elf/crt1_c.c (new)
1.1 +44 -0 src/lib/csu/i386-elf/crt1_s.S (new)
1.13 +4 -1 src/lib/csu/ia64/Makefile
1.2 +4 -1 src/lib/csu/mips/Makefile
1.10 +4 -1 src/lib/csu/powerpc/Makefile
1.13 +4 -1 src/lib/csu/sparc64/Makefile
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912021637.nB2GbQlg073542>
