This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: [PATCH,trunk+2.20.1] Extend COFF .section directive syntax to specify alignment.


Alan Modra wrote:
> On Sun, Jan 17, 2010 at 06:37:59PM +0000, Dave Korn wrote:
>>   There's currently no way to specify the alignment of a section in the
>> assembler;
> 
> Huh?

>  .p2align 7

>   1 .data         00000080  00000000  00000000  00000090  2**7

  Hey, that's neat!  I didn't know that could change the underlying section
alignment, I thought it would just give me a section with a bunch of leading
padding.  Patch is unneeded then, thanks for showing me that.

    cheers,
      DaveK



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