Commit Graph

13 Commits

Author SHA1 Message Date
Jordan K. Hubbard
38f4fb1525 Support for more Sun compatible dlopen() and friends. Also added proper error
handling.
Reviewed by:    gj
Submitted by:   Mark Diekhans <markd@grizzly.com>
1995-02-07 13:27:29 +00:00
Andrey A. Chernov
54335ac349 Change level of setlocale hack enabling from compile option STARTUP_LOCALE
to check (via getenv) environment variable "ENABLE_STARTUP_LOCALE" at
runtime.
Submitted by: me per Bruce suggestion
1994-09-19 02:00:21 +00:00
Andrey A. Chernov
f32a347542 Add (#ifdef'ed by STARTUP_LOCALE) following line to crt0.c
(void) setlocale(LC_ALL, "");

It will be easiest way now to make national chars available
for all ctype-oriented programs at once by simple:

setenv LANG Your_National_Charset

Default case (without "LANG" environment
variable) will be fully ANSI compatible (got "C" locale).

If "LANG" variable present, extention becomes active.

Effect of this extention is great: in one time all ctype
oriented programs can accept/print national characters
without any touching source/binary code, it is big win, IMHO.

This method is fully compatible with ISO8859-* and russian koi8-r
too (in general -- with all 8-bit character sets). I think
it is very useful.
I got this idea from Xenix locale implementation.

This extention is even never compiled in, unless you set
	setenv STARTUP_LOCALE
before rebuilding crt0.c or corresponding variable in /etc/make.conf
1994-09-18 22:21:04 +00:00
Bruce Evans
459e429cab Remove dead code. gmon stuff is now done better in libc/gmon an
<machine/profile.h>.  The old version was writing an incomplete
header without the profrate field that is necessary to handle the
current faster profiling clock.  The counters that are where the
the profrate should be are usually 0 and gprof converts a profrate
of 0 to hz so the old version gave times too large by a factor of
profhz/hz = 10.24.
1994-08-22 15:13:41 +00:00
Nate Williams
f2523a7e72 From Jordan via. Paul K.
This fixes the problems Warner's having with ctors not being called
again with the latest round of ld changes and updates the file-names to what
Paul is using now.

The name change will not affect anything as we are not (yet) using it.
1994-03-09 17:12:59 +00:00
Jordan K. Hubbard
4344c041d1 Adding embryonic C++ shared lib support (all tests positive so far). 1993-12-24 02:11:37 +00:00
Andrey A. Chernov
fe596e6795 -r option incorrectly removed:
it is impossible to make gcrt0.o from moncrt0.o and gmon.o without it.
1993-11-18 00:08:03 +00:00
Paul Richards
b2c0440d02 Removed all the ld -x -r stuff -- paranoia. 1993-11-16 02:22:16 +00:00
Paul Richards
bfa077712f shlib update:
Can get rid of local symbols with "ld -x -r" again.
Made LDSO #ifdef DEBUG.
1993-11-09 04:26:11 +00:00
Paul Richards
423a102938 Removed install -d line since our install doesn't support the -d
option.
1993-11-07 03:05:40 +00:00
Paul Richards
44d76bb777 Added shared libs support from NetBSD. 1993-11-04 01:09:18 +00:00
Charlie Root
dcd59e0868 Added ${COPY} knob to the install commands 1993-07-03 00:21:21 +00:00
Rodney W. Grimes
5b81b6b301 Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:58:17 +00:00