diff options
Diffstat (limited to 'include/coff')
-rw-r--r-- | include/coff/ChangeLog | 6 | ||||
-rw-r--r-- | include/coff/ti.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index 4aa9dc10774..5b9e45c8f19 100644 --- a/include/coff/ChangeLog +++ b/include/coff/ChangeLog @@ -1,3 +1,9 @@ +2009-09-05 Martin Thuresson <martin@mtme.org> + + * ti.h (GET_LNSZ_SIZE, PUT_LNSZ_SIZE): Updated name of class + variable to in_class to match changes in function that use this + macro. + 2009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com> Fix references past allocated memory for i386-*-go32. diff --git a/include/coff/ti.h b/include/coff/ti.h index b7cc5843397..50fa01bc2e5 100644 --- a/include/coff/ti.h +++ b/include/coff/ti.h @@ -476,10 +476,10 @@ union external_auxent { /* lnsz size is in bits in COFF file, in bytes in BFD */ #define GET_LNSZ_SIZE(abfd, ext) \ - (H_GET_16 (abfd, ext->x_sym.x_misc.x_lnsz.x_size) / (class != C_FIELD ? 8 : 1)) + (H_GET_16 (abfd, ext->x_sym.x_misc.x_lnsz.x_size) / (in_class != C_FIELD ? 8 : 1)) #define PUT_LNSZ_SIZE(abfd, in, ext) \ - H_PUT_16 (abfd, ((class != C_FIELD) ? (in) * 8 : (in)), \ + H_PUT_16 (abfd, ((in_class != C_FIELD) ? (in) * 8 : (in)), \ ext->x_sym.x_misc.x_lnsz.x_size) /* TI COFF stores offsets for MOS and MOU in bits; BFD expects bytes |