]> gcc.gnu.org Git - gcc.git/commit
Darwin : Only emit Objective-C section switches for older linkers.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 3 Oct 2020 12:51:29 +0000 (13:51 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 10 Oct 2020 16:23:10 +0000 (17:23 +0100)
commitbb675539ba2f661c6bfab258847b41798a449432
tree69b462b93a43b79af0a08f8d663bf0db0683b3d4
parentecd616f68067cca5e7051c8872b76311b09d8f45
Darwin : Only emit Objective-C section switches for older linkers.

At one time, the system linkers needed to have at least a dummy
entry for every Objective-C section in use.  This removes the extra
emitted code when it is not needed by the linker.

gcc/ChangeLog:

* config/darwin.c (output_objc_section_asm_op): Avoid extra
objective-c section switches unless the linker needs them.
gcc/config/darwin.c
This page took 0.059634 seconds and 6 git commands to generate.