summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-02-23 06:34:21 +0000
committermarcel <marcel@FreeBSD.org>2003-02-23 06:34:21 +0000
commit7e9d753cf392748f8a8371d64524b2c31dccb361 (patch)
treead25d1c6e1e32c6413dbb8bb99d082f99c5eb159 /sbin
parent5a23486f365f934af22d55ddbfde31de0a8e0a69 (diff)
downloadFreeBSD-src-7e9d753cf392748f8a8371d64524b2c31dccb361.zip
FreeBSD-src-7e9d753cf392748f8a8371d64524b2c31dccb361.tar.gz
Workaround for compiling LINT. Large kernels (like LINT) can have
branch targets that are too far apart for the BRADDR relocation. This is caused by the branch prediction optimizationi in the atomic inlines here, because they jump across sections. The workaround is to suppress jumping to a different section when compiling LINT. To generate correct code in that case, the section directives are replaced by a branch and a label to deal with the fall-through case. Reasonably good C compilers will optimize this away anyway, so the end result isn't really that bad.
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud