Check whether __builtin_gcn_kernarg_ptr is available and, if it is, call it instead using the hard-coded 'asm("s8")' in: * newlib/libc/machine/amdgcn/exit-value.h (exit_with_int) * newlib/libc/machine/amdgcn/mlock.c (sbrk) * newlib/libc/sys/amdgcn/write.c (write) newlib/libc/machine/amdgcn/exit-value.h | 6 ++++++ newlib/libc/machine/amdgcn/mlock.c | 10 +++++++--- newlib/libc/sys/amdgcn/write.c | 4 ++++ 3 files changed, 17 insertions(+), 3 deletions(-) |
||
---|---|---|
.. | ||
Makefile.inc | ||
close.c | ||
fcntl.c | ||
fstat.c | ||
getpid.c | ||
isatty.c | ||
kill.c | ||
lseek.c | ||
open.c | ||
raise.c | ||
read.c | ||
stat.c | ||
unlink.c | ||
write.c |