From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Sun, 8 Jan 2012 00:19:48 -0500 Subject: [U-Boot] [PATCH 3/4] x86: Force the lib_sysinfo structure to be in the .data section In-Reply-To: <1322633275-10542-4-git-send-email-gabeblack@chromium.org> References: <1322633275-10542-1-git-send-email-gabeblack@chromium.org> <1322633275-10542-4-git-send-email-gabeblack@chromium.org> Message-ID: <201201080019.49987.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday 30 November 2011 01:07:54 Gabe Black wrote: > +struct sysinfo_t lib_sysinfo __attribute__((section(".data"))); seems like it should be .data.lib_sysinfo or maybe pick a field you always init and set it to something non-zero. struct sysinfo_t lib_sysinfo = { /* force into .data */ .cpu_khz = 1, }; -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: