diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-09-12 19:42:28 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-09-12 19:42:28 +0000 |
commit | 75e05714972b30b0466b6ee6922beaaba75587cc (patch) | |
tree | 42604473fe1fdc844eb3578648577da221782a9a | |
parent | df3ffb300a2b6f26707fa32f66c549091f3643aa (diff) |
Add ccc support for -e and -sectorder.
- llvmc2, save me!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56169 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | utils/ccc | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -229,7 +229,8 @@ def main(args): i += 1 # Options with one argument that should pass through - if arg in ['-framework', '-multiply_defined', '-bundle_loader']: + if arg in ('-framework', '-multiply_defined', '-bundle_loader', + '-e'): link_opts.append(arg) link_opts.append(args[i+1]) i += 1 @@ -241,6 +242,11 @@ def main(args): link_opts.append(arg) link_opts.append(args[i+1]) i += 1 + + # Options with three arguments that should pass through + if arg in ('-sectorder',): + link_opts.extend(args[i:i+4]) + i += 3 # Prefix matches for the link mode if arg[:2] in ['-l', '-L', '-F', '-R']: |