Commit Graph

95 Commits

Author SHA1 Message Date
itojun 99b0df5333 use MACIHNE_CPU to determine architecture-dependent source code directory.
is use of exists(foo) safe enough?
TODO: many other places to fix
2001-01-08 08:29:59 +00:00
itojun f039f89ec5 prepare for sh3e[bl] split 2001-01-04 06:53:45 +00:00
bjh21 5aefcfdc06 Create shared ARM source for libc, and move arm26 port over to using it.
The code is (almost) a direct copy of the current arm26 sources.
It's identical to the current arm32 sources, with the following exceptions:
 - _C_LABEL is used on references to C labels from assembler.
 - Function returns in assembler have APCS-26 versions in #ifdef __APCS_26__.
 - It uses SoftFloat 2a rather than SoftFloat 1a.

The first two of these should be inconsequential.  I believe that SoftFloat 2a
should work on arm32 and be backward-compatible with existing code, but this
is not obviously true.  For now, arm32 remains using its own bits of libc.
2000-12-29 20:13:44 +00:00
christos 0c0e139779 Ignore empty translation unit errors. 2000-12-20 21:13:56 +00:00
christos ee788dacd9 Don't enable lin's exit on warnings yet. It'll break most ports. 2000-08-13 23:26:12 +00:00
christos 0aee707a3b add -w to ctags. got finally tired of looking at all those dup error messages
that nobody will ever fix.
2000-08-13 22:43:28 +00:00
fvdl 7df0ccbadc Add new RPC code, based on Sun's TI-RPC code. Adapted to not use XTI,
but sockets instead, internally. Old, backward compatible interfaces
maintained.
2000-06-02 23:11:05 +00:00
minoura 78b105698a Move dl* function definitions to libc on ELF.
Based on the patch supplied by Takuya Shiozaki <tshiozak@astec.co.jp>.
See http://mail-index.netbsd.org/tech-userlevel/2000/02/23/0000.html.
2000-04-02 15:35:47 +00:00
itojun ed15f9831a move -DINET6 upwards, into lib/libc/Makefile.
- we need it for lib/libc/rpc soon
- this is not clear to add CPPFLAGS in subdir/Makefile.inc (as it affect other
  subdirs as well)
2000-01-26 02:46:36 +00:00
mycroft 44ea18f69f Fix the tags build. 2000-01-23 07:10:13 +00:00
jdolecek 09f91c86b6 Add czech language message catalog 1999-09-26 20:27:59 +00:00
tv 7b36f54b99 Revert part of previous and use C/// instead of S/// for mipse[bl]->mips. 1999-02-27 21:21:26 +00:00
drochner 338f565814 -this fancy S/mipse[bl]/mips/ didn't work - replace it by something simple
-generate an ARCHSUBDIR which contains the last path element
-use ${ARCHSUBDIR} instead of ${MACHINE_ARCH} where appropriate
1999-02-24 15:00:08 +00:00
tv 5592ec7573 Remap mipse[bl] to mips when finding arch directory. 1999-02-09 19:30:03 +00:00
explorer b131132411 add sha1 functions, like md5/4 1999-02-04 05:08:58 +00:00
bouyer dc306354b0 Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
lukem de3b78d72a merge nsswitch into main branch 1999-01-15 12:48:41 +00:00
eeh c0d0251b80 sparc doesn't need quad support when running in 64-bit mode either. 1998-11-28 17:01:54 +00:00
kleink 81fe96fbf1 Add _LIBC to the set of preprocessor symbols defined in the libc build
environment; used by source files shared with other parts of the userland
to determine whether certain conventions need to be obeyed or not.
1998-10-14 19:19:32 +00:00
perry 1801e92fce add strchr.c, strrchr.c, memmove.c, memcpy.c, to KSRC for copy to libkern. 1998-08-04 05:55:56 +00:00
mycroft 3bd6c97c08 Enable quad support on PowerPC. 1998-05-06 18:12:35 +00:00
cgd e989882802 add bcopy.c to KSRCS, to sync with charles's libkern changes 1998-03-27 01:29:47 +00:00
mikel aa97080b50 fix typo in comment 1998-03-04 08:17:20 +00:00
cgd f32681cab6 copy memchr.c, index.c, and rindex.c to libkern 1998-01-22 00:17:11 +00:00
lukem d0e23d974a - use CPPFLAGS instead of CFLAGS
- use ${COMPILE.C} ... instead of ${CC} ${CFLAGS} -c ...
1997-10-22 23:14:04 +00:00
lukem 5542a7ca43 - define WARNS?=1 in the top-level Makefile.inc, and don't define
anywhere else.
- for now, override WARNS=0 in librpcsvc and libwrap, until they're
  cleaned up
