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]

Re: Add ARM linker option --no-wchar-size-warning


On Wed, Jul 09, 2008 at 10:02:41PM +0000, Joseph S. Myers wrote:
> The ARM linker has an option --no-enum-size-warning to avoid warning
> when linking objects whose EABI attributes specify different enum
> sizes, to be used in cases where the different sizes do not in fact
> affect the ABI used between the objects.
> 
> This patch adds a similar option --no-wchar-size-warning for the
> wchar_t mismatch diagnostic.  To match the enum diagnostic, the
> diagnostic is changed from an error to a warning, and is made to
> detail the particular wchar_t sizes involved in each object.
> Testcases are added for the various combinations of wchar_t sizes in
> input objects, with and without the new option.
> 
> Tested with no regressions with cross to arm-none-eabi.  OK to commit?

This is OK.

-- 
Daniel Jacobowitz
CodeSourcery


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