[U-Boot] [PATCH v3 0/9] enable thumb for tegra20

Allen Martin amartin at nvidia.com
Wed Aug 15 23:38:52 CEST 2012


Add changes necessary to enable thumb compilation for tegra20.  This
series includes two patches to work around a bug in gas that
incorrectly optimizes short jumps in thumb mode that were posted
separately.  They can be dropped from this series when they are applied.

This patch series is also available from:
git://github.com/arm000/u-boot.git
branch: tegra-thumb-v3

Changes:
v3:
 - rebased on top of v8 of SPL series
 - added linkage macro patch to _thumb1_case_uqu from Stephen Warren

Allen Martin (9):
  tools, config.mk: add binutils-version
  arm: work around assembler bug
  tegra20: remove inline assembly for u32 cast
  arm: add _thumb1_case_uqi to libgcc
  arm: use thumb compatible return in arm720t
  arm: change arm720t to armv4t
  arm720t: add linkage macro for relocate_code
  arm: use thumb interworking returns in libgcc
  tegra20: enable thumb build

 arch/arm/config.mk                              |   18 ++++++++++++
 arch/arm/cpu/arm720t/config.mk                  |    2 +-
 arch/arm/cpu/arm720t/start.S                    |    7 +++--
 arch/arm/cpu/arm720t/tegra20/config.mk          |    7 +++++
 arch/arm/cpu/tegra20-common/warmboot_avp.c      |    9 +-----
 arch/arm/include/asm/assembler.h                |   10 +++++++
 arch/arm/lib/Makefile                           |    1 +
 arch/arm/lib/_ashldi3.S                         |    3 +-
 arch/arm/lib/_ashrdi3.S                         |    3 +-
 arch/arm/lib/_divsi3.S                          |   15 +++++++---
 arch/arm/lib/_lshrdi3.S                         |    3 +-
 arch/arm/lib/_modsi3.S                          |    9 +++++-
 arch/arm/lib/{_ashrdi3.S => _thumb1_case_uqi.S} |   36 ++++++++++-------------
 arch/arm/lib/_udivsi3.S                         |    8 +++--
 arch/arm/lib/_umodsi3.S                         |   18 +++++++++++-
 arch/arm/lib/memcpy.S                           |   10 +++++++
 arch/arm/lib/memset.S                           |    3 +-
 config.mk                                       |    1 +
 include/configs/tegra20-common.h                |    1 +
 tools/binutils-version.sh                       |   20 +++++++++++++
 20 files changed, 138 insertions(+), 46 deletions(-)
 copy arch/arm/lib/{_ashrdi3.S => _thumb1_case_uqi.S} (81%)
 create mode 100755 tools/binutils-version.sh

-- 
1.7.9.5



More information about the U-Boot mailing list