]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add movw and movt relocations to the list of relocations against function
authorAndrew Turner <andrew@FreeBSD.org>
Sat, 4 Oct 2014 13:14:37 +0000 (13:14 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Sat, 4 Oct 2014 13:14:37 +0000 (13:14 +0000)
commit657be2acf7c94bdc7e51115b4764e0c1e294d163
treed972816346fd6103f04ffce3128f47c66e4173b4
parente3cadfdb321604d343e2315e46b988e428811d32
Add movw and movt relocations to the list of relocations against function
names that must nnot be adjusted. This fixes a bug where code such as:
movw r2, :lower16:symbol
movt r2, :upper16:symbol

It is common for clang to generate such code when targeting armv7.
contrib/binutils/gas/config/tc-arm.c