Patch: Add a stop bit in alignment for alloc.

H. J. Lu hjl@lucon.org
Wed Mar 3 04:41:00 GMT 2004


On Tue, Mar 02, 2004 at 07:18:32PM -0800, Jim Wilson wrote:
> OK.

I checked in the patch. But it is not complete. If the alignment
directive is a no-op, the stop bit will be missing.

[hjl@gnu-2 alloc]$ cat no.s
        nop 1
        .align 16
.L481:
        alloc r2 = ar.pfs, 0, 0, 1, 0
[hjl@gnu-2 alloc]$ ./as -o no.o no.s
[hjl@gnu-2 alloc]$ objdump -d no.o

no.o:     file format elf64-ia64-little

Disassembly of section .text:

0000000000000000 <.text>:
   0:   1c 08 00 00 01 00       [MFB]       nop.m 0x1
   6:   00 00 00 02 00 00                   nop.f 0x0
   c:   00 00 00 20                         nop.b 0x0
  10:   1d 10 04 00 80 05       [MFB]       alloc r2=ar.pfs,1,0,0
  16:   00 00 00 02 00 00                   nop.f 0x0
  1c:   00 00 00 20                         nop.b 0x0;;
[hjl@gnu-2 alloc]$


H.J.



More information about the Binutils mailing list