Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(702)

Unified Diff: sim/bfin/interp.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sim/bfin/dv-bfin_sic.c ('k') | sim/bfin/machs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sim/bfin/interp.c
diff --git a/sim/bfin/interp.c b/sim/bfin/interp.c
index f82e73708ac020e1ae94630a0b73fbd68dc25d51..a36719564796ab1f4c9551d898c56f30f2210455 100644
--- a/sim/bfin/interp.c
+++ b/sim/bfin/interp.c
@@ -1051,7 +1051,7 @@ bfin_user_init (SIM_DESC sd, SIM_CPU *cpu, struct bfd *abfd,
/* start, at_phdr, at_phnum, at_base, at_entry, pt_dynamic */
bu32 elf_addrs[6];
- bu32 auxvt, auxvt_size;
+ bu32 auxvt;
bu32 exec_loadmap, ldso_loadmap;
char *ldso_path;
@@ -1144,9 +1144,9 @@ bfin_user_init (SIM_DESC sd, SIM_CPU *cpu, struct bfd *abfd,
sp -= 4; \
auxvt = (at); \
sim_write (sd, sp, (void *)&auxvt, 4)
- auxvt_size = 0;
unsigned int egid = getegid (), gid = getgid ();
unsigned int euid = geteuid (), uid = getuid ();
+ bu32 auxvt_size = 0;
AT_PUSH (AT_NULL, 0);
AT_PUSH (AT_SECURE, egid != gid || euid != uid);
AT_PUSH (AT_EGID, egid);
« no previous file with comments | « sim/bfin/dv-bfin_sic.c ('k') | sim/bfin/machs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698