Date: Wed, 15 Sep 2010 10:02:46 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/sys pcpu.h Message-ID: <201009151002.o8FA2wEs061003@repoman.freebsd.org>
index | next in thread | raw e-mail
avg 2010-09-15 10:02:46 UTC
FreeBSD src repository
Modified files:
sys/sys pcpu.h
Log:
SVN rev 212647 on 2010-09-15 10:02:46Z by avg
sys/pcpu.h: remove a workaround for a fixed ld bug
The workaround was incorrectly documented as having something to do with
set_pcpu section's progbits, but in fact it was for incorrect placement
of __start_set_pcpu because of the bug in ld.
The bug was fixed in r210245, see commit message for details.
A side-effect of the workaround was that a zero-size set_pcpu section was
produced for modules, source code of which included pcpu.h but didn't
actually define any dynamic per-cpu variables.
This commit should remove the side-effect.
The same workaround is present sys/net/vnet.h, has an analogous side-effect
and can be removed as well.
An UPDATING entry that warns about a need for recent ld is following.
MFC after: 1 month
Revision Changes Path
1.46 +0 -14 src/sys/sys/pcpu.h
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009151002.o8FA2wEs061003>
