From 04cbe940943bc6a440abe18160d1fab81b653c26 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Mon, 12 Mar 2012 15:01:08 -0700 Subject: Fix ASM_FINAL_SPEC for case where neither -c nor -o is used. --- gcc/gcc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/gcc.c b/gcc/gcc.c index 9d493948a32..8132f5d2b26 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -483,10 +483,10 @@ proper position among the other output files. */ #define ASM_FINAL_SPEC \ "%{gfission: \n\ objcopy --extract-dwo \ - %{c:%{o*:%*}%{!o*:%b%O}}%{!c:%g%O} \ + %{c:%{o*:%*}%{!o*:%b%O}}%{!c:%U%O} \ %{c:%{o*:%:replace-extension(%{o*:%*} .dwo)}%{!o*:%b.dwo}}%{!c:%b.dwo} \n\ objcopy --strip-dwo \ - %{c:%{o*:%*}%{!o*:%b%O}}%{!c:%g%O} \ + %{c:%{o*:%*}%{!o*:%b%O}}%{!c:%U%O} \ }" #endif -- cgit v1.2.1