272461 |
03-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
245133 |
07-Jan-2013 |
kib |
Only assign the environ in the startup code when environ is NULL. Preloaded library could have changed the environment, and unconditional assingment to the environ undoes the customization. The binaries needs to be recompiled to get the fix.
Move the common code to set up environ and __progname into the helper. Note that ia64 possibly not fixed, due to it still using old csu.
Reported and tested by: John Hein <jhein@symmetricom.com> Reviewed by: kan, scf Approved by: secteam (simon) MFC after: 2 weeks
|
232832 |
11-Mar-2012 |
kib |
Stop calling _init/_fini methods from crt1 for dynamic binaries. Do call preinit, init and fini arrays methods from crt1 for static binaries.
Mark new crt1 with FreeBSD-specific ELF note.
Move some common crt1 code into new MI file ignore_init.c, to reduce duplication. Also, conservatively adjust nearby sources for style.
Reviewed by: kan Tested by: andrew (arm), flo (sparc64) MFC after: 3 weeks
|
216338 |
09-Dec-2010 |
dim |
Let all .c and .S files under lib/csu consistently use the __FBSDID() macro for identification, instead of several different hand-rolled variants (plain .ident, .ascii, etc).
|
204756 |
05-Mar-2010 |
uqs |
Properly declare non-extern functions in crt1
Also move the declarations after __progname consistently to make the distinction clearer.
Reviewed by: jmallett Approved by: ed (co-mentor)
|
200038 |
02-Dec-2009 |
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
|
163118 |
08-Oct-2006 |
kmacy |
Fix TLS on sparc64 for statically and dynamically linked binaries Approved by: rwatson (mentor) Reviewed by: jmg and marcel
|
133754 |
15-Aug-2004 |
dfr |
Add support for TLS in statically linked programs.
|
109908 |
26-Jan-2003 |
markm |
Very minor EOL whitespace diff-reducer.
|
109907 |
26-Jan-2003 |
markm |
Missed a bit of cleanup.
|
109905 |
26-Jan-2003 |
markm |
make these more useful for lint(1). Minor diff-reductions while I'm about it.
|
109903 |
26-Jan-2003 |
markm |
Remove the get_term() function. It pretty much can't work for FreeBSD, and makes ugly diffs with the other crt1.c's. Leave behind a comment (words supplied by Thomas Moestl) that explain the issue.
OK'ed by: tmm
|
103721 |
20-Sep-2002 |
markm |
Remove a prototype for a function that is no longer called.
|
102900 |
03-Sep-2002 |
jake |
Don't need to install the signal trampoline here anymore.
|
100872 |
29-Jul-2002 |
ru |
Drop support for COPY, -c has been the default mode of install(1) for a long time now.
Approved by: bde
|
100167 |
16-Jul-2002 |
markm |
The main reason for this is to reduce diffs between all the crt1.c's.
Assembler macros are tidied up and made as similar as sanely possible. The macros are translated into C (__inline static) functions for lint.
Declaration orders are made the same. Declarations are all ISOfied and tidied up.
Comment contents have gratuitous diffs removed.
The net result is a bunch of crt1.c's that are 90% the same. It may be possible to now encapsulate the differences in one MD header, and have only one MI crt1.c file (although the macros to do this may be ugly).
Helpful comments by: obrien, bde Alpha tested by: des i386-elf tested by: markm
|
96530 |
13-May-2002 |
ru |
Fixed CLEANFILES after bsd.lib.mk sweep.
|
96516 |
13-May-2002 |
ru |
SOBJS are not used here for a long time, and were just pessimising the `install'.
|
96512 |
13-May-2002 |
ru |
Major cleanup of bsd.lib.mk.
Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB. INTERNALLIB now means to build static library only and don't install anything. Added a NOINSTALLLIB knob for libpam/modules. To not build any library at all, just do not set LIB.
|
96463 |
12-May-2002 |
ru |
Revert the last change. The corresponding bsd.lib.mk changes were already backed out.
|
96411 |
11-May-2002 |
obrien |
Use the simpler NOMAN rather than NOMAN, NOPIC, NOPROFILE, INTERNALLIB.
|
96313 |
10-May-2002 |
obrien |
Use the compiler's crt{begin,end}.
|
95751 |
29-Apr-2002 |
jake |
Install the libc signal trampoline on startup.
|
94230 |
08-Apr-2002 |
obrien |
For now we are using our old crt{begin,end}.
|
93399 |
29-Mar-2002 |
markm |
Do not use __progname directly (except in [gs]etprogname(3)). Also, make an internal _getprogname() that is used only inside libc. For libc, getprogname(3) is a weak symbol in case a function of the same name is defined in userland.
|
92447 |
16-Mar-2002 |
obrien |
Revert part of rev 1.3 -- we need the calls to _init and _fini.
|
92033 |
10-Mar-2002 |
obrien |
Sync with csu/alpha/Makefile: build crt{i,n}.o. Leave crtbegin* to the compiler vendor.
|
91500 |
28-Feb-2002 |
obrien |
Minor style(9) nit + utilize ELF features for the FreeBSD ID.
|
91175 |
23-Feb-2002 |
tmm |
Initialize the libc user trap handlers before passing control non-startup code, so that the userland fp emulator will work.
|
89303 |
13-Jan-2002 |
jake |
Comment out the retrieval of a termination function from %g1. It is doubtful this will ever be used by anything and rtld uses %g1. Comment out references to _init and _fini for now too.
|
88581 |
28-Dec-2001 |
jake |
Fix typo (unclosed comment).
|
88001 |
15-Dec-2001 |
obrien |
Embelish CFLAGS.
|
88000 |
15-Dec-2001 |
obrien |
The instructions on doing something with src/lib/csu/sparc64.
|
87991 |
15-Dec-2001 |
obrien |
Sparc64 ELF version of the C runtime support. It tries to comply with the SCD 2.4.1 (and thus Sparc 64-bit psABI).
This is an amalgamation of the FreeBSD Alpha crt1.c and the BSD/OS Sparc crt0.c (which the copyright reflects).
|
85612 |
28-Oct-2001 |
obrien |
sparc64 verions of the crt initialization and finalization files required by the ELF ABI.
|