com32/chain: minor fixes and cleanups
authorMichal Soltys <soltys@ziu.info>
Mon, 25 Oct 2010 10:30:19 +0000 (12:30 +0200)
committerMichal Soltys <soltys@ziu.info>
Mon, 25 Oct 2010 10:54:00 +0000 (12:54 +0200)
commitbf72d12c6116df8b8a88cc66adcbb46053c4a3f5
tree56e41feba7fcfb23220ed2f4b6bd3c880e03d16c
parentf0618a1eab06703fc66e6815e4a9e0b8aac1bc8b
com32/chain: minor fixes and cleanups

- make sure opt.maps implies opt.sect, and simplify
  conditions throughout the files
- move structure opt -> options.c
- adjust #includes
- omitted values in seg= and sect= are assumed 0
  in all cases now
- mangler_handover(): eax for gpt handover set only for
  iterated disks
- rename parse_args() -> opt_parse_args()
- rename mangler_common() -> mangler_init()
- add opt_set_defs()
- if mmapped sector would conflict with the file, turn
  off mmapping instead of bailing out
- update temporary chain.txt to reflect changes + other
  fixups

Signed-off-by: Michal Soltys <soltys@ziu.info>
com32/chain/chain.c
com32/chain/chain.h
com32/chain/mangle.c
com32/chain/mangle.h
com32/chain/options.c
com32/chain/options.h
doc/chain.txt