Project

General

Profile

Actions

Bug #10022

open

hidden symbols should be seen as local when converting objcaps to symcaps

Added by Rich Lowe over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
tools - gate/build tools
Start date:
2018-11-30
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

When converting object capabilities to symbol capabilities, we have to decide on symbol visibility earlier than would normally be the case.
Currently, we treat hidden symbols as global since they still are, but only because we have not yet reduced them. We should treat them as if they were local already.

There is an implementation of this at https://github.com/illumos/illumos-gate/compare/master...richlowe:ld/group-symcaps?expand=1
but I don't plan to go further unless/until I can be sure it's actually the right thing to be doing.

It is possible we should explicitly only do this when reduction is happening (-Breduce or otherwise FLG_OF_PROCRED).

No data to display

Actions

Also available in: Atom PDF