bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

documentation bug


From: Fery
Subject: documentation bug
Date: Wed, 15 Oct 2003 10:42:25 +0200

Hi there,

The gas documentation says about .align directive:

----------------
The way the required alignment is specified varies from system to
system. For the a29k, hppa, m68k, m88k, w65, sparc, and Hitachi SH, and
i386 using ELF format, the first expression is the alignment request in
bytes. For example .align 8 advances the location counter until it is a
multiple of 8. If the location counter is already a multiple of 8, no
change is needed. 

For other systems, including the i386 using a.out format, and the arm
and strongarm, it is the number of low-order zero bits the location
counter must have after advancement. For example .align 3 advances the
location counter until it a multiple of 8. If the location counter is
already a multiple of 8, no change is needed. 
----------------

For the Renesas (Hitachi) SH-ELF platform, it is wrong, as the .align
directive works as the 2nd version. (Version: GNU assembler GNUSH_v0304
20030612, from KPIT Cummins Infosystems.)

Regards,
Ferenc




reply via email to

[Prev in Thread] Current Thread [Next in Thread]