testsuite/sim/cris fix for "macro expansion and operator &&" fix
Alan Modra
amodra@gmail.com
Wed Aug 25 09:38:00 GMT 2010
On Mon, Aug 23, 2010 at 06:19:17PM +0200, Hans-Peter Nilsson wrote:
> > Date: Wed, 18 Aug 2010 15:27:20 +0930
> > From: Alan Modra <amodra@gmail.com>
>
> (in gas/)
> > * macro.c (sub_actual): Add back ampersand suffix when no
> > substitution.
> > (macro_expand_body): Correct comment.
>
> This effectively changed the undocumented requirement to write
> operator '&&' as '&&&&' in macros. Release-note-worthy, if not
* NEWS: Mention ampersand in macro change.
Index: binutils/NEWS
===================================================================
RCS file: /cvs/src/src/binutils/NEWS,v
retrieving revision 1.95
diff -u -p -r1.95 NEWS
--- binutils/NEWS 19 Aug 2010 05:51:47 -0000 1.95
+++ binutils/NEWS 25 Aug 2010 08:25:39 -0000
@@ -3,6 +3,8 @@
* Linker script expression evaluation is somewhat more sane. This may
break scripts that depend on quirks of the old expression evaluation.
+* Gas no longer requires doubling of ampersands in macros.
+
* Add support for the TMS320C6000 (TI C6X) processor family.
* Readelf can now display ARM unwind tables (.ARM.exidx / .ARM.extab) using
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list