diff options
author | athenian200 <athenian200@outlook.com> | 2019-10-02 19:51:00 -0500 |
---|---|---|
committer | athenian200 <athenian200@outlook.com> | 2019-10-21 04:53:42 -0500 |
commit | beea314ffe6c9cefeb232e9b38fcecf66154854f (patch) | |
tree | 3d7f8b703f779a89f696e0824294c8079f77e8bc /third_party/aom/examples/aom_cx_set_ref.c | |
parent | fca7c45a62542e0f625122222386cbee9b76243f (diff) | |
download | UXP-beea314ffe6c9cefeb232e9b38fcecf66154854f.tar UXP-beea314ffe6c9cefeb232e9b38fcecf66154854f.tar.gz UXP-beea314ffe6c9cefeb232e9b38fcecf66154854f.tar.lz UXP-beea314ffe6c9cefeb232e9b38fcecf66154854f.tar.xz UXP-beea314ffe6c9cefeb232e9b38fcecf66154854f.zip |
MoonchildProductions#1251 - Part 17: All the libffi and libxul.so issues, resolved.
https://bugzilla.mozilla.org/show_bug.cgi?id=1185424
http://www.mindfruit.co.uk/2012/06/relocations-relocations.html
The libxul.so fix was implemented by Mozilla in Firefox 57 and personally recommended to me by an Oracle employee on the OpenIndiana mailing list. It can easily be made ifdef XP_SOLARIS, but it seems like the new way is considered a better solution overall by the original author of the code that had it use that null pointer hack to begin with.
I can't link where I found the fix for libffi because I came up with it myself while looking at the way sysv.S does things. Something clicked in my brain while reading that mindfruit link above, though, and gave me enough of a sense of what was going on to be able to fix libffi.
The libffi fix looks a bit hairy because of all the FDE_ENCODE statements, but if you examine the code closely, you should find that it does exactly what it did before on all platforms besides Solaris. I later discovered that people who originally ported Firefox to Solaris never figured this out during the Firefox 52 era and had to use GNU LD for linking libxul.so while using the Sun LD for the rest of the build to make it work. For whatever reason, it works for me now without the GNU LD trick.
Diffstat (limited to 'third_party/aom/examples/aom_cx_set_ref.c')
0 files changed, 0 insertions, 0 deletions