From 0e9ee6c27f757badedc78d5ffb680f38b7824f38 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 27 Nov 2011 13:03:09 -0500 Subject: ldso: bfin: fix sram_flags init An earlier version had this, but was lost as code was shuffled around. Signed-off-by: Mike Frysinger --- ldso/ldso/bfin/dl-inlines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldso') 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) && -- cgit v1.2.3