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: Add ALIGNOF


On Tue, Jun 12, 2007 at 11:53:56AM +0100, Nathan Sidwell wrote:
> 	ld/
> 	* ldlex.l, ldgram.y: Add ALIGNOF.
> 	* ldexp.c (exp_print_token, foldname): Likewise.
> 	* ld.texinfo: Likewise.
> 
> 	ld/testsuite/
> 	* ld-scripts/alignof.s: New.
> 	* ld-scripts/alignof.t: New
> 	* ld-scripts/alignof.exp: New.

OK, but

> Index: ld/ldlex.l
> ===================================================================
> --- ld/ldlex.l	(revision 173558)
> +++ ld/ldlex.l	(working copy)
> @@ -254,6 +254,7 @@ V_IDENTIFIER [*?.$_a-zA-Z\[\]\-\!\^\\]([
>  <EXPRESSION,BOTH,SCRIPT>"DATA_SEGMENT_END"	{ RTOKEN(DATA_SEGMENT_END);}
>  <EXPRESSION,BOTH,SCRIPT>"ADDR"		{ RTOKEN(ADDR);}
>  <EXPRESSION,BOTH,SCRIPT>"LOADADDR"	{ RTOKEN(LOADADDR);}
> +<EXPRESSION,BOTH>"ALIGNOF"		{ RTOKEN(ALIGNOF); }

make this SCRIPT too.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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