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]

Re: Update of gcc/config/alpha/elf.h


>+/* 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)


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