Hi, Mark Thanks for the comments.
On 3/28/24 8:45 AM, Mark Wielaard wrote:
Hi Matheus, The only issue is that we like to keep libelf/elf.h synced with glibc elf/elf.h. Would it be possible/make sense to submit the elf.h changes to libc-alpha? Otherwise we should keep the new constants in some other file (maybe libelf/elf-knowledge.h)?
Ah, I see. We don't plan on supporting Hexagon on other libc's as of this moment, so it would be good if we can add these constants to libelf/elf-knowledge.h, like you suggested.
Is there a public psabi for Hexagon? Then including an URL to it would be helpful.
Yes, it's available at: https://lists.llvm.org/pipermail/llvm-dev/attachments/20190916/21516a52/attachment-0001.pdf
(I'll add it to the commit message as well.)
If possible you might want to include some simple test file. See tests/run-strip-reloc-ko.sh
Sure, will do! Thanks, Matheus