summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-11-27 13:03:09 -0500
committerMike Frysinger <vapier@gentoo.org>2011-11-27 13:04:32 -0500
commit0e9ee6c27f757badedc78d5ffb680f38b7824f38 (patch)
tree8564a6b8920cdbc4ec4ceb24e10b2e9ba171292d
parent074129d4b21d98683798588f25080d29b8f5796e (diff)
ldso: bfin: fix sram_flags init
An earlier version had this, but was lost as code was shuffled around. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--ldso/ldso/bfin/dl-inlines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/bfin/dl-inlines.h b/ldso/ldso/bfin/dl-inlines.h
index 5c2e7b2d9..b08ce61cb 100644
--- a/ldso/ldso/bfin/dl-inlines.h
+++ b/ldso/ldso/bfin/dl-inlines.h
@@ -85,7 +85,7 @@ static __always_inline char *
__dl_map_segment(Elf32_Ehdr *epnt, Elf32_Phdr *ppnt, int infile, int flags)
{
void *addr;
- unsigned long sram_flags;
+ unsigned long sram_flags = 0;
/* Handle L1 inst mappings */
if (((epnt->e_flags & EF_BFIN_CODE_IN_L1) || ppnt->p_vaddr == 0xffa00000) &&