ru
a8adf98c82
Drop support for COPY, -c has been the default mode of install(1)
...
for a long time now.
Approved by: bde
2002-07-29 09:40:17 +00:00
markm
bedd05ccec
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
2002-07-16 12:28:50 +00:00
markm
38e70a1e48
Whitespace diffs only; this brings this file into the same whitespace
...
convention as src/lib/csu/*/crt1.c.
This will make the follow up diffs easier to see and extract.
2002-07-03 14:42:39 +00:00
obrien
525ac715e0
WARNS=6'ify.
...
Style nits.
2002-06-25 18:05:16 +00:00
obrien
67a607d79f
Prototype _start.
...
Submitted by: markm
Mark some _start formal parameters __unused.
2002-06-25 18:01:12 +00:00
obrien
c6615f0631
Use .rodata section for $FreeBSD$.
2002-05-15 04:19:49 +00:00
ru
661f00368b
Fixed CLEANFILES after bsd.lib.mk sweep.
2002-05-13 15:28:00 +00:00
ru
690ae48517
SOBJS are not used here for a long time, and were just
...
pessimising the `install'.
2002-05-13 11:51:11 +00:00
ru
dc9ee40833
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.
2002-05-13 10:53:24 +00:00
ru
77ac6c7e64
Revert the last change. The corresponding bsd.lib.mk changes were
...
already backed out.
2002-05-12 16:21:23 +00:00
obrien
d2df975828
Use the simpler NOMAN rather than NOMAN, NOPIC, NOPROFILE, INTERNALLIB.
2002-05-11 17:45:03 +00:00
obrien
a90cd41ca2
Use the compiler's crt{begin,end}.
2002-05-10 01:36:29 +00:00
obrien
81b47fd2bc
Fix the copyright dates.
2002-05-07 18:07:43 +00:00
jake
2fb2df4097
Install the libc signal trampoline on startup.
2002-04-29 20:25:29 +00:00
bde
0dd30d20d3
Removed "-fkeep-inline-functions" from CFLAGS, since it now has no effect
...
except to generate spurious warnings about a system header <sys/param.h>
having some inline functions (the bswap family). This backs out the main
part of rev.1.5 (which was the only part left). The problem fixed by
rev.1.5 of the Makefile went away in rev.1.5 of ../common/crtbegin.c
when the references to do_ctors() and do_dtors() in the latter were moved
from inline asm to C code.
This leaves the problem that implementation details cause warnings.
Discussed with: jdp
2002-04-29 13:07:20 +00:00
obrien
36d8f389da
Style nit and modernize SCM ID.
2002-04-13 21:54:09 +00:00
obrien
3d5625e8b9
For now we are using our old crt{begin,end}.
2002-04-08 20:31:20 +00:00
markm
76fe441a7b
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.
2002-03-29 22:43:43 +00:00
obrien
8cb84dc7fa
Style nit.
2002-03-23 18:14:20 +00:00
obrien
133b5a805b
Remove prototype, no other crt1.c has or needs it.
2002-03-23 18:14:04 +00:00
obrien
3a56951869
Remove __P() usage.
2002-03-22 09:16:59 +00:00
obrien
6399259994
Remove __P() usage.
2002-03-21 23:43:04 +00:00
obrien
2442cd3075
Revert part of rev 1.3 -- we need the calls to _init and _fini.
2002-03-16 20:38:46 +00:00
obrien
f458f10478
Sync with csu/alpha/Makefile: build crt{i,n}.o.
...
Leave crtbegin* to the compiler vendor.
2002-03-10 23:33:49 +00:00
obrien
88a86c89ad
Minor style(9) nit + utilize ELF features for the FreeBSD ID.
2002-02-28 19:45:34 +00:00
obrien
4aa32f31fc
Minor style(9) nit + utilize ELF features for the FreeBSD ID.
2002-02-27 22:13:02 +00:00
obrien
fafeecdcea
We do not support the sparc platform.
2002-02-27 21:59:16 +00:00
obrien
498d713c75
Minor WS change to improve readability.
2002-02-27 21:53:27 +00:00
tmm
e7deebe9ff
Initialize the libc user trap handlers before passing control non-startup
...
code, so that the userland fp emulator will work.
2002-02-23 21:47:20 +00:00
obrien
60e24208f0
GC code that moved to crtbrand.c.
2002-01-28 19:02:34 +00:00
jake
3f719eddda
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.
2002-01-13 06:17:19 +00:00
jake
4b91e746b4
Fix typo (unclosed comment).
2001-12-28 17:55:15 +00:00
obrien
4a701250c9
Embelish CFLAGS.
2001-12-15 21:41:11 +00:00
obrien
2fffd47816
The instructions on doing something with src/lib/csu/sparc64.
2001-12-15 21:36:30 +00:00
obrien
994cab589b
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).
2001-12-15 18:54:06 +00:00
peter
af02d0d48f
Put in an attempt at stack trace/unwind records.
2001-11-03 06:31:27 +00:00
peter
e6400f83f7
Mostly cosmetic. Use indentation that is reasonably close to other
...
ia64 *.S files in our tree (eg: locore.s). Put the rest of the args
in the .section lines.
Reviewed by: dfr
2001-10-29 10:18:58 +00:00
peter
43153baeec
Update for the new toolchain. ld doesn't provide _GLOBAL_OFFSET_TABLE_
...
in 2.11.2, so use a relocatable method of calculating gp.
Reviewed by: dfr
2001-10-29 10:14:51 +00:00
obrien
eb6a23a09f
sparc64 verions of the crt initialization and finalization files required
...
by the ELF ABI.
2001-10-28 00:20:34 +00:00
peter
c014a2100f
Add missing crti.S and crtn.S files. I have tested these with -static
...
linking only. They may require some gp relative tweaks for dynamic use.
2001-10-27 10:10:45 +00:00
obrien
e299f0598d
Sync with other platforms.
2001-10-27 08:32:07 +00:00
obrien
ab164bcc75
minor style updating
2001-10-27 08:30:36 +00:00
obrien
679fe89052
Update for reality and syncing with other FreeBSD platforms.
2001-10-27 08:29:03 +00:00
obrien
401cae0ddc
Feh, it helps to include a file other than yourself... wonder how
...
GCC cpp liked that.
Properly include the branding info.
2001-10-27 08:25:32 +00:00
obrien
83e21bd3fa
Fix nit in copyright.
2001-10-26 06:45:10 +00:00
obrien
481222884e
Use the new machine-independent versions of crtbegin and crtend
...
from the "common" directory.
2001-10-26 06:39:54 +00:00
dfr
f075c7df77
Change to track the new calling convention for execve. This version only
...
needs one line of assembler to initialise gp.
2001-10-11 12:33:05 +00:00
dfr
d280a62e1c
Make sure stack is aligned to 16 bytes.
2001-08-21 16:53:23 +00:00
ru
95ce4d2cdc
Removed duplicate VCS ID tags, as per style(9).
2001-08-13 14:06:34 +00:00
mp
eb299211ae
Fix compilation errors by adding forward declarations and fix typo.
2001-07-31 16:10:51 +00:00