mescc: Mes C Library: Support make: Support main with envp.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 26 Aug 2018 21:39:43 +0000 (23:39 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 26 Aug 2018 21:39:43 +0000 (23:39 +0200)
commit2fe2e556e8c8c8cb8488096a4e390519e99fca3c
tree99f2183874e42640dacd5a939f9cb874a6718b7f
parent8b9d51e4a418fca8ece711aa5e26fa6cbe7913af
mescc: Mes C Library: Support make: Support main with envp.

* lib/linux/x86-mes-gcc/crt1.c (_start): Also push envp.
* lib/linux/x86-mes/crt1.c (_start): Also push envp.
* lib/linux/x86_64-mes-gcc/crt1.c (_start): Also mov environment,%rdx.
lib/linux/x86-mes-gcc/crt1.c
lib/linux/x86-mes/crt1.c
lib/linux/x86_64-mes-gcc/crt1.c