Date: Sat, 26 Jun 2021 16:28:20 GMT From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: d4f253ea50f7 - stable/12 - sys/dev/md: Drop unncessary __GLOBL(mfs_root) Message-ID: <202106261628.15QGSKa2035132@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=d4f253ea50f7682f72d3f86bcc9019089dae096c commit d4f253ea50f7682f72d3f86bcc9019089dae096c Author: Alex Richardson <arichardson@FreeBSD.org> AuthorDate: 2021-03-30 13:53:41 +0000 Commit: Mateusz Guzik <mjg@FreeBSD.org> CommitDate: 2021-06-26 15:52:06 +0000 sys/dev/md: Drop unncessary __GLOBL(mfs_root) LLVM12 complains if you change the symbol binding: error: mfs_root_end changed binding to STB_WEAK [-Werror,-Winline-asm] error: mfs_root changed binding to STB_WEAK [-Werror,-Winline-asm] (cherry picked from commit 69e18c9b7b12e7fd97a740d8748d8718021a1e34) --- sys/dev/md/md.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index e134e8e94b69..9e795a4a933b 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -188,8 +188,6 @@ int mfs_root_size; #else extern volatile u_char __weak_symbol mfs_root; extern volatile u_char __weak_symbol mfs_root_end; -__GLOBL(mfs_root); -__GLOBL(mfs_root_end); #define mfs_root_size ((uintptr_t)(&mfs_root_end - &mfs_root)) #endif #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106261628.15QGSKa2035132>