__libc_start_main: slightly simplify stage2 pointer setup
authorAlexander Monakov <amonakov@ispras.ru>
Sat, 20 Oct 2018 21:27:44 +0000 (00:27 +0300)
committerRich Felker <dalias@aerifal.cx>
Fri, 2 Nov 2018 16:13:53 +0000 (12:13 -0400)
commit00bd3b7d3006c5d350959c994fa65358bf65e6a2
treef01170de878bd15c28a29c6258ff063f71c8f128
parent0239cd0681e889a269fb7691f60e81ef8d081e6b
__libc_start_main: slightly simplify stage2 pointer setup

Use "+r" in the asm instead of implementing a non-transparent copy by
applying "0" constraint to the source value. Introduce a typedef for
the function type to avoid spelling it out twice.
src/env/__libc_start_main.c