- rcsid police

lib is now clean (except for librpcsvc and libwrap) on the i386, and
this should motivate the other ports to fix any other minor problems
that their compilers pick up that the i386 version doesn't.
1997-10-09 14:36:17 +00:00
veego 344a043fcf Build with warnings enabled on m68k systems. 1997-07-18 10:52:36 +00:00
thorpej a323ef09ba Build with warnings enabled on the Alpha. 1997-07-18 00:28:15 +00:00
christos ca04b1a733 Add WARNS=1 for the sparc and the i386 1997-07-13 18:36:23 +00:00
mikel 6e6ba705f1 add ${.OBJDIR}/tags to CLEANFILES 1997-06-19 06:12:10 +00:00
christos d5538cb536 Try to fix the tags mess.
- Build in obj/tags
- Only create ${.CURDIR}/tags if 'make tags' is specify.
- ${.CURDIR}/tags is a symlink to /var/db/libc.tags
1997-06-04 23:11:54 +00:00
christos 7c2d8cb288 Use ${.CURDIR}/tags instead of tags. `tags' is .PHONY so it gets rebuilt
all the time.
1997-05-12 16:41:03 +00:00
thorpej 7938ddd169 Add md5c.c to the list of files to copy-to-libkern. 1997-04-30 00:43:08 +00:00
ragge 7196037f1c Svensk meddelandekatalog, ursprungligen skriven av Martin Kullberg.
(frolix@ludd.luth.se)
1997-04-28 21:36:45 +00:00
is 7c37cb4c4b Compile the Dutch message catalog. 1997-04-28 09:00:20 +00:00
is 03a704030c Added Norwegian libc error messages/signal names, donated by Stig
Venaas <venaas@nvg.ntnu.no>.
1997-04-28 08:49:31 +00:00
is 9659f9a2a0 Finnish libc error message/signal name catalog, by Jukka Marin and coworker. 1997-04-17 18:12:47 +00:00
thorpej 6deb3cf346 oops, add missing quotes 1997-03-29 21:01:36 +00:00
thorpej d4c81d9c0f Don't need to build quad stuff on PowerPC. 1997-03-29 21:00:40 +00:00
christos 8259dd08d6 Makefile cleanups:
use INCS variable to install includes and FILES to install objects.
1997-03-24 22:11:48 +00:00
hpeyerl 37c622153f Remove as per discussion with core. 1997-03-10 20:51:01 +00:00
perry e1f7d360a1 Initial cut of Canadian national language support 1997-03-10 20:17:43 +00:00
hpeyerl 7cfeaf46a0 Color me bored. 1997-03-10 19:07:19 +00:00
thorpej 1355adcf18 Build the MD4/MD5 sources. 1997-01-30 01:02:17 +00:00
cgd a143ed9a3f set LLIBS to nothing, so we don't try to lint the C libarary against
itself when creating llib-lc.ln.
1996-12-19 07:52:52 +00:00
jtc 16b4b96ae0 Add -D_REENTRANT to CFLAGS 1996-11-07 19:15:22 +00:00
thorpej 7f9ea0f2ed Use ${INSTALL}. 1996-10-18 05:45:01 +00:00
jtc 1e6bbdf957 Add memcmp.c and memset.c to KSRCS (files copied to libkern). 1996-08-15 22:36:59 +00:00
jtc c47925a6fb Added spanish language message catalog from Jesus M. Gonzalez <jgb@ordago.uc3m.es> 1995-11-23 02:20:59 +00:00
jtc aa9022195f Add French libc message catalog by Matthieu Herrb <matthieu@abel.laas.fr> 1995-10-09 03:58:02 +00:00