make local functions in ecp_nistz256-sparcv9.S indeed local#9132
make local functions in ecp_nistz256-sparcv9.S indeed local#9132vladak wants to merge 1 commit intoopenssl:masterfrom
Conversation
|
Ideally this should be backported to 1.1.x branch. |
|
So a name scheme makes a difference? 'cause |
|
The main fix is removing |
|
Oh! Didn't see the .globl change... How about you reduce the change to just that, since that's the significant bit? |
fb65352 to
a771566
Compare
|
I split this into 2 changesets. |
|
The reason the fix works is quite simple: if the symbol is global, it could be overridden by another library so linker needs to cater for this, hence the relocation. There is very good explanation on https://eli.thegreenplace.net/2011/08/25/load-time-relocation-of-shared-libraries/ under the 'Extra credit' paragraph. For completeness, the object file was compiled like so: Notably, the compiler uses -KPIC. So, if the |
|
Individual CLA was submitted. |
|
The Oracle CCLA will need to be updated too. |
|
Yep, that's in the works.
Dne st 12. 6. 2019 11:22 uživatel Pauli <[email protected]> napsal:
… The Oracle CCLA will need to be updated too.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9132?email_source=notifications&email_token=AAWMMDC5M24QBWYBDLMZD5DP2C543A5CNFSM4HW6COW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXPZKGQ#issuecomment-501191962>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAWMMDE3IS2ZXVS23KLR2DLP2C543ANCNFSM4HW6COWQ>
.
|
|
Note that the CCLA does not need to be changed, just an updated "Schedule A" with the right list of names. The CLA file in the internal repo has the contact name for each company. |
|
I sent the individual CLA more than a week ago. Is this waiting on this or rather the corporate CLA ? |
|
The corporate CLA list of people who can contribute needs to have your name added to it. Both of these preventing merging. |
|
I'm still going to be picky about the internal symbol name changes. If that is to be done, it should happen across all sparc assembly files, not just one seemingly picked at random. That's an argument to make that kind of cleanup in a separate PR. |
a771566 to
e77791f
Compare
|
All right, I dropped the changeset and will file a new issue to track the naming changes. |
|
Thanks for obliging |
|
closing to kick the CLA bot |
|
Pushed to master and 1.1.1. Thanks. |
fixes #8936 Reviewed-by: Richard Levitte <[email protected]> Reviewed-by: Matt Caswell <[email protected]> (Merged from #9132) (cherry picked from commit 8613350)
fixes #8936 Reviewed-by: Richard Levitte <[email protected]> Reviewed-by: Matt Caswell <[email protected]> (Merged from #9132)
Fixes a linking issue on Solaris 11.4 by making all local functions to adhere to common scheme.
I used the
solaris64-sparcv9-ccbuild target and used Oracle Developer studio 12.5 + Solaris linker for building. e.g.libcrypto.sowas built like this:i.e. it used the
-z textoption that uncovered the problematicecp_nistz256_point_add_vis3function definition.