aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2004-08-11 14:26:12 -0700
committerDevang Patel <dpatel@gcc.gnu.org>2004-08-11 14:26:12 -0700
commit5079843a2094412a6b25a23c1eeae4296d0ed15a (patch)
tree701d5540297509ffda24aa6d7e4b38eb2c62cc66 /gcc/doc
parent876f13b0bef8cb388df2fc1781dc7575590fc6b5 (diff)
downloadgcc-5079843a2094412a6b25a23c1eeae4296d0ed15a.zip
gcc-5079843a2094412a6b25a23c1eeae4296d0ed15a.tar.gz
gcc-5079843a2094412a6b25a23c1eeae4296d0ed15a.tar.bz2
darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -dead_strip and -no_dead_strip_inits_and_terms.
* config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -dead_strip and -no_dead_strip_inits_and_terms. (LINK_SPEC): Same. * doc/invoke.texi (Darwin Options): Document -dead_strip and -no_dead_strip_inits_and_terms. * gcc.dg/darwin-ld-20040809-1.c: New test. * gcc.dg/darwin-ld-20040809-2.c: New test. From-SVN: r85822
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index bf41ffb..9c2704a 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -407,13 +407,15 @@ in the following sections.
@gccoptlist{-all_load -allowable_client -arch -arch_errors_fatal @gol
-arch_only -bind_at_load -bundle -bundle_loader @gol
-client_name -compatibility_version -current_version @gol
+-dead_strip @gol
-dependency-file -dylib_file -dylinker_install_name @gol
-dynamic -dynamiclib -exported_symbols_list @gol
-filelist -flat_namespace -force_cpusubtype_ALL @gol
-force_flat_namespace -headerpad_max_install_names @gol
-image_base -init -install_name -keep_private_externs @gol
-multi_module -multiply_defined -multiply_defined_unused @gol
--noall_load -nofixprebinding -nomultidefs -noprebind -noseglinkedit @gol
+-noall_load -no_dead_strip_inits_and_terms @gol
+-nofixprebinding -nomultidefs -noprebind -noseglinkedit @gol
-pagezero_size -prebind -prebind_all_twolevel_modules @gol
-private_bundle -read_only_relocs -sectalign @gol
-sectobjectsymbols -whyload -seg1addr @gol
@@ -7008,6 +7010,7 @@ output file being linked. See man ld(1) for more information.
@itemx -client_name
@itemx -compatibility_version
@itemx -current_version
+@itemx -dead_strip
@itemx -dependency-file
@itemx -dylib_file
@itemx -dylinker_install_name
@@ -7027,6 +7030,7 @@ output file being linked. See man ld(1) for more information.
@itemx -multiply_defined
@itemx -multiply_defined_unused
@itemx -noall_load
+@items -no_dead_strip_inits_and_terms
@itemx -nofixprebinding
@itemx -nomultidefs
@itemx -noprebind
@@ -7065,6 +7069,7 @@ output file being linked. See man ld(1) for more information.
@opindex client_name
@opindex compatibility_version
@opindex current_version
+@opindex dead_strip
@opindex dependency-file
@opindex dylib_file
@opindex dylinker_install_name
@@ -7084,6 +7089,7 @@ output file being linked. See man ld(1) for more information.
@opindex multiply_defined
@opindex multiply_defined_unused
@opindex noall_load
+@opindex no_dead_strip_inits_and_terms
@opindex nofixprebinding
@opindex nomultidefs
@opindex noprebind