https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63901
Bug ID: 63901
Summary: msp430 multilib must distinguish mhwmult
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: pab at pabigot dot com
The msp430 target has an option -mhwmult that is used to select among emulated
and hardware-assisted multiplication capabilities. Because this option does
not contribute to the selection of multilib an application built for
-mhwmult=f5series linking with newlib will reference a strtoul implementation
that is built for a default -mhwmult=16. Since the 16-bit multiply peripheral
does not exist on an F5 series MCU, the processor will fault.