This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

[patch] coff: fix alignment issues when building on ARM


Hi!

Even though this patch aims at the 2.16.1 release of binutils it should apply
(and work!) to current HEAD as well as things have not changed in that area.
However, I understand that coff targets are of less interest...

The issue is the alignment/padding added on ARM, such that the effective size
(as reported by sizeof) is 2 bytes larger than the #define'd sizes. This causes
invalid coff files to be generated by gas. The attached patch fixed all problems
while building gcc packages for the h8300-hitachi-coff target.

Best,
Michael




Attachment: coff_arm.patch
Description: Text document

Attachment: pgp00000.pgp
Description: PGP signature


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