u-boot-brain/arch
Alexey Brodkin a67ef280f4 arc: build libgcc in U-Boot
This way we may have very limited set of functions implemented so we
save some space.

Also it allows us to build U-Boot for any ARC core with the same one
toolchain because we don't rely on pre-built libgcc.

For example:
 * we may use little-endian toolchain but build U-Boot for ether
endianess
 * we may use non-multilibbed uClibc toolchain but build U-Boot for
whatever ARC CPU flavour that current GCC supports

Private libgcc built from generic C implementation contributes only 144
bytes to .text section so we don't see significant degradation of size:
--->8---
$ arc-linux-size u-boot.libgcc-prebuilt
   text	   data	    bss	    dec	    hex	filename
 222217	  24912	 214820	 461949	  70c7d	u-boot.libgcc-prebuilt

$ arc-linux-size u-boot.libgcc-private
   text	   data	    bss	    dec	    hex	filename
 222361	  24912	 214820	 462093	  70d0d	u-boot.libgcc-private
--->8---

Also I don't notice visible performance degradation compared to
pre-built libgcc (where at least "*div*" functions are had-written in
assembly) on typical operations of downloading 10Mb uImage over TFTP and
bootm.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2015-02-09 16:41:20 +03:00
..
arc arc: build libgcc in U-Boot 2015-02-09 16:41:20 +03:00
arm Merge branch 'master' of git://git.denx.de/u-boot-ti 2015-02-02 12:37:34 -05:00
avr32 Kbuild: introduce Makefile in arch/$ARCH/ 2014-12-08 09:35:45 -05:00
blackfin Export redesign 2015-01-29 17:09:57 -07:00
m68k m68k: remove TASREG board 2015-01-13 09:37:21 -05:00
microblaze microblaze: Support stack protection feature 2015-01-21 10:33:07 +01:00
mips MIPS: unify CPU code in arch/mips/cpu/ 2015-01-30 14:19:58 +01:00
nds32 Kbuild: introduce Makefile in arch/$ARCH/ 2014-12-08 09:35:45 -05:00
nios2 Kbuild: introduce Makefile in arch/$ARCH/ 2014-12-08 09:35:45 -05:00
openrisc Kbuild: introduce Makefile in arch/$ARCH/ 2014-12-08 09:35:45 -05:00
powerpc crypto/fsl: Add fixup for crypto node 2015-01-23 22:29:14 -06:00
sandbox Merge branch 'patman' of git://git.denx.de/u-boot-x86 2015-01-31 12:40:48 -05:00
sh Replace <compiler.h> with <linux/compiler.h> 2014-12-08 09:35:46 -05:00
sparc Kbuild: introduce Makefile in arch/$ARCH/ 2014-12-08 09:35:45 -05:00
x86 x86: ivybridge: Drop the Kconfig MRC cache information 2015-01-24 06:13:46 -07:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig arc: build libgcc in U-Boot 2015-02-09 16:41:20 +03:00