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

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

GAS fails to emit proper alignment


From: Jan Beulich
Subject: GAS fails to emit proper alignment
Date: Tue, 06 Nov 2001 13:03:26 +0100

Hello,

using gcc's __attribute__((align())) functionality results in the compiler 
correctly generating .align directives which, however, are being silently 
ignored by the assembler. In writing system software this may lead to severe 
malfunctions because the linker has thus no way of determining the section 
alignment contaning the ariticially aligned symbols. The minimum expectation 
would be emission of a diagnostic stating this is happening, ideally the 
information would be properly encoded in the object file.

The assembler has been built from binutils 2.11.2 on CygWin 1.3.3-2 running on 
Win2000.

Thank you so much,

Attachment: dalign.c
Description: Binary data


reply via email to

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