From ff3dd59b1a5b155ee7226ff6b2c475576ac797aa Mon Sep 17 00:00:00 2001 From: avg Date: Fri, 22 Oct 2010 08:42:44 +0000 Subject: [PATCH] MFC r212647: sys/pcpu.h: remove a workaround for a fixed ld bug git-svn-id: svn://svn.freebsd.org/base/stable/8@214198 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/sys/pcpu.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/sys/sys/pcpu.h b/sys/sys/pcpu.h index be0468ed8..d9af08ce2 100644 --- a/sys/sys/pcpu.h +++ b/sys/sys/pcpu.h @@ -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. */ -- 2.45.0