aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorStan Cox <coxs@gnu.org>1995-10-02 20:42:45 +0000
committerStan Cox <coxs@gnu.org>1995-10-02 20:42:45 +0000
commitcbbb4649a507b31847142cce680b5a2f6bd5f638 (patch)
tree637a614fc3dc50d05de4a4a749d2283a9b344f7c /gcc
parent2cd2a93e7216cac40f1a292683009b017404a948 (diff)
downloadgcc-cbbb4649a507b31847142cce680b5a2f6bd5f638.zip
gcc-cbbb4649a507b31847142cce680b5a2f6bd5f638.tar.gz
gcc-cbbb4649a507b31847142cce680b5a2f6bd5f638.tar.bz2
config/m88k/dgux.h (ASM_SPEC, *_LEGEND)
From-SVN: r10417
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/m88k/dgux.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/gcc/config/m88k/dgux.h b/gcc/config/m88k/dgux.h
index e5eb4e8..807164e 100644
--- a/gcc/config/m88k/dgux.h
+++ b/gcc/config/m88k/dgux.h
@@ -43,17 +43,18 @@ Boston, MA 02111-1307, USA. */
/* Augment TARGET_SWITCHES with the MXDB options. */
#define MASK_STANDARD 0x40000000 /* Retain standard information */
-#define MASK_LEGEND 0x20000000 /* Retain legend information */
+#define MASK_NOLEGEND 0x20000000 /* Discard legend information */
#define MASK_EXTERNAL_LEGEND 0x10000000 /* Make external legends */
#define TARGET_STANDARD (target_flags & MASK_STANDARD)
-#define TARGET_LEGEND (target_flags & MASK_LEGEND)
+#define TARGET_NOLEGEND (target_flags & MASK_NOLEGEND)
#define TARGET_EXTERNAL_LEGEND (target_flags & MASK_EXTERNAL_LEGEND)
#undef SUBTARGET_SWITCHES
#define SUBTARGET_SWITCHES \
{ "standard", MASK_STANDARD }, \
- { "legend", MASK_LEGEND }, \
+ { "legend", -MASK_NOLEGEND }, \
+ { "no-legend", MASK_NOLEGEND }, \
{ "external-legend", MASK_EXTERNAL_LEGEND }, \
/* the following is used only in the *_SPEC's */ \
{ "keep-coff", 0 },
@@ -92,13 +93,14 @@ Boston, MA 02111-1307, USA. */
#define ASM_SPEC "\
%{V} %{v:%{!V:-V}} %{pipe:%{!.s: - }\
%{!msvr3:%{!m88110:-KV3 }%{m88110:-KV04.00 }}}\
-%{!mlegend:%{mstandard:-Wc,off}}\
-%{mlegend:-Wc,-fix-bb,-s\"%i\"\
+%{g:\
+%{mno-legend:-Wc,off}\
+%{!mno-legend:-Wc,-fix-bb,-s\"%i\"\
%{traditional:,-lc}%{!traditional:,-lansi-c}\
%{mstandard:,-keep-std}\
%{mkeep-coff:,-keep-coff}\
%{mexternal-legend:,-external}\
-%{mocs-frame-position:,-ocs}}"
+%{mocs-frame-position:,-ocs}}}"
/* Override svr4.h. */
#undef ASM_FINAL_SPEC
@@ -120,8 +122,8 @@ Boston, MA 02111-1307, USA. */
#undef LINK_SPEC
#define LINK_SPEC "%{z*} %{h*} %{V} %{v:%{!V:-V}} \
%{static:-dn -Bstatic} \
- %{shared:-G -dy -z text} \
- %{symbolic:-Bsymbolic -G -dy -z text} \
+ %{shared:-G -dy} \
+ %{symbolic:-Bsymbolic -G -dy} \
%{pg:-L/usr/lib/libp}%{p:-L/usr/lib/libp}"
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "%{!shared:%{!symbolic:%{pg:gcrt0.o%s} \
@@ -153,8 +155,7 @@ Boston, MA 02111-1307, USA. */
else \
fprintf (FILE, "\t%s\t \"%s\"\n", VERSION_ASM_OP, "03.00"); \
} \
- if (write_symbols != NO_DEBUG \
- && ! (TARGET_STANDARD && ! TARGET_LEGEND)) \
+ if (write_symbols != NO_DEBUG && !TARGET_NOLEGEND) \
{ \
fprintf (FILE, ";legend_info -fix-bb -h\"gcc-%s\" -s\"%s\"", \
VERSION_STRING, main_input_filename); \