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]
This commit is contained in:
parent
59b2caef05
commit
69e18c9b7b
@ -187,8 +187,6 @@ int mfs_root_size;
|
|||||||
#else
|
#else
|
||||||
extern volatile u_char __weak_symbol mfs_root;
|
extern volatile u_char __weak_symbol mfs_root;
|
||||||
extern volatile u_char __weak_symbol mfs_root_end;
|
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))
|
#define mfs_root_size ((uintptr_t)(&mfs_root_end - &mfs_root))
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user