re PR debug/46749 (gcc.dg/debug/pr41893-1.c -gdwarf-2 testsuite failures on darwin)
authorMike Stump <mikestump@comcast.net>
Wed, 8 Dec 2010 20:11:05 +0000 (20:11 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Wed, 8 Dec 2010 20:11:05 +0000 (20:11 +0000)
commit11afe8e8c87cd525efbaab282b2c01d6a52e9d86
tree547569b1d1a28e530e730a8288aa2cc1a6d6fbb2
parentb8bf6ad91b81efc271a5c91c9db34af15e2a483c
re PR debug/46749 (gcc.dg/debug/pr41893-1.c -gdwarf-2 testsuite failures on darwin)

PR debug/46749
* config/darwin.h (COLLECT_RUN_DSYMUTIL): Add.
(DSYMUTIL_SPEC): Use `linker' flags instead to handle lto
better.
* config/darwin9.h (COLLECT_RUN_DSYMUTIL): Add.
(DSYMUTIL_SPEC): Use `linker' flags instead to handle lto
better.
* collect2.c (post_ld_pass): Add.
(process_args): Add.
(maybe_run_lto_and_relink): Call post_ld_pass after ld.
(main): Likewise.  Call process_args.

From-SVN: r167603
gcc/ChangeLog
gcc/collect2.c
gcc/config/darwin.h
gcc/config/darwin9.h