Altivec + 16 byte alignment

David Edelsohn dje@watson.ibm.com
Tue Feb 11 19:40:00 GMT 2003


>>>>> 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



More information about the Gcc mailing list