OSDN Git Service

fix error in constraints for static link libc init barrier
authorRich Felker <dalias@aerifal.cx>
Thu, 18 Oct 2018 15:41:47 +0000 (11:41 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 18 Oct 2018 15:41:47 +0000 (11:41 -0400)
commitba0d83e822b9ea386881feaa1e478114d147bd27
tree29069c6a429c793b39b8cab216c06dcccec9c681
parentab5e1e340890b95e61d7161d7178c6a26247ad61
fix error in constraints for static link libc init barrier

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.
src/env/__libc_start_main.c