Messages in this thread | | | Date | Wed, 26 Jan 2000 16:18:06 -0500 | From | Michael Meissner <> | Subject | Re: Preventing gcc from aligning stack??? |
| |
On Wed, Jan 26, 2000 at 02:19:35PM +0100, Jamie Lokier wrote: > David Weinehall wrote: > > > > sched.c:77: warning: alignment of `aligned_data' is greater than maximum > > > > object file alignment > > > > > > That's not i386 is it? > > > > 486.
It doesn't matter which machine is chosen (the machine type only sets the default alignments). I believe the original problem is for System V.4 targets (Linux ELF is a SVR4 target) in 2.7.2.3 did not set MAX_OFILE_ALIGNMENT, which meant that the compiler assumed that the maximum alignment was 4 or 8 bytes. Under 2.95 and beyond, the compiler knows you can specify higher alignments.
-- Michael Meissner, Red Hat, Inc. PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886 Work: meissner@redhat.com phone: 978-486-9304 fax: 978-692-4482 Non-work: meissner@spectacle-pond.org
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |