You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And then loaded it using macaw-loader-ppc. Surprisingly, this fails with:
PPCTOCLoadError (MissingTOCSection ".opd")
And indeed, the compiled binary lacks an .opd section, unlike most other PPC64 binaries. I propose that we make macaw-loader-ppc less strict here. Specifically, it it encounters a PPC64 section without an .opd section, load it using the same code paths that one would use for PPC32 binaries (but using 64 bits instead of 32 bits).
The text was updated successfully, but these errors were encountered:
Using a
powerpc64-linux-musl-gcc
binary obtained from https://musl.cc/, I compiled the following simple binary:And then loaded it using
macaw-loader-ppc
. Surprisingly, this fails with:And indeed, the compiled binary lacks an
.opd
section, unlike most other PPC64 binaries. I propose that we makemacaw-loader-ppc
less strict here. Specifically, it it encounters a PPC64 section without an.opd
section, load it using the same code paths that one would use for PPC32 binaries (but using 64 bits instead of 32 bits).The text was updated successfully, but these errors were encountered: