ARM: first support for arm-pe target

This commit is contained in:
Frederic Feret
2009-08-27 10:25:28 +02:00
committed by grischka
parent 2f73e42d87
commit b7d7af4fa2
3 changed files with 47 additions and 10 deletions

3
tcc.c
View File

@ -412,6 +412,9 @@ int parse_args(TCCState *s, int argc, char **argv)
s->pe_subsystem = 12;
else if (!strcmp(p, "efirom"))
s->pe_subsystem = 13;
#elif defined(TCC_TARGET_ARM)
if (!strcmp(p, "wince"))
s->pe_subsystem = 9;
#endif
else {
error("invalid subsystem '%s'", p);