[PATCH] gas/macro.c(buffer_and_nest) skip labels when looking for "ENDM"
Arnold Metselaar
arnold.metselaar@planet.nl
Tue Oct 18 18:29:00 GMT 2005
Hello,
In the current version, buffer_and_nest() in macro.c only skips
labels when searching for "ENDM" if NO_PSEUDO_DOT is not set.
The result is that the "macros dot"-test fails with "unexpected
end of file in macro definition".
The patch below removes the test on NO_PSEUDO_DOT. I'm not sure
whether the test on flag_m68k_mri should remain; putting a
label before "ENDM" may or may not be allowed in mri mode. If
it is allowed, the whole condition should be removed.
Arnold
* macro.c (buffer_and_nest): remove condition on NO_PSEUDO_DOT
for skipping labels
-------------- next part --------------
A non-text attachment was scrubbed...
Name: macro.c.patch
Type: text/x-diff
Size: 494 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20051018/3c9aceb9/attachment.bin>
More information about the Binutils
mailing list