diff options
author | Michael Frysinger <vapier@gentoo.org> | 2011-06-22 04:18:45 +0000 |
---|---|---|
committer | Michael Frysinger <vapier@gentoo.org> | 2011-06-22 04:18:45 +0000 |
commit | 4dfc786b8b7ab8abd71e5cc8be1b8de7bc28d85e (patch) | |
tree | 0bb73e9f22c924b83adc0504e3074ea233bed08b /libgloss/ChangeLog | |
parent | 3a81efd10e8e32100c77d197dcd35d320e81568c (diff) | |
download | newlib-4dfc786b8b7ab8abd71e5cc8be1b8de7bc28d85e.zip newlib-4dfc786b8b7ab8abd71e5cc8be1b8de7bc28d85e.tar.gz newlib-4dfc786b8b7ab8abd71e5cc8be1b8de7bc28d85e.tar.bz2 |
libgloss: bfin: handle result2/errcode in sim syscalls
The sim passes back results via two values, and the error code via a 3rd.
make sure libgloss extracts all three so that things like errno work as
expected. This fixes many gdb tests which look for this sort of thing.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libgloss/ChangeLog')
-rw-r--r-- | libgloss/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index a6f7ef6..433f126 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,11 @@ +2011-06-22 Mike Frysinger <vapier@gentoo.org> + + * bfin/syscalls.c (do_syscall): Delete local variable definitions. + Declare result, result2, errcode local ints. Delete asm inputs + and outputs. Set output constraints to q0/result, q1/result2, and + q2/errcode. Set input constraints to qA/reason and q0/arg. Set + errno to errcode. + 2011-06-21 Mike Frysinger <vapier@gentoo.org> * bfin/syscalls.c: Trim trailing whitespace. |