diff options
author | Alex Shi <alex.shi@linaro.org> | 2014-07-07 10:34:14 +0800 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2014-07-07 10:34:14 +0800 |
commit | 65c0e55c16d87ab094ae512d1dc1c481be27bf21 (patch) | |
tree | 01b89607be540d3dbc3a1b2bdd20ccdd8e30eff7 /scripts | |
parent | 80f04edd1db9e64fc5310130b9b2c95b965ec9c9 (diff) | |
parent | ff694e286c5044cbb740856e8b86836256824be8 (diff) |
Merge tag 'v3.14.11' into linux-linaro-lsk-v3.14
This is the 3.14.11 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; |