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
{{ message }}
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.
Hello, I have been trying to use BOLT with a 64-bit BE ELF but got the error below: BOLT-ERROR: only 64-bit LE ELF binaries are supported
Here are some header info of my ELF:
`ELF Header:
Class: ELF64
Data: 2's complement, big endian
OS/ABI: UNIX - System V
Type: REL (Relocatable file)
Machine: AArch64`
As it is not possible to change my ELF into 64-bit LE, does it posible to make BOLT support ELF64BE by modifying the source code? And how can I modity it?
The text was updated successfully, but these errors were encountered:
That's an interesting question, I've never tested that. I think we will break badly in some places if we just accept big endian. If I'm not mistaken we have explicit little endian writing when we patch some places. But I might be wrong and it could be easier than I think.
I would pay extra attention to support::ulittle code in BOLT, and also some templates we specialize when reading ELF object files.
Hello, I have been trying to use BOLT with a 64-bit BE ELF but got the error below:
BOLT-ERROR: only 64-bit LE ELF binaries are supported
Here are some header info of my ELF:
`ELF Header:
Class: ELF64
Data: 2's complement, big endian
OS/ABI: UNIX - System V
Type: REL (Relocatable file)
Machine: AArch64`
As it is not possible to change my ELF into 64-bit LE, does it posible to make BOLT support ELF64BE by modifying the source code? And how can I modity it?
The text was updated successfully, but these errors were encountered: