From: Devang Patel Date: Tue, 10 Dec 2002 20:20:47 +0000 (-0800) Subject: Add support for darwin linker options. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=48aec0bcc62585f949362e8c875fc039d306cb7f;p=platform%2Fupstream%2Fgcc.git Add support for darwin linker options. * config/darwin.h(LINK_SPEC): Add darwin specific linker options. * doc/invoke.texi: Add new "Darwin Options" section. From-SVN: r60010 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3b506ef..112e5a9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-12-10 Devang Patel + * config/darwin.h(LINK_SPEC): Add darwin specific linker options. + * doc/invoke.texi: Add new "Darwin Options" section. + 2002-12-10 Jim Wilson * rs6000.h (RETURN_IN_MEMORY): If ABI_V4, then TFmode is returned in diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 27ce49f..7997a46 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -84,11 +84,184 @@ Boston, MA 02111-1307, USA. */ #undef DEFAULT_PCC_STRUCT_RETURN #define DEFAULT_PCC_STRUCT_RETURN 0 +/* This table intercepts weirdo options whose names would interfere + with normal driver conventions, and either translates them into + standardly-named options, or adds a 'Z' so that they can get to + specs processing without interference. + + Do not expand a linker option to "-Xlinker -