This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] New darwin linker options


This patch adds support for new darwin linker dead code stripping related options. Bootstrapped and tested on powerpc-darwin.

OK ?

Thanks,
-
Devang

2004-08-10 Devang Patel <dpatel@apple.com>

* config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -dead_strip
and -no_dead_strip_inits_and_terms.
(LINK_SPEC): Same.
* doc/invoke.text (Darwin Options): Document -dead_strip and
-no_dead_strip_inits_and_terms.


testsuite:

        gcc.dg/darwin-ld--20040809-1.c: New test.
        gcc.dg/darwin-ld-20040809-2.c: New test.


Attachment: 3739302.diff
Description: Binary data



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]