Page MenuHomeFreeBSD

Fix broken visibility for symbols declared by DEFINE_AEABI_FUNCTION_ALIAS().
ClosedPublic

Authored by mmel on Feb 16 2017, 1:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 24 2023, 11:59 PM
Unknown Object (File)
Dec 20 2023, 12:30 AM
Unknown Object (File)
Dec 11 2023, 7:45 AM
Unknown Object (File)
Dec 10 2023, 8:43 PM
Unknown Object (File)
Oct 19 2023, 10:29 PM
Unknown Object (File)
Oct 19 2023, 6:25 PM
Unknown Object (File)
Sep 22 2023, 4:29 AM
Unknown Object (File)
Sep 4 2023, 11:18 PM
Subscribers

Details

Summary

EFINE_AEABI_FUNCTION_ALIAS() macro uses '.set' directive for
declaration of aliased symbol. Unfortunately, '.set' doesn't
inherit visibility of base symbol, and macro don’t explicitly
sets visibility for aliased one.

Note: DEFINE_AEABI_FUNCTION_ALIAS() is used only for ARM,
so this change doesn't affect other architectures.

MFC after: 2 months

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mmel retitled this revision from to Fix broken visibility for symbols declared by DEFINE_AEABI_FUNCTION_ALIAS()..
mmel updated this object.
mmel edited the test plan for this revision. (Show Details)
mmel added reviewers: kib, dim.
mmel set the repository for this revision to rS FreeBSD src repository - subversion.
mmel added a subscriber: ARM.
andrew added a subscriber: andrew.

This should be sent upstream

This is already done upstream slightly differently: https://reviews.llvm.org/rL285478

I will just import that revision instead. Since it is from upstream, I see no harm in MFC'ing it after 3 days.

This revision was automatically updated to reflect the committed changes.

Please, do not do it.
This must be MFCed together with r313866 or we broke all packages.
And I want little more time to be sure that r313866 is OK.

In D9633#199282, @meloun-miracle-cz wrote:

Please, do not do it.
This must be MFCed together with r313866 or we broke all packages.
And I want little more time to be sure that r313866 is OK.

Sure, just ping me when you need it MFC'd, or you can do it yourself if you like.