Displaying 3 results from an estimated 3 matches for "elf64le".
2017 Nov 13
4
How to objcopy via LLVM toolchain for armv7e-m ELF32LE?
Hi LLVM developers,
As PR35281 mentioned:
$ llvm-objcopy -O binary llvm-cortex-m7.elf llvm-cortex-m7.bin
llvm-objcopy: 'llvm-cortex-m7.elf': The file was not recognized as a
valid object file.
if (ELFObjectFile<ELF64LE> *o =
dyn_cast<ELFObjectFile<ELF64LE>>(&Binary))
https://github.com/llvm-mirror/llvm/blob/master/tools/llvm-objcopy/llvm-objcopy.cpp#L200
Please give me some hints about objcopy armv7e-m ELF32LE via LLVM
toolchain, thanks a lot!
--
Regards,
Leslie Zhai - https://reviews.ll...
2017 Jun 06
3
llvm-objcopy proposal
...of it going
forward. The plan right now is just to worry about ELF executables and
nothing else. I'm very sympathetic to the "llvm-objtool" change. If
everyone is cool with it I'll change the name in the next CL to
"llvm-objtool".
To start out I implemented a very basic ELF64LE specific bit of code. I'm
currently looking for reviewers on it. The phabricator link is here:
https://reviews.llvm.org/D33964. I'd like to find people willing to review
this as I work on this going forward as well. I haven't bothered worrying
about it but I imagine that this will templ...
2017 Jun 02
2
llvm-objcopy proposal
On Fri, Jun 2, 2017 at 2:34 PM, Ed Maste via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> One additional use case for you: converting from a binary to an ELF object
> file
> ```
> objcopy -I binary -O elf64-x86-64 foo.bin foo.o
> ```
> This is sometimes used for embedding binary files for use by drivers and
> such.
>
Yea, unfortunately the command-line you