[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/30390] Allow to specify custom stub for PE binaries
From: |
pali at kernel dot org |
Subject: |
[Bug ld/30390] Allow to specify custom stub for PE binaries |
Date: |
Wed, 10 May 2023 17:42:45 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30390
--- Comment #2 from Pali Rohár <pali at kernel dot org> ---
Stub is executable code, I think it can be any valid binary in MZ format.
Restrictions about alignement or size would come from the MZ format itself.
About objcopy, I do not know about any way how to replace stub binary from
existing PE binary. I think that replacement is harder operation because
absolute offsets in PE structures needs to be adjusted when stub changes it
size.
--
You are receiving this mail because:
You are on the CC list for the bug.