Commit Graph

91729 Commits

Author SHA1 Message Date
tv 95407c5758 Use !finite() instead of isinf() in two places for better compatibility. 2002-01-31 22:30:20 +00:00
kleink 12135360cf fcntl(..., F_GETOWN, ...): fix LP64-BE bug; raised by der Mouse
on tech-kern.
2002-01-31 22:17:33 +00:00
chris ec20568993 If TOOLDIR is not set just use the standard objdump and size commands. Also check that there is a netbsd file. chmod the output netbsd file, and display the size info for it. 2002-01-31 21:50:06 +00:00
tv 6061a17df3 itbl-parse ends in .y; itbl-lex in .l. 2002-01-31 21:15:08 +00:00
reinoud c8f5e8e49c Initial `machdep.booted_kernel' support as a string flag on the boot
arguments since otherwise RiscOS file names must be parsed.
2002-01-31 21:01:40 +00:00
tv e413f98bb4 In the generated C file, don't assume that <sys/cdefs.h> exists. Instead,
imply it with the <stdlib.h> include already present in the file, and
provide a compatibility definition for __P().
2002-01-31 21:01:15 +00:00
christos 373820b6f3 fix inconsistencies with USEAPP; centralize the flags check so that we
don't have to deal with it in the future.
2002-01-31 20:15:14 +00:00
tv 76834aef57 Protect __RCSID and __COPYRIGHT from being invoked if not defined. 2002-01-31 19:36:47 +00:00
tv 6980d8094a Use setprogname() in main(). 2002-01-31 19:33:50 +00:00
tv dd39a6001e Provide a placebo default for ALIGN() for hosts which don't have this. 2002-01-31 19:33:27 +00:00
tv d08ddf4732 Make it possible for cap_mkdb to be a host tool. 2002-01-31 19:32:11 +00:00
tv c187f70e67 Make this compilable as a host tool. 2002-01-31 19:31:31 +00:00
tv 47b0d14e39 Protect __RCSID and __COPYRIGHT from being invoked if not defined. 2002-01-31 19:27:53 +00:00
tv c72d58a899 Make this compilable as a host tool. 2002-01-31 19:26:34 +00:00
tv 554a73a4ce Include config.h for host tool; protect __RCSID. 2002-01-31 19:24:47 +00:00
tv cce248537b Make this compilable as a host tool. 2002-01-31 19:23:50 +00:00
tv 2004638500 Include config.h unconditionally; clean up. 2002-01-31 19:23:14 +00:00
tv eee751dc15 Define NOID to eliminate the rcsid. 2002-01-31 19:22:40 +00:00
tv 4ada663465 Provide a default string so host tools that forget to call setprogname()
won't accidentally segfault just trying to print a usage message.
2002-01-31 19:21:58 +00:00
tv f4554f775d Make sure there are no weak references in libnbcompat (avoids linker
confusion issues).
2002-01-31 19:20:14 +00:00
tv 880a2cf970 These sources are pulled into makefs(8), so we need config.h and protection
for __KERNEL_RCSID().
2002-01-31 19:19:22 +00:00
tv 5d28098c5b Revert previous. This is actually being done a better way. 2002-01-31 19:18:18 +00:00
tv 8ec192426e For makefs, only include <machine/bswap.h> if it exists. 2002-01-31 19:17:02 +00:00
tv af3dca1ea8 #undef MAXNAMLEN before defining it; this lets ufs/ufs/dir.h be used
properly on non-NetBSD hosts with makefs(8).
2002-01-31 19:16:34 +00:00
tv 805ab35e68 Make it possible for uudecode to be a host tool. 2002-01-31 19:15:23 +00:00
tv 641ef06659 Make it possible for ctags to be a host tool. 2002-01-31 19:13:12 +00:00
tv 5b071d154b Conditionally define M4 so it can be used as a host tool. 2002-01-31 19:12:43 +00:00
tv 084822fde7 * Use setprogname() in main().
* Don't grossly abuse getopt(); allow only -l and -L after filenames are
  encountered, and do the parsing of these options manually.
2002-01-31 19:09:33 +00:00
christos 6c041e0dc7 Frederic Bruckman spotted a missing _C_LABEL. 2002-01-31 18:03:44 +00:00
uch 9455834f75 update MINYEAR 2002-01-31 17:57:43 +00:00
uch ace35e63ce clean up header file. 2002-01-31 17:56:33 +00:00
christos d47da1254f Fix comments. 2002-01-31 17:41:38 +00:00
christos 7ea0ddda43 - fix hex constant in transmeta code to fit 32 bits.
- char assignment should be '\0'
- factor out some common strings
2002-01-31 17:40:51 +00:00
christos f71c29c50a More sanity checks to avoid looking at unitialized memory. 2002-01-31 17:37:25 +00:00
christos fc92c2f743 Be more verbose about teleports, and fix a minor problem in autobot mode. 2002-01-31 17:35:52 +00:00
uwe 4495f84bf9 Driver for pckbc in javastations. Not finished yet. 2002-01-31 17:34:51 +00:00
uch 280ef43573 remove unneeded code and data. 2002-01-31 16:27:35 +00:00
uch ff91f975fc if RB_HALT is setted, don't load kernel. 2002-01-31 16:25:54 +00:00
tv 87ed89b8e3 Make sure MAKEINFO is defined, as it appears that toolchain/texinfo is not
auto-built.
2002-01-31 15:25:08 +00:00
tv 5ab7a8d3e1 Remove g= override. 2002-01-31 15:24:36 +00:00
tv 6f9b615f48 Make sure DESTDIR is defined before attempting to use it in a dependency. 2002-01-31 15:21:09 +00:00
tv 2b7bf32264 Make sure DESTDIR is set before using it in a dependency. 2002-01-31 15:16:21 +00:00
reinoud b27c26ce1c Add include/arm/swi.h for SoftWareInterrupt base chunks. These chunchs
define the offsets of various operating systems chunks to enable
interworking / emulation.
2002-01-31 15:00:56 +00:00
reinoud 1511c4fe53 Dont forget libarm32.so in the setlist 2002-01-31 14:57:00 +00:00
reinoud 4881b77e47 Update set lists to include include/acorn32/int_* files and clean up a bit. 2002-01-31 14:55:25 +00:00
tsutsui 51dc78b6ee Add -Wno-main to CFLAGS for SA_PROGs. 2002-01-31 14:30:49 +00:00
is 48c749a49a fix typo 2002-01-31 14:27:29 +00:00
uwe 13d8e231d8 Fix KBS_WARM comment. 2002-01-31 13:25:20 +00:00
pk ce3fe4630a Fix the bug addressed in revision 1.27 properly. Analysis of the problem
(see also PR#15179):

  When looking up names which directory components (i.e. having slashes,
  except when of the form `./name'), FindFile()/DirLookup() first looks
  the final filename component in the cache for each directory on the search
  path and then proceeds to match the prefixed directory components by
  comparing them to the trailing directory components of the the search
  path being probed.

  This is not correct. When looking for `bar/target' in a path `.../src/foo',
  you want it to come up with `.../src/foo/bar/target' (if it exists). There's
  no point in comparing the the `bar' prefix on the target to the `foo' suffix
  on the search path. Indeed, this will cause a false match if those prefix
  and suffix components are actually equal and search path itself also has a
  file called `target'. For example, looking for `foo/target' in `.../src/foo'
  will spuriously match `.../src/foo/target', not `.../src/foo/foo/target'.

  This last bug prompted the change in dir.c, rev 1.27, which happens
  to partially workaround it by avoiding the above matching code in the
  case of the `curdir' search path entry (at the cost of incurring an
  exorbitant amount of cache misses). The situation is unchanged however,
  when processing other entries on the search path (e.g. those other than
  `dot' and `cur').

Drop the prefix matching code in DirLookup() entirely and use DirFindDot()
and DirLookup() only for names without proper directory components (i.e.
`target' and `./target). Otherwise, non-absolute names are dealt with by
DirLookupSubdir(), while absolute names can be checked for an exact match
of the directory components prefix against the directories on the current
search path. This allows for the use of the file cache to check the
existence of the file and additionally, provides a shortcut out of
Dir_FindFile() if we have the prefix match but not a cache entry (this
is especially beneficial for searches in .CURDIR when it's not equal
to `dot').
2002-01-31 12:38:34 +00:00
uwe 39f110f6f7 Auto-configuration output formatting nit.
Don't start the attachment message on a new line.
2002-01-31 11:51:25 +00:00