Not enough space for the new segment in the file header
Re: Not enough space for the new segment in the file header
yeah, sorry for whong -L usage, but i still cannot fix this issue
Re: Not enough space for the new segment in the file header
Try add -headerpad 0x500 for ld:
http://www.vmpsoft.com/forum/viewtopic. ... 008#p10521
http://www.vmpsoft.com/forum/viewtopic. ... 008#p10521
Re: Not enough space for the new segment in the file header
The GNU linker(ld) hasnt -headerpad flag(or same): https://linux.die.net/man/1/ld
lld(llvm linker), too. Mac OS using own linker also called "ld" with another flags: https://www.unix.com/man-page/osx/1/ld/ (and only it has headerpad)
lld(llvm linker), too. Mac OS using own linker also called "ld" with another flags: https://www.unix.com/man-page/osx/1/ld/ (and only it has headerpad)
Re: Not enough space for the new segment in the file header
Could you send us a test example (original binary) that shows your problem?
Re: Not enough space for the new segment in the file header
Yes, here is the example: https://0x0.st/s3Pf.soAdmin wrote:Could you send us a test example (original binary) that shows your problem?