sim: use libiberty countargv in more places
authorMike Frysinger <vapier@gentoo.org>
Sun, 3 Jan 2016 06:40:46 +0000 (01:40 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 3 Jan 2016 09:08:56 +0000 (04:08 -0500)
commit34fed69938f1296b62354b2a825b49602fe7af50
treeaeece93f7f3f39429d4b92cb7e4e16a6217d8f64
parentaba6f46b235a3a139c04d5ed6a3310125aa9c982
sim: use libiberty countargv in more places

A bunch of places open code the countargv implementation, or outright
duplicate it (as count_argc).  Replace all of those w/countargv.
12 files changed:
sim/arm/ChangeLog
sim/arm/wrapper.c
sim/bfin/ChangeLog
sim/bfin/interp.c
sim/common/ChangeLog
sim/common/sim-options.c
sim/erc32/ChangeLog
sim/erc32/interf.c
sim/sh/ChangeLog
sim/sh/interp.c
sim/sh64/ChangeLog
sim/sh64/sh64.c