This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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}		\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]