HomeFreeBSD

Fix compilation of locore.S with clang

Description

Fix compilation of locore.S with clang

The branch from _start to mpentry has to cross a large section of data;
an offset larger than can be specified with a 12-bit branch immediate.
Fix this by converting the branch to an unconditional jump. The gcc
assembler does this conversion silently but it is not done automatically
by clang.

Reported by: Jeremy Bennett <jeremy.bennett@embecosm.com>
Reviewed by: markj
Approved by: markj (mentor)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D21437

Details

Provenance
mhorneAuthored on
Reviewer
markj
Differential Revision
D21437: Fix compilation of locore.S with clang
Parents
rS352035: Remove a duplicate KTR entry
Branches
Unknown
Tags
Unknown