OSDN Git Service

* gcc.c (static_spec_functions): Add if-exists-else spec
authorthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Nov 2002 00:31:31 +0000 (00:31 +0000)
committerthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Nov 2002 00:31:31 +0000 (00:31 +0000)
commit68d74c02e713f767c110e40e67a5a912a1a49c8a
treefb57bd2526716f6ab368a2f04bc887feb665ac9b
parent5eeaefacd3d5e8fc69575b6c8ef06cb0171607d7
* 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)".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59480 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/config/netbsd-elf.h
gcc/doc/invoke.texi
gcc/gcc.c