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: ARM gas: Maximum alignment


On Mon, Jul 27, 2015 at 05:15:56PM +0930, Alan Modra wrote:
> It seems like the only reason tc-arm.c needs its own copy of s_align
> is that ".align 0" oddly means the same as ".align", ie. a default
> alignment.
> 
> How does this rationalization look to the ARM maintainers?  This will
> also give ARM support for 3 arg .align, specifying max skip bytes.
> 
> 	* gas/config/tc-arm.c (s_align): Delete.
> 	(md_pseudo_table): Use s_align_ptwo for "align".
> 	* gas/config/tc-arm.h (TC_ALIGN_ZERO_IS_DEFAULT): Define.
> 	* read.c (s_align): Modify for TC_ALIGN_ZERO_IS_DEFAULT.

Now committed.

-- 
Alan Modra
Australia Development Lab, IBM


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