xoofx/LibObjectFile

go build elf file, elf.write error Invalid ElfObjectFile

send010 opened this issue · 3 comments

go build a elf file
elf.write error:
Invalid ElfObjectFile
Error LB0154: Invalid PT_LOAD segment alignment requirements: (VirtualAddress - Range.Offset) & (Alignment - 1) == 128 while it must be == 0

image

Can you share the main ELF file? I don't think there's anything easily actionable without it.

main.zip

main file

i want to add a section to the elf file.