On 01/10/2017 03:51 PM, Jakub Jelinek wrote:
Hi!
ASM_DEBUG_SPEC uses usually %{g:%{!g0:--gdwarf2}} or something similar.
In the past, it used to be %{g:--gdwarf2}. Both have problems (and thus
this is also a regression). The problem with the current ASM_DEBUG_SPEC
is that if one uses -g0 -g,
Hi!
ASM_DEBUG_SPEC uses usually %{g:%{!g0:--gdwarf2}} or something similar.
In the past, it used to be %{g:--gdwarf2}. Both have problems (and thus
this is also a regression). The problem with the current ASM_DEBUG_SPEC
is that if one uses -g0 -g, which normally means that -g overrides -g0,
we