public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* Commit: MSP430: Add -mhwmult=none to build command line
@ 2014-11-21 11:55 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2014-11-21 11:55 UTC (permalink / raw)
  To: newlib

Hi Guys,

  I am applying the patch below to fix the build of newlib for the
  MSP430 target.  The problem here is that availability of hardware
  multiply support in the target is not known at build time, and so it
  cannot be relied upon.  Instead a software multiply function is used.
  The will make the library slightly slower, but also work properly for
  all MSP430 MCU types.

Cheers
  Nick
  
newlib/ChangeLog
2014-11-21  Nick Clifton  <nickc@redhat.com>

	PR target/63901
	* configure.host (msp430): Add -mhwmult=none to newlib_cflags.

Index: newlib/configure.host
===================================================================
RCS file: /cvs/src/src/newlib/configure.host,v
retrieving revision 1.137
diff -u -3 -p -r1.137 configure.host
--- newlib/configure.host	27 Jul 2014 14:37:10 -0000	1.137
+++ newlib/configure.host	21 Nov 2014 11:49:45 -0000
@@ -229,6 +229,7 @@ case "${host_cpu}" in
 	newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -DSMALL_MEMORY"
 	newlib_cflags="${newlib_cflags} -ffunction-sections -fdata-sections "
 	newlib_cflags="${newlib_cflags} -mOs "
+	newlib_cflags="${newlib_cflags} -mhwmult=none "
 	machine_dir=msp430
 	default_newlib_nano_malloc="yes"
 	;;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-21 11:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-21 11:55 Commit: MSP430: Add -mhwmult=none to build command line Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).