sim: cgen: drop unused argv/envp definitions

The common argv/envp are used now by all ports, so drop this old
cgen fragment.
This commit is contained in:
Mike Frysinger 2016-01-21 21:04:18 -05:00
parent 474a2d9f5f
commit 6b97945424
2 changed files with 5 additions and 8 deletions

View file

@ -1,3 +1,8 @@
2016-08-13 Mike Frysinger <vapier@gentoo.org>
* cgen-defs.h (struct cgen_state): Delete argv and envp.
(STATE_ARGV, STATE_ENVP): Delete.
2016-02-04 Nick Clifton <nickc@redhat.com>
* cgen-scache.c (scache_option_handler): Prevent possible

View file

@ -144,14 +144,6 @@ typedef enum {
sim_state_base. */
typedef struct cgen_state {
/* FIXME: Moved to sim_state_base. */
/* argv, env */
char **argv;
#define STATE_ARGV(s) ((s) -> cgen_state.argv)
/* FIXME: Move to sim_state_base. */
char **envp;
#define STATE_ENVP(s) ((s) -> cgen_state.envp)
/* Non-zero if no tracing or profiling is selected. */
int run_fast_p;
#define STATE_RUN_FAST_P(sd) ((sd) -> cgen_state.run_fast_p)