Commit Graph

32 Commits

Author SHA1 Message Date
Rui Ueyama 469f159bb1 Add -Xlinker option 2020-12-07 12:00:06 +09:00
Rui Ueyama d1bc9a4eb0 Add -Wl, option 2020-12-07 12:00:06 +09:00
Rui Ueyama c8df7874c6 Add -L option 2020-12-07 12:00:06 +09:00
Rui Ueyama 4e5de36a36 Add -shared option 2020-12-07 12:00:06 +09:00
Rui Ueyama 1e9b6dd110 Add -static option 2020-12-07 12:00:06 +09:00
Rui Ueyama f10bcebaa5 [GNU] Add #include_next 2020-12-07 12:00:06 +09:00
Rui Ueyama 86785fceb1 Add -fpic and -fPIC options 2020-12-07 12:00:06 +09:00
Rui Ueyama fb5cfe5d17 Add -MD option 2020-12-07 12:00:06 +09:00
Rui Ueyama db850f37a2 Add -MT option 2020-12-07 12:00:06 +09:00
Rui Ueyama 57c1d4ec02 Add -MP option 2020-12-07 12:00:06 +09:00
Rui Ueyama 95d5a46234 Add -MF option 2020-12-07 12:00:06 +09:00
Rui Ueyama d0c4667b6b Add -M option 2020-12-07 12:00:06 +09:00
Rui Ueyama 0aad326f35 Add string hashmap 2020-12-07 12:00:06 +09:00
Rui Ueyama d56dd2f46e Recognize .a and .so files 2020-12-07 12:00:06 +09:00
Rui Ueyama 4064871212 Make -E to imply -xc 2020-12-07 12:00:06 +09:00
Rui Ueyama ee0a951b30 Add -x option 2020-12-07 12:00:06 +09:00
Rui Ueyama 8f5ff07dc0 Add -include option 2020-12-07 12:00:06 +09:00
Rui Ueyama 6d344ed945 Add -fcommon and -fno-common flags 2020-12-07 12:00:06 +09:00
Rui Ueyama 11fc259b01 Add -idirafter option 2020-12-07 12:00:06 +09:00
Rui Ueyama e5f4ca90fd Do not emit static inline functions if referenced by no one 2020-12-07 12:00:06 +09:00
Rui Ueyama 31087f8d4b Handle inline functions as static functions 2020-12-07 12:00:06 +09:00
Rui Ueyama 2b2fa25507 Skip UTF-8 BOM markers 2020-12-07 12:00:06 +09:00
Rui Ueyama b1fdddff15 Ignore -O, -W and -g and other flags 2020-12-07 12:00:06 +09:00
Rui Ueyama be8b6f6d31 Add -U option 2020-12-07 12:00:06 +09:00
Rui Ueyama fc69f5c6f9 Add -D option 2020-12-07 12:00:06 +09:00
Rui Ueyama a1dd6213c8 Add -I<dir> option 2020-12-07 12:00:06 +09:00
Rui Ueyama d138864a2a Add -E option 2020-12-07 12:00:06 +09:00
Rui Ueyama 8b726b5489 Run "ld" unless -c is given 2020-12-07 12:00:06 +09:00
Rui Ueyama b833cd0f29 Accept multiple input files 2020-12-07 12:00:06 +09:00
Rui Ueyama 140b43358c Run "as" command unless -S is given 2020-12-07 12:00:06 +09:00
Rui Ueyama 5d15431df1 Add stage2 build 2020-12-07 12:00:06 +09:00
Rui Ueyama cd832a311e Rewrite tests in shell script in C 2020-10-15 14:22:15 +09:00