aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1995-02-24 14:42:30 -0800
committerJim Wilson <wilson@gcc.gnu.org>1995-02-24 14:42:30 -0800
commit0e089454b8dc1ddcf0f1d98023b27250c9d7b7d9 (patch)
treef80a5a9f3f4c13abbd2488045350168f0662a0f7
parentb02e2417a25a4be8acbd038ddda78ff81f3f5a29 (diff)
downloadgcc-0e089454b8dc1ddcf0f1d98023b27250c9d7b7d9.zip
gcc-0e089454b8dc1ddcf0f1d98023b27250c9d7b7d9.tar.gz
gcc-0e089454b8dc1ddcf0f1d98023b27250c9d7b7d9.tar.bz2
(CC1_SPEC): Don't output implicit -gstabs or -gcoff option
if user gave an explicit one. From-SVN: r9065
-rw-r--r--gcc/config/i960/i960.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h
index dc4ca45..f140f7f 100644
--- a/gcc/config/i960/i960.h
+++ b/gcc/config/i960/i960.h
@@ -53,12 +53,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define SIGNED_CHAR_SPEC "%{!fsigned-char:%{!mic*:-D__CHAR_UNSIGNED__}}"
#endif
-/* Specs for the compiler, to handle processor variations. */
+/* Specs for the compiler, to handle processor variations.
+ If the user gives an explicit -gstabs or -gcoff option, then do not
+ try to add an implicit one, as this will fail. */
#define CC1_SPEC \
"%{!mka:%{!mkb:%{!msa:%{!msb:%{!mmc:%{!mca:%{!mcc:%{!mcf:-mkb}}}}}}}}\
- %{mbout:%{g*:-gstabs}}\
- %{mcoff:%{g*:-gcoff}}\
- %{!mbout:%{!mcoff:%{g*:-gstabs}}}"
+ %{!gs*:%{!gc*:%{mbout:%{g*:-gstabs}}\
+ %{mcoff:%{g*:-gcoff}}\
+ %{!mbout:%{!mcoff:%{g*:-gstabs}}}}}"
/* Specs for the assembler, to handle processor variations.
For compatibility with Intel's gnu960 tool chain, pass -A options to