summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2012-03-12 15:01:08 -0700
committerCary Coutant <ccoutant@google.com>2012-03-12 15:02:33 -0700
commit04cbe940943bc6a440abe18160d1fab81b653c26 (patch)
treea1b57b48df24fb9b16cf5d5163403910f0400021
parentbd1ab398467e6a7a5ecad3bb3485c56c500303e1 (diff)
downloadgcc-google/debugfission.tar.gz
Fix ASM_FINAL_SPEC for case where neither -c nor -o is used.google/debugfission
-rw-r--r--gcc/gcc.c4
1 files 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