Add ARM linker option --no-wchar-size-warning
Daniel Jacobowitz
drow@false.org
Fri Jul 18 20:41:00 GMT 2008
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
More information about the Binutils
mailing list