diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-07-09 08:37:29 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-07-09 08:37:29 -0400 |
commit | 67875ee70c1402cbd77bdee96a0080c25cda5164 (patch) | |
tree | a2e9159823c504237ec033cff8a80c6e9e19aaa8 /scripts | |
parent | 684e2fab250eb4266b3ec1b79083c98eaae0c345 (diff) | |
parent | 75dca413752fb5cb8a2b8357d3a68f1f7af0cc95 (diff) |
Merge tag 'v3.10.47' into v3.10-rt
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; |