Fix warning about mixing decls and code by moving auxvt_size decl
down to the scope where it is used.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+2012-04-01 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (bfin_user_init): Move auxvt_size decl from top to
+ inside of auxvt check.
+
2012-03-31 Mike Frysinger <vapier@gentoo.org>
* dv-bfin_sic.c (bfin_sic_finish): Change iwr1 to iwr2.
2012-03-31 Mike Frysinger <vapier@gentoo.org>
* dv-bfin_sic.c (bfin_sic_finish): Change iwr1 to iwr2.
/* start, at_phdr, at_phnum, at_base, at_entry, pt_dynamic */
bu32 elf_addrs[6];
/* start, at_phdr, at_phnum, at_base, at_entry, pt_dynamic */
bu32 elf_addrs[6];
- bu32 auxvt, auxvt_size;
bu32 exec_loadmap, ldso_loadmap;
char *ldso_path;
bu32 exec_loadmap, ldso_loadmap;
char *ldso_path;
sp -= 4; \
auxvt = (at); \
sim_write (sd, sp, (void *)&auxvt, 4)
sp -= 4; \
auxvt = (at); \
sim_write (sd, sp, (void *)&auxvt, 4)
unsigned int egid = getegid (), gid = getgid ();
unsigned int euid = geteuid (), uid = getuid ();
unsigned int egid = getegid (), gid = getgid ();
unsigned int euid = geteuid (), uid = getuid ();
AT_PUSH (AT_NULL, 0);
AT_PUSH (AT_SECURE, egid != gid || euid != uid);
AT_PUSH (AT_EGID, egid);
AT_PUSH (AT_NULL, 0);
AT_PUSH (AT_SECURE, egid != gid || euid != uid);
AT_PUSH (AT_EGID, egid);