diff options
author | Alex Shi <alex.shi@linaro.org> | 2014-07-07 10:47:18 +0800 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2014-07-07 10:47:18 +0800 |
commit | 49bcf50125c661f45a030edd1a241917f1c7a821 (patch) | |
tree | d1e0662ea0a4b412f556517d44e2756a75111720 /scripts | |
parent | d01bd6fdb3be2f6cec1d5918e20175adca97615b (diff) | |
parent | 75dca413752fb5cb8a2b8357d3a68f1f7af0cc95 (diff) |
Merge tag 'v3.10.47' into linux-linaro-lsk
This is the 3.10.47 stable release
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/recordmcount.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/recordmcount.h b/scripts/recordmcount.h index 9d1421e63ff8..49b582a225b0 100644 --- a/scripts/recordmcount.h +++ b/scripts/recordmcount.h @@ -163,11 +163,11 @@ static int mcount_adjust = 0; static int MIPS_is_fake_mcount(Elf_Rel const *rp) { - static Elf_Addr old_r_offset; + static Elf_Addr old_r_offset = ~(Elf_Addr)0; Elf_Addr current_r_offset = _w(rp->r_offset); int is_fake; - is_fake = old_r_offset && + is_fake = (old_r_offset != ~(Elf_Addr)0) && (current_r_offset - old_r_offset == MIPS_FAKEMCOUNT_OFFSET); old_r_offset = current_r_offset; |