diff options
author | Alex Richardson <arichardson@FreeBSD.org> | 2018-02-06 15:41:15 +0000 |
---|---|---|
committer | Alex Richardson <arichardson@FreeBSD.org> | 2018-02-06 15:41:15 +0000 |
commit | e911aac76a31b7afeef61fc58512ca5795f9eac5 (patch) | |
tree | 8cffeb34fac40581ee2debabd9a37c16bb204590 /usr.bin/find/option.c | |
parent | 52d7a78f1726386bd64559230e062535753bdb4c (diff) | |
download | src-e911aac76a31b7afeef61fc58512ca5795f9eac5.tar.gz src-e911aac76a31b7afeef61fc58512ca5795f9eac5.zip |
Make mips_postboot_fixup work when building the kernel with clang+lld
The compiler/linker can align fake_preload anyway it would like. When
building the kernel with gcc+bfd this always happened to be a multiple of 8.
When I built the kernel with clang and linked with lld fake_preload
happened to only be aligned to 4 bytes which caused a an ADDRS trap because
the compiler will emit sd instructions to store to this buffer.
Reviewed By: jhb, imp
Approved By: jhb (mentor)
Differential Revision: https://reviews.freebsd.org/D14018
Notes
Notes:
svn path=/head/; revision=328932
Diffstat (limited to 'usr.bin/find/option.c')
0 files changed, 0 insertions, 0 deletions