Commit e62f462e by Devang Patel Committed by Devang Patel

darwin.h (LINK_SPEC): Pass -nofixprebinding to linker.

gcc
        * config/darwin.h (LINK_SPEC): Pass -nofixprebinding to linker.
        * doc/invoke.texi: Document new Darwin linker option -nofixprebinding.
testsuite
        * gcc.dg/darwin-ld-6.c: New test.

From-SVN: r71259
parent 6fe055ae
2003-09-09 Devang Patel <dpatel@apple.com>
* config/darwin.h (LINK_SPEC): Pass -nofixprebinding to linker.
* doc/invoke.texi: Document new Darwin linker option -nofixprebinding.
2003-09-09 Eric Christopher <echristo@redhat.com>
* configure.in: Change usage of 'head' to 'sed 1q'.
......
......@@ -246,7 +246,7 @@ Boston, MA 02111-1307, USA. */
%{Zmulti_module:-multi_module} %{Zsingle_module:-single_module} \
%{Zmultiply_defined*:-multiply_defined %*} \
%{Zmultiplydefinedunused*:-multiply_defined_unused %*} \
%{prebind} %{noprebind} %{prebind_all_twolevel_modules} \
%{prebind} %{noprebind} %{nofixprebinding} %{prebind_all_twolevel_modules} \
%{read_only_relocs} \
%{sectcreate*} %{sectorder*} %{seg1addr*} %{segprot*} %{seg_addr_table*} \
%{Zseg_addr_table_filename*:-seg_addr_table_filename %*} \
......
......@@ -447,7 +447,7 @@ in the following sections.
-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 -nomultidefs -noprebind -noseglinkedit @gol
-noall_load -nofixprebinding -nomultidefs -noprebind -noseglinkedit @gol
-pagezero_size -prebind -prebind_all_twolevel_modules @gol
-private_bundle -read_only_relocs -sectalign @gol
-sectobjectsymbols -whyload -seg1addr @gol
......@@ -7668,6 +7668,7 @@ output file being linked. See man ld(1) for more information.
@item -multiply_defined
@item -multiply_defined_unused
@item -noall_load
@item -nofixprebinding
@item -nomultidefs
@item -noprebind
@item -noseglinkedit
......@@ -7724,6 +7725,7 @@ output file being linked. See man ld(1) for more information.
@opindex multiply_defined
@opindex multiply_defined_unused
@opindex noall_load
@opindex nofixprebinding
@opindex nomultidefs
@opindex noprebind
@opindex noseglinkedit
......
2003-09-09 Devang Patel <dpatel@apple.com>
* gcc.dg/darwin-ld-6.c: New test.
2003-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-explog-1.c: New testcase.
......
/* Test Darwin linker option -nofixprebinding. */
/* Developed by Devang Patel <dpatel@apple.com>. */
/* { dg-options "-nofixprebinding" } */
/* { dg-do link { target *-*-darwin* } } */
int main()
{
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment