alateeq99 / linux-syscall-support

Automatically exported from code.google.com/p/linux-syscall-support
0 stars 0 forks source link

[MIPS] Do not use "=&r" constraint with variables bound to a register #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When gcc compiles the clone system call it does not bind the result register 
$v0 correctly.

Original issue reported on code.google.com by ch...@mips.com on 14 Aug 2012 at 6:10

GoogleCodeExporter commented 8 years ago
This patch changes the constraint to +r

Original comment by ch...@mips.com on 14 Aug 2012 at 6:13

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by vapier@chromium.org on 16 Jan 2015 at 1:53

GoogleCodeExporter commented 8 years ago
I believe this patch is not required anymore.

Changes that have fixed the issue in the meantime are r21 [1] and r34 [2].

[1] r21, https://code.google.com/p/linux-syscall-support/source/detail?r=21
[2] r34, https://code.google.com/p/linux-syscall-support/source/detail?r=34

Original comment by pet...@mips.com on 24 Feb 2015 at 12:35