Go to file
thorpej ee325b474f Back-port "spec functions" from GCC 3.3. Use if "if-exists()" spec
function to include crti.o/crtn.o in the STARTFILE and ENDFILE
specs, respectively.

Corresponding GCC ChangeLog entry:

2002-11-19  Jason Thorpe  <thorpej@wasabisystems.com>

        * gcc.c (The Specs Language): Document spec functions.
        (static_spec_functions, lookup_spec_function)
        (eval_spec_function, handle_spec_function)
        (if_exists_spec_function, alloc_args): New.
        (execute): Abort if processing_spec_function is true.
        (do_spec_1): Hand off spec to handle_spec_function if %:
        is encountered.  If processing_spec_function is true,
        end any pending argument when the end of the string is reached.
        (main): Use alloc_args to allocate the initial argument vector.
        * gcc.h (struct spec_function): New.
        (lang_specific_spec_functions): New extern.

        * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
        (ENDFILE_SPEC): Add if-exists(crtn%O%s).
        * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.
2002-11-19 04:46:12 +00:00
bin we can't do {} while (0) for TEST() macro since it has "break" which 2002-11-16 13:42:36 +00:00
crypto correct panic() condition - it was backwards. remove kame-local diff 2002-11-18 23:36:18 +00:00
dist sync with bind 8.3.4. 2002-11-17 14:09:52 +00:00
distrib Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX". 2002-11-18 12:39:43 +00:00
doc named is now 8.3.4 2002-11-17 14:37:47 +00:00
etc Separate snap_kern into three targets, to allow finer control over 2002-11-18 07:09:46 +00:00
games fix duplicate limerick-o in CLEANFILES 2002-10-22 16:14:04 +00:00
gnu Back-port "spec functions" from GCC 3.3. Use if "if-exists()" spec 2002-11-19 04:46:12 +00:00
include Update for 1003.1-2001 base and XSI changes. 2002-11-18 13:39:33 +00:00
lib make sure to bound string operation by strlcpy 2002-11-17 20:49:33 +00:00
libexec die if strdup fails 2002-11-16 15:41:17 +00:00
regress Add a couple of regression tests for dlerror() handling. 2002-11-14 21:10:45 +00:00
rescue set SMALLPROG=0 (it was implicit) 2002-10-17 01:49:18 +00:00
sbin use YHEADER instead of YFLAGS/CLEANFILES 2002-11-18 13:45:02 +00:00
share Fix a grammatical nit. 2002-11-19 04:16:02 +00:00
sys Alter config so that it emits a config_time.src file (the source file 2002-11-19 04:29:19 +00:00
tools PR/18733: Jed Davis: define _PATH_DEFTAPE; pax needs it. 2002-10-20 00:42:20 +00:00
usr.bin In getuptime(), use kread() to get the current time as well as boottime, 2002-11-18 03:17:24 +00:00
usr.sbin Alter config so that it emits a config_time.src file (the source file 2002-11-19 04:29:19 +00:00
build.sh Apply fixes & enhancements from Alan Barrett. (Thanks Alan!) 2002-11-17 12:59:37 +00:00
BUILDING regen for build.sh -k 2002-10-20 15:48:40 +00:00
Makefile MKDYNAMICROOT for a.out 2002-11-12 14:33:48 +00:00
Makefile.inc don't set KERNSRCDIR here; pull in <bsd.kernobj.mk> if you need it 2002-04-10 14:53:43 +00:00
UPDATING kernel update requires userland systrace recompile. 2002-10-11 21:55:48 +00:00