On Thu, Sep 10, 2026 at 05:08:48PM +0200, Christophe Leroy (CS GROUP) wrote: > [...] > > -/* _EMIT_BUG_ENTRY expects args %0,%1,%2,%3 to be FILE, LINE, flags and > > - sizeof(struct bug_entry), respectively */ > > #ifdef CONFIG_DEBUG_BUGVERBOSE > > -#define _EMIT_BUG_ENTRY \ > > - ".section __bug_table,\"aw\"\n" \ > > - "2: .4byte 1b - .\n" \ > > - " .4byte %0 - .\n" \ > > - " .short %1, %2\n" \ > > - ".org 2b+%3\n" \ > > - ".previous\n" > > +#define _EMIT_BUG_ENTRY(label, file, line, flags) \ > > + ".section __bug_table,\"aw\"\n" \ > > + "2: .4byte " label "b - .\n" \ > > Ah, you left the b here. The label is 1b which mean "the first 1: you find > going backward". Could as well be "1f" instead meaning "the first 1: you > find going forward". > > So I think you should use 1b or 1f as the label, not just 1. Hey Christophe,
Thanks for the clear explanation, this helps a lot. > > I would also try to use #label to stringigy the label in order to avoid > having to put the arguments into quotes (untested), same for other ones. > Ohk, letme try that. > Cdlt > Christophe > Regards, Mukesh [...]
