OSDN Git Service

* config/darwin.c (machopic_symbol_defined_p): In addition to
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Sep 2004 17:18:02 +0000 (17:18 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Sep 2004 17:18:02 +0000 (17:18 +0000)
commit8d8061599caf3caefb6dfbfb2f96ca91dcf10f54
tree9e41ebffeb3e69e887e931f907b91cf65b019361
parentfed47ac351552060672c552da670533940235d5f
* config/darwin.c (machopic_symbol_defined_p): In addition to
being SYMBOL_REF_LOCAL_P, a symbol must also be
! SYMBOL_REF_EXTERNAL_P, as only those are _always_ locally
defined in this output file, or translation unit in the case
of IMA not being used.
(machopic_output_indirection): SYMBOL_REF_LOCAL_P symbols
never need .indirect_symbol when indirecting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86915 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/darwin.c
gcc/testsuite/gcc.dg/visibility-b.c [new file with mode: 0644]