Better ld --fatal-warnings support
authorAlan Modra <amodra@gmail.com>
Fri, 30 Sep 2016 02:03:13 +0000 (11:33 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 30 Sep 2016 02:08:45 +0000 (11:38 +0930)
commit4519d071387f374932616b588ddb4ec8cabe2a52
treed2ef00842746410d31e5e60090dbea5e373f0ec1
parent52d45da3f275b5d1c8ef2e96a7760585c736133b
Better ld --fatal-warnings support

* ldmain.c (default_bfd_error_handler): New function pointer.
(ld_bfd_error_handler): New function.
(main): Arrange to call it on bfd errors/warnings.
(ld_bfd_assert_handler): Enable tail call.
ld/ChangeLog
ld/ldmain.c