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


On Monday 02 September 2002 11:31 pm, you wrote:
> 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}		\

In reply to my own suggestion (after a long nap)....
That isn't a very good idea.
Should handle all three cases: stabs, dwarf2, none.

Please hold the flames, I'll do better next time.
Mike


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