[PATCH v3 1/2] ld: Add support for a new option, -exclude-symbols, in COFF object file directives

Nick Clifton nickc@redhat.com
Mon Aug 1 11:11:33 GMT 2022

Hi Martin,

> This maps to the same as ld's --exclude-symbols command line option,
> but allowing specifying the option via directives embedded in the
> object files instead of passed manually on the command line.
> ---
> v2: Fixed parsing multiple comma separated symbols. While pe_dll_add_excludes
> does tokenize the string, the symbol tokens in deffilep.y don't
> include commas, so we need to handle that at that level.
> v3: Added an x86_64 testcase too, changed i*86 into i?86 in the testcases.

Patch approved - please apply.


More information about the Binutils mailing list