[PATCH] MIPS: use anonymous labels in ENTRY_FUNCTION_END and STOP_WITH_DEBUG_EVENT macros
pmamonov at gmail.com
Tue Jun 4 09:43:12 PDT 2019
On Tue, Jun 04, 2019 at 02:44:57PM +0200, Oleksij Rempel wrote:
> On Tue, Jun 04, 2019 at 01:55:52PM +0300, Peter Mamonov wrote:
> > Use of global labels of the same name inside ENTRY_FUNCTION_END and
> > STOP_WITH_DEBUG_EVENT prevents simultaneous use of both macros. It also
> > prevents multiple use of one of them.
> Reviewed-by: Oleksij Rempel <o.rempel at pengutronix.de>
> @Peter, Do you use STOP_WITH_DEBUG_EVENT for something?
Actually no. I hit this problem when tried to use ENTRY_FUNCTION_END twice to
choose relevant DTB depending on some conditions.
More information about the barebox