This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: [PATCH] bfd_target_xcoff_flavour
- To: nsd at cygnus dot com
- Subject: Re: [PATCH] bfd_target_xcoff_flavour
- From: Geoff Keating <geoffk at cygnus dot com>
- Date: Fri, 12 May 2000 14:47:28 -0700
- CC: binutils at sourceware dot cygnus dot com
- References: <200005121928.TAA08242@nog.bosbc.com>
> 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>