|
Message-ID: <alpine.LNX.2.20.13.2001192015250.7204@monopod.intra.ispras.ru> Date: Sun, 19 Jan 2020 20:17:13 +0300 (MSK) From: Alexander Monakov <amonakov@...ras.ru> To: musl@...ts.openwall.com Subject: Re: Minor style patch to exit.c On Sun, 19 Jan 2020, Alexander Monakov wrote: > I would suggest > > void (**ptr)(void); > > __asm__ ("" : "=g"(ptr) : "0"(..._end), "X"(..._start)); Or even less magic: void (**ptr)(void) = ..._end; __asm__ ("" : "+g"(ptr) : "X"(..._start)); Alexander
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.