This is the mail archive of the binutils@sourceware.cygnus.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]

Re: [PATCH] bfd_target_xcoff_flavour


> Date: Fri, 12 May 2000 19:28:03 GMT
> From: "Nick Duffek <Nick Duffek"<nsd@cygnus.com>
> 
> GDB needs to distinguish between XCOFF and XCOFF64 files.
> 
> The appended patch accomplishes that by adding an xcoff64 flag to struct
> xcoff_tdata.
> 
> Okay to apply?

> --- bfd/coffcode.h	2000/05/06 01:41:50	1.41
> +++ bfd/coffcode.h	2000/05/09 19:11:53
> @@ -1731,6 +1731,11 @@
>        struct xcoff_tdata *xcoff;
>  
>        xcoff = xcoff_data (abfd);
> +# ifdef U803XTOCMAGIC
> +      xcoff->xcoff64 = internal_f->f_magic == U803XTOCMAGIC;
> +# else
> +      xcoff->xcoff64 = 0;
> +# endif

How could U803XTOCMAGIC not be declared?

Otherwise OK.

-- 
- Geoffrey Keating <geoffk@cygnus.com>

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