summaryrefslogtreecommitdiffstats
path: root/contrib/diff/lib/prepargs.c
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2017-06-17 19:00:12 +0000
committeremaste <emaste@FreeBSD.org>2017-06-17 19:00:12 +0000
commite319a3b5f16e8356e1a7946c700054f173f285f1 (patch)
tree367096bdc6183adc12498847985eb0f4f237780c /contrib/diff/lib/prepargs.c
parentb11d9b120ad76eef1ddd2e6827fee40245381b9b (diff)
downloadFreeBSD-src-e319a3b5f16e8356e1a7946c700054f173f285f1.zip
FreeBSD-src-e319a3b5f16e8356e1a7946c700054f173f285f1.tar.gz
lld: Fix weak symbols on arm and aarch64
MFC r319955: lld: sort relocations No functional change; applied to facilitate merge of later LLD commit. MFC r319956: lld: Fix weak symbols on arm and aarch64 Given .weak target .global _start _start: b target The intention is that the branch goes to the instruction after the branch, effectively turning it on a nop. The branch adds the runtime PC, but we were adding it statically too. I noticed the oddity by inspection, but llvm-objdump seems to agree, since it now prints things like: b #-4 <_start+0x4> Obtained from: LLD r298797, r305212 Approved by: re (gjb) Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'contrib/diff/lib/prepargs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud