Modules and CONFIG_ALTIVEC
Hollis
hollis-lists at austin.rr.com
Mon Aug 6 09:08:21 EST 2001
On Sunday 05 August 2001 04:49, Samuel Rydh wrote:
> On ppc, the size of thread_struct depends on the CONFIG_ALTIVEC setting.
> Thus, the offset of various task_struct fields are dependent upon this
> config option.
[snip]
> unsigned long fpscr; /* Floating point status */
> -#ifdef CONFIG_ALTIVEC
> - vector128 vr[32]; /* Complete AltiVec set */
> - vector128 vscr; /* AltiVec status */
> - unsigned long vrsave;
> -#endif /* CONFIG_ALTIVEC */
> + altivec_t *vregs;
This also affects gdb. When gdb reads a core file, it gets upset if the size
of a regset isn't what it thinks it should be. Currently it's a bit too easy
to change that size...
-Hollis
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list