sim: callback: expose argv & environ

Pass the existing strings data to the callbacks so that common
libgloss syscalls can be implemented (which we'll do shortly).
This commit is contained in:
Mike Frysinger
2021-11-15 23:04:10 -05:00
parent 54f7a83a62
commit 8cfc9a1895
14 changed files with 79 additions and 10 deletions

View File

@@ -770,6 +770,8 @@ host_callback default_callback =
/* Defaults expected to be overridden at initialization, where needed. */
BFD_ENDIAN_UNKNOWN, /* target_endian */
NULL, /* argv */
NULL, /* envp */
4, /* target_sizeof_int */
HOST_CALLBACK_MAGIC,