[PATCH] allow empty string as argument to -Map
Rasmus Villemoes
rv@rasmusvillemoes.dk
Wed Nov 4 11:13:20 GMT 2020
On 04/11/2020 12.07, Nick Clifton wrote:
> Hi Rasmus,
>
>> Yes, exactly, please see my original use case: I'd like some way to get
>> the build to produce map files for all the binaries/solibs etc.
>> generated, without patching each individual project's build system and
>> figuring out where to hook in.
>
> OK, so how about this:
>
> -Map=<file> Put the map into <file>. <file> can be relative or absolute.
> -Map=<dir> Put the map into <dir>/basename (outfile).map. Overwrites existing maps.
> -Map=% Put the map into (outfile).map. Includes all path components in (outfile)
>
> Would this work for you ?
>
Yes, absolutely. Thanks.
Rasmus
More information about the Binutils
mailing list