svn commit: r214198 - stable/8/sys/sys
Andriy Gapon
avg at FreeBSD.org
Fri Oct 22 08:42:44 UTC 2010
Author: avg
Date: Fri Oct 22 08:42:44 2010
New Revision: 214198
URL: http://svn.freebsd.org/changeset/base/214198
Log:
MFC r212647: sys/pcpu.h: remove a workaround for a fixed ld bug
Modified:
stable/8/sys/sys/pcpu.h
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/sys/pcpu.h
==============================================================================
--- stable/8/sys/sys/pcpu.h Fri Oct 22 08:36:26 2010 (r214197)
+++ stable/8/sys/sys/pcpu.h Fri Oct 22 08:42:44 2010 (r214198)
@@ -44,24 +44,10 @@
/*
* Define a set for pcpu data.
- *
- * We don't use SET_DECLARE because it defines the set as 'a' when we
- * want 'aw'. gcc considers uninitialized data in a separate section
- * writable, and there is no generic zero initializer that works for
- * structs and scalars.
*/
extern uintptr_t *__start_set_pcpu;
extern uintptr_t *__stop_set_pcpu;
-__asm__(
-#ifdef __arm__
- ".section set_pcpu, \"aw\", %progbits\n"
-#else
- ".section set_pcpu, \"aw\", @progbits\n"
-#endif
- "\t.p2align " __XSTRING(CACHE_LINE_SHIFT) "\n"
- "\t.previous");
-
/*
* Array of dynamic pcpu base offsets. Indexed by id.
*/
More information about the svn-src-stable
mailing list