[LLVMdev] question about the alignment of the .text section
Katya Romanova
katya_romanova at playstation.sony.com
Wed Feb 26 14:56:11 PST 2014
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.
More information about the llvm-dev
mailing list