This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Update of gcc/config/alpha/elf.h
- From: Michael S. Zick <mszick at goquest dot com>
- To: GCC <gcc at gcc dot gnu dot org>
- Date: Mon, 2 Sep 2002 23:31:27 -0500
- Subject: Update of gcc/config/alpha/elf.h
Cross compiler woes,
While tring to build for an Alpha target, using binutils-2.13, I found that the debug flags had changed.
Since other parts of the compiler need binutils-2.12++ I didn't try to conditionalize the change.
gcc/config/alpha/ChangeLog
* elf.h (ASM_SPEC): Update debug flags.
--- gcc/config/alpha/elf.h.old Mon Sep 2 23:12:00 2002
+++ gcc/config/alpha/elf.h.new Mon Sep 2 23:16:49 2002
@@ -39,7 +39,8 @@
#define CC1_SPEC "%{G*}"
#undef ASM_SPEC
-#define ASM_SPEC "%{G*} %{relax:-relax} %{!gstabs*:-no-mdebug}%{gstabs*:-mdebug}"
+/* use new GNU-AS debug options - dwarf2 unless told otherwise. */
+#define ASM_SPEC "%{G*} %{relax:-relax}%{!gstabs*:-gdwarf2}%{gstabs*:-gstabs}"
#undef LINK_SPEC
#define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax} \