https://sourceware.org/bugzilla/show_bug.cgi?id=30145
Bug ID: 30145 Summary: No way to specify PE IMAGE_SCN_* characteristics Product: binutils Version: 2.39 Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: pali at kernel dot org Target Milestone: --- In some cases, mostly for debugging purposes, it is needed to change or overwrite default PE section characteristics (IMAGE_SCN_* flags). But after reading gcc, ld and objcopy documentation, I did not find any way how to achieve it. Microsoft linker link.exe allows to specify custom characteristics via /SECTION: command line option. Something like this should be supported by ld and objcopy. -- You are receiving this mail because: You are on the CC list for the bug.