aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1993-05-11 21:07:56 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1993-05-11 21:07:56 +0000
commit17d47597a772387033e651e13476b2f16db243a1 (patch)
treea91b74301cb36f5b9a872d48718d767c5d2a24c3
parenta6665f8cf6bbb75674e2dd0512d0b7446b942e55 (diff)
downloadgcc-17d47597a772387033e651e13476b2f16db243a1.zip
gcc-17d47597a772387033e651e13476b2f16db243a1.tar.gz
gcc-17d47597a772387033e651e13476b2f16db243a1.tar.bz2
Pass correct -g<n> value for -gstabs, -gcoff, etc.
From-SVN: r4426
-rw-r--r--gcc/config/mips/iris3.h6
-rw-r--r--gcc/config/mips/mips.h6
-rw-r--r--gcc/config/mips/news4.h6
-rw-r--r--gcc/config/mips/ultrix.h6
4 files changed, 20 insertions, 4 deletions
diff --git a/gcc/config/mips/iris3.h b/gcc/config/mips/iris3.h
index 079da38..d807ccf 100644
--- a/gcc/config/mips/iris3.h
+++ b/gcc/config/mips/iris3.h
@@ -46,7 +46,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{pipe: %e-pipe is not supported.} \
%{mips1} %{mips2} %{mips3} \
%{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3} \
- %{g} %{g0} %{g1} %{g2} %{g3} %{v} %{K}} \
+ %{g} %{g0} %{g1} %{g2} %{g3} %{v} %{K} \
+ %{ggdb:-g} %{ggdb0:-g0} %{ggdb1:-g1} %{ggdb2:-g2} %{ggdb3:-g3} \
+ %{gstabs:-g} %{gstabs0:-g0} %{gstabs1:-g1} %{gstabs2:-g2} %{gstabs3:-g3} \
+ %{gstabs+:-g} %{gstabs+0:-g0} %{gstabs+1:-g1} %{gstabs+2:-g2} %{gstabs+3:-g3} \
+ %{gcoff:-g} %{gstabs0:-g0} %{gcoff1:-g1} %{gcoff2:-g2} %{gcoff3:-g3}} \
%{G*}"
#define LINK_SPEC "\
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index ae8a191..4597ed1 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -550,7 +550,11 @@ while (0)
%{EL: %e-EL not supported} \
%{mips1} %{mips2} %{mips3} \
%{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3} \
- %{g} %{g0} %{g1} %{g2} %{g3} %{v} %{K}} \
+ %{g} %{g0} %{g1} %{g2} %{g3} %{v} %{K} \
+ %{ggdb:-g} %{ggdb0:-g0} %{ggdb1:-g1} %{ggdb2:-g2} %{ggdb3:-g3} \
+ %{gstabs:-g} %{gstabs0:-g0} %{gstabs1:-g1} %{gstabs2:-g2} %{gstabs3:-g3} \
+ %{gstabs+:-g} %{gstabs+0:-g0} %{gstabs+1:-g1} %{gstabs+2:-g2} %{gstabs+3:-g3} \
+ %{gcoff:-g} %{gstabs0:-g0} %{gcoff1:-g1} %{gcoff2:-g2} %{gcoff3:-g3}} \
%{G*}"
#endif /* ASM_SPEC */
diff --git a/gcc/config/mips/news4.h b/gcc/config/mips/news4.h
index c535830..ba3ad1c 100644
--- a/gcc/config/mips/news4.h
+++ b/gcc/config/mips/news4.h
@@ -30,7 +30,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{EL: %e-EL not supported} \
%{mips1} %{mips2} %{mips3} \
%{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3} \
- %{g} %{g1} %{g2} %{g3} %{g0} %{v} %{K}} \
+ %{g} %{g1} %{g2} %{g3} %{g0} %{v} %{K} \
+ %{ggdb:-g} %{ggdb0:-g0} %{ggdb1:-g1} %{ggdb2:-g2} %{ggdb3:-g3} \
+ %{gstabs:-g} %{gstabs0:-g0} %{gstabs1:-g1} %{gstabs2:-g2} %{gstabs3:-g3} \
+ %{gstabs+:-g} %{gstabs+0:-g0} %{gstabs+1:-g1} %{gstabs+2:-g2} %{gstabs+3:-g3} \
+ %{gcoff:-g} %{gstabs0:-g0} %{gcoff1:-g1} %{gcoff2:-g2} %{gcoff3:-g3}} \
%{G*}"
#define SYSTEM_INCLUDE_DIR "/usr/include2.0"
diff --git a/gcc/config/mips/ultrix.h b/gcc/config/mips/ultrix.h
index 46d0fb9..7b98ae3 100644
--- a/gcc/config/mips/ultrix.h
+++ b/gcc/config/mips/ultrix.h
@@ -33,7 +33,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{EB: %e-EB not supported} \
%{mips1} %{mips2} %{mips3} \
%{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3} \
- %{g} %{g0} %{g1} %{g2} %{g3} %{v} %{K}} \
+ %{g} %{g0} %{g1} %{g2} %{g3} %{v} %{K} \
+ %{ggdb:-g} %{ggdb0:-g0} %{ggdb1:-g1} %{ggdb2:-g2} %{ggdb3:-g3} \
+ %{gstabs:-g} %{gstabs0:-g0} %{gstabs1:-g1} %{gstabs2:-g2} %{gstabs3:-g3} \
+ %{gstabs+:-g} %{gstabs+0:-g0} %{gstabs+1:-g1} %{gstabs+2:-g2} %{gstabs+3:-g3} \
+ %{gcoff:-g} %{gstabs0:-g0} %{gcoff1:-g1} %{gcoff2:-g2} %{gcoff3:-g3}} \
%{G*}"
#endif