This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch for PE linker version stamp


I would like to suggest the following patch to allow a real linker version
stamp into PE binaries.

The version is stored in the vstamp member of AOUTHDR or equivalent
MajorLinkerVersion and MinorLinkerVersion of IMAGE_OPTIONAL_HEADER.

At the moment, all PE binaries are stamped with a generic "256" by BFD and
have been so for a long time. This makes it impossible to judge the status
of the tools that generated an unknown binary. A real stamp could help in
bug tracking, security issues, debugging tools, binary information tools
etc.

The only problem I can see with this patch is if it clash with binutils
version generation. Hope it works out.

thanks
Jerker Bäck



Attachment: linkerversion.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]