]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/darwin-sections.def
re PR c++/46904 (g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail...
authorIain Sandoe <iains@gcc.gnu.org>
Mon, 20 Dec 2010 10:01:02 +0000 (10:01 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Mon, 20 Dec 2010 10:01:02 +0000 (10:01 +0000)
commit1f81953bf40331cc3822dd64fb0085cdcfe42e40
tree66092cda5751ac5a0efe044ef1182237e52e7f58
parent308e6f3a18de9e221825ef8b3eefa5c94a3ec853
re PR c++/46904 (g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9)

PR c++/46904
PR middle-end/46916
PR target/46950
* config/darwin.c (generating_for_darwin_version): New var.
(darwin_text_section): Remove.
(darwin_rodata_section): Do not check function section here.
(darwin_emit_unwind_label): Do not emit for Darwin >= 9.
Emit distinct labels for successive calls for the same decl.
(darwin_override_options): Set generating_for_darwin_version.
Add FIXME and disable -freorder-blocks-and-partition.
Suppress automatic asynchronous unwind tables for m32.
Switch off -freorder-blocks-and-partition when unwind tables
will be generated.  Update to use generating_for_darwin_version.
(darwin_function_section): Check for cases that need to be placed
in coalesced sections.
* config/darwin-sections.def: Define hot, cold, startup and exit sections
for both coalesced and regular code.
* config/darwin.h (USE_SELECT_SECTION_FOR_FUNCTIONS): Delete.
* config/darwin10.h (TARGET_ASM_EMIT_UNWIND_LABEL): Delete.

From-SVN: r168083
gcc/ChangeLog
gcc/config/darwin-sections.def
gcc/config/darwin.c
gcc/config/darwin.h
gcc/config/darwin10.h