[Darwin] Update darwin_binds_local_p.
authorIain Sandoe <iain@sandoe.co.uk>
Tue, 15 Oct 2019 20:15:38 +0000 (20:15 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Tue, 15 Oct 2019 20:15:38 +0000 (20:15 +0000)
commit6eee515142568bf25e0d99882bdf3cf5f49e97ec
treec5181ab9317038e609f53230e1f52ebd7c1c07e7
parent863950d280dd0bc02edce2e88484735cea5bd1c7
[Darwin] Update darwin_binds_local_p.

The use of default_binds_local_p had got out of sync with the varasm
changes, this restores the call to be direct.  In practice, we add some
further tests to determine local binding - but this callback is used for
the initial assessments made by default_encode_section_info().

gcc/ChangeLog:

2019-10-15  Iain Sandoe  <iain@sandoe.co.uk>

* config/darwin.c (darwin_binds_local_p): Update to call
default_binds_local_p_3 () directly. amend comments.

From-SVN: r277009
gcc/ChangeLog
gcc/config/darwin.c