[ChangeLog missed with previous commit.]

* gcc.c (static_spec_functions): Add if-exists-else spec
function.
(if_exists_else_spec_function): New function.
* doc/invoke.texi: Document the if-exists-else spec function.

* config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): For -static, use
"%:if-exists-else(crtbeginT%O%s crtbegin%O%s)".

From-SVN: r59481
This commit is contained in:
Jason Thorpe 2002-11-26 00:36:19 +00:00
parent 152a5a9c94
commit 7c64a86005

View File

@ -1,3 +1,13 @@
2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
* gcc.c (static_spec_functions): Add if-exists-else spec
function.
(if_exists_else_spec_function): New function.
* doc/invoke.texi: Document the if-exists-else spec function.
* config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): For -static, use
"%:if-exists-else(crtbeginT%O%s crtbegin%O%s)".
2002-11-25 Jason Thorpe <thorpej@wasabisystems.com> 2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
* config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with * config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with