On Nov 14, 2019, Alexandre Oliva <ol...@adacore.com> wrote:

> %{!c:%{!S:-dumpbase %b}

Uhh, I failed to adjust this one to add the executable output name to
dumpbase.

Anyway, getting the right semantics out of specs is providing to be a
lot trickier than I had anticipated.  I'm now pondering a single spec
function to deal with all of these dumpbase possibilities.

I'm also a little uncertain about behavior change WRT .dwo files.
Though their names are built out of the .o files in the objcopy
commands, they're built from aux_base_name in dwarf2out.  Currently,
since aux_base_name is derived from the output object file name, this
ensures they have the same name and directory, but once we enable
-dumpdir to be specified to override it, that may no longer be the
case.  Ugh...

-- 
Alexandre Oliva, freedom fighter   he/him   https://FSFLA.org/blogs/lxo
Free Software Evangelist           Stallman was right, but he's left :(
GNU Toolchain Engineer    FSMatrix: It was he who freed the first of us
FSF & FSFLA board member                The Savior shall return (true);

Reply via email to