[PATCH] allow empty string as argument to -Map

Nick Clifton nickc@redhat.com
Wed Nov 4 11:07:27 GMT 2020


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 ?

Cheers
  Nick



More information about the Binutils mailing list