This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Update of gcc/config/alpha/elf.h
- From: Peter Barada <pbarada at mail dot wm dot sps dot mot dot com>
- To: mszick at goquest dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 3 Sep 2002 10:05:02 -0400
- Subject: Re: Update of gcc/config/alpha/elf.h
- References: <02090223312700.19712@localhost.localdomain>
>+/* use new GNU-AS debug options - dwarf2 unless told otherwise. */
>+#define ASM_SPEC "%{G*} %{relax:-relax}%{!gstabs*:-gdwarf2}%{gstabs*:-gstabs}"
You'll have a problem if someone specifies '-relax' since you didn't
leave a space to seperate it from the following options. The result
will be '-relax-gdwarf2' if -relax is specified and -gdwarf2 is not.
May I suggest:
+/* use new GNU-AS debug options - dwarf2 unless told otherwise. */
+#define ASM_SPEC "%{G*} %{relax:-relax }%{!gstabs*:-gdwarf2}%{gstabs*:-gstabs} "
--
Peter Barada Peter.Barada@motorola.com
Wizard 781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola) 781-270-0193 (fax)