[LLVMdev] question about the alignment of the .text section

Katya Romanova katya_romanova at playstation.sony.com
Tue Mar 4 15:03:21 PST 2014


Katya Romanova <katya_romanova <at> playstation.sony.com> writes:

> 
> Joerg Sonnenberger <joerg <at> britannica.bec.de> writes:
> 
> > 
> > On Tue, Feb 25, 2014 at 07:13:35PM +0000, Romanova, Katya wrote:
> > > Is there a reason why the alignment of the .text section should be 4
> > > when we are optimizing for size (-Os or -Oz)?
> > 
> > Which target architecture?
> > 
> > Joerg
> 
> Hi Joerg,
> 
> x86_64 Linux. I see 4 byte alignment for .text section when the compiler is
> optimizing for size. 
> 
> Thanks!
> Katya.
> 

Hi,
I was wondering if someone in the community knows the answer to the question
about the alignment of the .text section?

Thanks in advance,
Katya.






More information about the llvm-dev mailing list