This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Altivec + 16 byte alignment


>>>>> Geoff Keating writes:

Geoff> In the abstract, you compare with MAX_OFILE_BOUNDARY.  You can align
Geoff> the stack to any value you like, but you can't do better than
Geoff> MAX_OFILE_BOUNDARY in the object file.

	I think part of the confusion is this depends on the type of
storage.  For an automatic variable on the stack, MAX_OFILE_ALIGNMENT is
irrelevant.  For a global or static variable allocated in the data or bss
segment, MAX_OFILE_ALIGNMENT describes the functionality of the
link-editor pre-allocating storage in the process address space.

David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]