[PATCH] D42516: [llvm-objcopy] Add support for large indexes

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 22 12:21:13 PST 2018


Jake Ehrlich via Phabricator via llvm-commits
<llvm-commits at lists.llvm.org> writes:

> jakehehrlich added a comment.
>
> In https://reviews.llvm.org/D42516#1015427, @emaste wrote:
>
>> In https://reviews.llvm.org/D42516#1015414, @jakehehrlich wrote:
>>
>> > You can download the zip file that I'm using here: https://drive.google.com/file/d/1u6W1mUHkFBPsLzEV4u50M_BeiPKMyipM/view?usp=sharing
>>
>>
>> Thanks for this. It demonstrates some particularly poor behaviour in ELF Tool Chain's elfcopy (so, if anyone's comparing objcopy versions, there's not much value in including ELF Tool Chain right now).
>
>
> I had to commit many atrocities to make that file. I actually have a desire for a yaml2obj like tool that would let me construct ELFs more succinctly. That binary was produced by getting as close as I could with a generated .s and then using many different tools to tweak the results. It wasn't pretty.

Out of curiosity, what properties does it have in addition to what lld's
many-sections.s provide?

Cheers,
Rafael


More information about the llvm-commits mailing list