summaryrefslogtreecommitdiffstats
path: root/sys/dev/hyperv
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-05-28 06:45:13 +0000
committerdim <dim@FreeBSD.org>2015-05-28 06:45:13 +0000
commitfafc9e7ad414dd29f8589921d7005d42eec41f9f (patch)
tree62e54fdbf6da1b6ee2dc6e22e0009d98fd245a7c /sys/dev/hyperv
parentc94542bef304f991c0684e8a88dbcae364da6342 (diff)
downloadFreeBSD-src-fafc9e7ad414dd29f8589921d7005d42eec41f9f.zip
FreeBSD-src-fafc9e7ad414dd29f8589921d7005d42eec41f9f.tar.gz
MFC r283254:
Ensure that the static structs emitted by the MODULE_DEPEND() and MODULE_VERSION() macros don't end up as .comm symbols, when all the version fields are zero. Normally, such symbols will end up in .bss, but for kernel module version objects, this can lead to "garbage" version numbers. Fix this by instructing the compiler to always put these structs in the .data segment instead. Reported by: delphij, ae
Diffstat (limited to 'sys/dev/hyperv')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud