| Submitter | Allen Martin |
|---|---|
| Date | July 6, 2012, 11:04 p.m. |
| Message ID | <20120706230438.GD29103@nvidia.com> |
| Download | mbox | patch |
| Permalink | /patch/169551/ |
| State | Deferred |
| Headers | show |
Comments
Patch
diff --git a/arch/arm/cpu/armv7/tegra20/config.mk b/arch/arm/cpu/armv7/tegra20/config.mk index 6432e75..56bb830 100644 --- a/arch/arm/cpu/armv7/tegra20/config.mk +++ b/arch/arm/cpu/armv7/tegra20/config.mk @@ -24,3 +24,8 @@ # MA 02111-1307 USA # CONFIG_ARCH_DEVICE_TREE := tegra20 + +# this works around a bug when compiling thumb where some branches +# are incorrectly optimized to short branches when they shouldn't +# be +PLATFORM_RELFLAGS += -fno-optimize-sibling-calls