From 48aec0bcc62585f949362e8c875fc039d306cb7f Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 10 Dec 2002 12:20:47 -0800 Subject: [PATCH] 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 --- gcc/ChangeLog | 4 ++ gcc/config/darwin.h | 186 +++++++++++++++++++++++++++++++++++++++++++++++++++- gcc/doc/invoke.texi | 155 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 342 insertions(+), 3 deletions(-) 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 -