pyelftools
pyelftools copied to clipboard
Missing constants DT_LOPROC, DT_PPC_GOT
You're missing the following constants:
DT_LOPROC = 0x70000000,
DT_PPC_GOT = DT_LOPROC + 0
They're listed here in the glibc
source: https://sourceware.org/git/?p=glibc.git;a=blob;f=elf/elf.h;h=6d3b356f14dd3aac53370c26d63ab631c438c3a3;hb=HEAD#l2383
This is a non-trivial fix because DT_PPC_GOT will be a key as will DT_LOPROC. Because they're the same some workaround is required. There are a few other cases like this, if I fix those I will also add a fix for this
I believe this can be fixed now after 7371660 and 5fc2c25 landed
@zachriggle is this still an issue?