summaryrefslogtreecommitdiff
path: root/common/stdio.c
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2013-08-24 13:55:38 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-09-23 14:36:50 +0200
commit373d79839451de08c3dce9231a133178378c4590 (patch)
treecd6c2c2780a1d51eb9f05d0a5b1105cc0821c841 /common/stdio.c
parentad31ff6a4f5e420637da256e8d259bc0c63b0d2b (diff)
downloadu-boot-imx-373d79839451de08c3dce9231a133178378c4590.zip
u-boot-imx-373d79839451de08c3dce9231a133178378c4590.tar.gz
u-boot-imx-373d79839451de08c3dce9231a133178378c4590.tar.bz2
arm: prevent using movt/movw address loads
The movt/movw instruction can be used to hardcode an memory location in the instruction itself. The linker starts complaining about this if the compiler decides to do so: "relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used" and it is not support by U-boot as well. Prevent their use by requiring word relocations. This allows u-boot to be build at other optimalization levels then -Os. Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl> Cc: TigerLiu@viatech.com.cn Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/stdio.c')
0 files changed, 0 insertions, 0 deletions