diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2019-10-07 20:21:50 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2019-10-07 20:21:50 +0000 |
commit | b393e5ede4064d6c2da289ed0b66b8e80e033c54 (patch) | |
tree | 7326f49dbe32842f47e93a6bb38ca358a6293717 /gcc/tree-if-conv.c | |
parent | 2161a445d1c129bf2faa031bd862fa4fe3a4121b (diff) | |
download | gcc-b393e5ede4064d6c2da289ed0b66b8e80e033c54.zip gcc-b393e5ede4064d6c2da289ed0b66b8e80e033c54.tar.gz gcc-b393e5ede4064d6c2da289ed0b66b8e80e033c54.tar.bz2 |
[Darwin, machopic 1/n] Consider visibility in indirections.
For weak, hidden vars the indirection should just be as normal, that
is that the indirections for such symbols should appear in the non-lazy
symbol pointers table, not in the .data section.
gcc/ChangeLog:
2019-10-07 Iain Sandoe <iain@sandoe.co.uk>
* config/darwin.c (machopic_output_indirection): Don't put
hidden symbol indirections into the .data section, use the
non-lazy symbol pointers section as normal.
(darwin_encode_section_info): Record if a symbol is hidden.
* config/darwin.h (MACHO_SYMBOL_FLAG_HIDDEN_VIS): New.
(MACHO_SYMBOL_HIDDEN_VIS_P): New.
From-SVN: r276675
Diffstat (limited to 'gcc/tree-if-conv.c')
0 files changed, 0 insertions, 0 deletions