commit
4390383b32250a941ec616e8bff6f568a801b1c0 inadvertently used "r"
instead of "0" for the input constraint, which only happened to work
for the configuration I tested it on because it usually makes sense
for the compiler to choose the same input and output register.
/* Barrier against hoisting application code or anything using ssp
* or thread pointer prior to its initialization above. */
int (*stage2)();
- __asm__ ( "" : "=r"(stage2) : "r"(libc_start_main_stage2) : "memory" );
+ __asm__ ( "" : "=r"(stage2) : "0"(libc_start_main_stage2) : "memory" );
return stage2(main, argc, argv);
}