1
0
mirror of git://git.musl-libc.org/musl synced 2025-02-28 08:40:25 +00:00
musl/arch
Rich Felker 25748db301 fix possible clobbering of syscall return values on mips
depending on the compiler's interpretation of __asm__ register names
for register class objects, it may be possible for the return value in
r2 to be clobbered by the function call to __stat_fix. I have not
observed any such breakage in normal builds and suspect it only
happens with -O0 or other unusual build options, but since there's an
ambiguity as to the semantics of this feature, it's best to use an
explicit temporary to avoid the issue.

based on reporting and patch by Eugene.
2015-04-07 12:47:19 -04:00
..
aarch64 aarch64: remove duplicate macro definitions in bits/fcntl.h 2015-04-01 19:25:32 -04:00
arm move O_PATH definition back to arch bits 2015-04-01 19:31:06 -04:00
i386 move O_PATH definition back to arch bits 2015-04-01 19:31:06 -04:00
microblaze move O_PATH definition back to arch bits 2015-04-01 19:31:06 -04:00
mips fix possible clobbering of syscall return values on mips 2015-04-07 12:47:19 -04:00
or1k move O_PATH definition back to arch bits 2015-04-01 19:31:06 -04:00
powerpc move O_PATH definition back to arch bits 2015-04-01 19:31:06 -04:00
sh move O_PATH definition back to arch bits 2015-04-01 19:31:06 -04:00
x32 move O_PATH definition back to arch bits 2015-04-01 19:31:06 -04:00
x86_64 move O_PATH definition back to arch bits 2015-04-01 19:31:06 -04:00