- printf "#if !defined(__arm__)\n" > sysarg
- printf "void munge_w(const void *, void *); \n" > sysarg
- printf "void munge_ww(const void *, void *); \n" > sysarg
- printf "void munge_www(const void *, void *); \n" > sysarg
- printf "void munge_wwww(const void *, void *); \n" > sysarg
- printf "void munge_wwwww(const void *, void *); \n" > sysarg
- printf "void munge_wwwwww(const void *, void *); \n" > sysarg
- printf "void munge_wwwwwww(const void *, void *); \n" > sysarg
- printf "void munge_wwwwwwww(const void *, void *); \n" > sysarg
- printf "void munge_wl(const void *, void *); \n" > sysarg
- printf "void munge_wlw(const void *, void *); \n" > sysarg
- printf "void munge_wlwwwll(const void *, void *); \n" > sysarg
- printf "void munge_wlwwwllw(const void *, void *); \n" > sysarg
- printf "void munge_wlwwlwlw(const void *, void *); \n" > sysarg
- printf "void munge_wllwwll(const void *, void *); \n" > sysarg
- printf "void munge_wwwl(const void *, void *); \n" > sysarg
- printf "void munge_wwwlw(const void *, void *); \n" > sysarg
- printf "void munge_wwwlww(const void *, void *); \n" > sysarg
- printf "void munge_wwlwww(const void *, void *); \n" > sysarg
- printf "void munge_wwwwlw(const void *, void *); \n" > sysarg
- printf "void munge_wwwwl(const void *, void *); \n" > sysarg
- printf "void munge_wwwwwl(const void *, void *); \n" > sysarg
- printf "void munge_wwwwwlww(const void *, void *); \n" > sysarg
- printf "void munge_wwwwwllw(const void *, void *); \n" > sysarg
- printf "void munge_wwwwwlll(const void *, void *); \n" > sysarg
- printf "void munge_wwwwwwll(const void *, void *); \n" > sysarg
- printf "void munge_wwwwwwl(const void *, void *); \n" > sysarg
- printf "void munge_wwwwwwlw(const void *, void *); \n" > sysarg
- printf "void munge_wsw(const void *, void *); \n" > sysarg
- printf "void munge_wws(const void *, void *); \n" > sysarg
- printf "void munge_wwwsw(const void *, void *); \n" > sysarg
- printf "void munge_llllll(const void *, void *); \n" > sysarg
- printf "void munge_ll(const void *, void *); \n" > sysarg
- printf "#else \n" > sysarg
- printf "/* ARM does not need mungers for BSD system calls... */\n" > sysarg
- printf "#define munge_w NULL \n" > sysarg
- printf "#define munge_ww NULL \n" > sysarg
- printf "#define munge_www NULL \n" > sysarg
- printf "#define munge_wwww NULL \n" > sysarg
- printf "#define munge_wwwww NULL \n" > sysarg
- printf "#define munge_wwwwww NULL \n" > sysarg
- printf "#define munge_wwwwwww NULL \n" > sysarg
- printf "#define munge_wwwwwwww NULL \n" > sysarg
- printf "#define munge_wl NULL \n" > sysarg
- printf "#define munge_wlw NULL \n" > sysarg
- printf "#define munge_wlwwwll NULL \n" > sysarg
- printf "#define munge_wlwwwllw NULL \n" > sysarg
- printf "#define munge_wlwwlwlw NULL \n" > sysarg
- printf "#define munge_wllwwll NULL \n" > sysarg
- printf "#define munge_wwwl NULL \n" > sysarg
- printf "#define munge_wwwlw NULL \n" > sysarg
- printf "#define munge_wwwlww NULL\n" > sysarg
- printf "#define munge_wwlwww NULL \n" > sysarg
- printf "#define munge_wwwwl NULL \n" > sysarg
- printf "#define munge_wwwwlw NULL \n" > sysarg
- printf "#define munge_wwwwwl NULL \n" > sysarg
- printf "#define munge_wwwwwlww NULL \n" > sysarg
- printf "#define munge_wwwwwllw NULL \n" > sysarg
- printf "#define munge_wwwwwlll NULL \n" > sysarg
- printf "#define munge_wwwwwwl NULL \n" > sysarg
- printf "#define munge_wwwwwwlw NULL \n" > sysarg
- printf "#define munge_wsw NULL \n" > sysarg
- printf "#define munge_wws NULL \n" > sysarg
- printf "#define munge_wwwsw NULL \n" > sysarg
- printf "#define munge_llllll NULL \n" > sysarg
- printf "#define munge_ll NULL \n" > sysarg
- printf "#endif /* __arm__ */\n" > sysarg
- printf "\n" > sysarg
- printf "/* Active 64-bit user ABIs do not need munging */\n" > sysarg
- printf "#define munge_d NULL \n" > sysarg
- printf "#define munge_dd NULL \n" > sysarg
- printf "#define munge_ddd NULL \n" > sysarg
- printf "#define munge_dddd NULL \n" > sysarg
- printf "#define munge_ddddd NULL \n" > sysarg
- printf "#define munge_dddddd NULL \n" > sysarg
- printf "#define munge_ddddddd NULL \n" > sysarg
- printf "#define munge_dddddddd NULL \n" > sysarg