This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: as -gstabs does not work on ia64


Hi Andreas,

> How about this:
> 
>  	case OPTION_GSTABS:
> +#ifdef TC_IA64
> +	  as_fatal (_("--gstabs is not supported for ia64"));
> +#else
>  	  debug_type = DEBUG_STABS;
> +#endif
>  	  break;

I would prefer not to see target specific code enter the generic
sources like this.  (Even though it has been done elsewhere).  I would
prefer to see either the IA64 backend detecting that --gstabs had been
specified and issuing an error message (say during md_parse_args) or
else have tc-ia64.h define a macro which is then tested in
parse_args().

Cheers
        Nick


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