bfd porting
Laurent Pinchart
laurent.pinchart@capflow.com
Wed Mar 21 02:12:00 GMT 2001
Trying to port the bfd library for the TI tms320c6000 target, I
encountered the following problem with the following bit of the
external_auxent structure.
union
{
struct
{
char x_lnno[2]; /* declaration line number */
char x_size[2]; /* str/union/array size */
} x_lnsz;
char x_fsize[4]; /* size of function *
} x_misc;
TI replaced x_size[2] by x_size[4], and reomved the x_lnno field in the
x_lnsz structure for str/union/array descriptions. I can easily get
around this custom GET_LNSZ_LNNO and GET_LNSZ_SIZE macros, but there's
still another problem.
The internal_auxent structure codes x_lnno and x_size as unsigned short
integers (16 bits on i386), and thus the x_size field of the
internal_auxent structure can't contain the x_size field of the
external_auxtent structure.
Could anyone help me with that ?
Thanks in advance.
Laurent Pinchart
More information about the Binutils
mailing list