This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: PATCH SCNHSZ/FILHSZ/RELSZ usage
You are correct, I provide different backend structures in coff-ti*.c. The
variations of the COFF flavor also vary the endian-ness of the headers.
Tim
Ian Lance Taylor wrote:
> Date: Thu, 13 Jan 2000 15:58:20 -0500
> From: Timothy Wall <twall@tiac.net>
>
> This patch replaces usage of the constant SCNHSZ/FILHSZ/RELSZ macros
> with dynamic lookups. This allows a particular BFD implementation to
> have variants of these field sizes. Specifically, different versions of
> TI COFF have different sizes for these fields.
>
> I think you must be writing the coff-ti*.c file(s) in a strange way
> for this to make any difference. Do you have multiple copies of the
> bfd_coff_backend_data struct in that file? Or do you update the
> struct at runtime?
>
> Ian