Revision 607a4029d439cdfa258aff5da32bb9cd6ed1a66d authored by Josh Poimboeuf on 27 September 2017, 15:36:38 UTC, committed by Ingo Molnar on 28 September 2017, 05:25:54 UTC
Arnd Bergmann reported a bunch of warnings like:

  crypto/jitterentropy.o: warning: objtool: jent_fold_time()+0x3b: call without frame pointer save/setup
  crypto/jitterentropy.o: warning: objtool: jent_stuck()+0x1d: call without frame pointer save/setup
  crypto/jitterentropy.o: warning: objtool: jent_unbiased_bit()+0x15: call without frame pointer save/setup
  crypto/jitterentropy.o: warning: objtool: jent_read_entropy()+0x32: call without frame pointer save/setup
  crypto/jitterentropy.o: warning: objtool: jent_entropy_collector_free()+0x19: call without frame pointer save/setup

and

  arch/x86/events/core.o: warning: objtool: collect_events uses BP as a scratch register
  arch/x86/events/core.o: warning: objtool: events_ht_sysfs_show()+0x22: call without frame pointer save/setup

With certain rare configurations, GCC sometimes sets up the frame
pointer with:

  lea    (%rsp),%rbp

instead of:

  mov    %rsp,%rbp

The instructions are equivalent, so treat the former like the latter.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/a468af8b28a69b83fffc6d7668be9b6fcc873699.1506526584.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent da541b2
History
File Mode Size
platform
acbuffer.h -rw-r--r-- 10.4 KB
acconfig.h -rw-r--r-- 8.7 KB
acexcep.h -rw-r--r-- 17.2 KB
acnames.h -rw-r--r-- 3.8 KB
acoutput.h -rw-r--r-- 17.7 KB
acpi.h -rw-r--r-- 3.1 KB
acpi_bus.h -rw-r--r-- 19.0 KB
acpi_drivers.h -rw-r--r-- 4.0 KB
acpi_io.h -rw-r--r-- 674 bytes
acpi_lpat.h -rw-r--r-- 1.5 KB
acpi_numa.h -rw-r--r-- 584 bytes
acpiosxf.h -rw-r--r-- 12.3 KB
acpixf.h -rw-r--r-- 31.5 KB
acrestyp.h -rw-r--r-- 20.6 KB
actbl.h -rw-r--r-- 20.0 KB
actbl1.h -rw-r--r-- 40.5 KB
actbl2.h -rw-r--r-- 43.0 KB
actbl3.h -rw-r--r-- 21.6 KB
actypes.h -rw-r--r-- 42.2 KB
acuuid.h -rw-r--r-- 4.2 KB
apei.h -rw-r--r-- 1.3 KB
button.h -rw-r--r-- 582 bytes
cppc_acpi.h -rw-r--r-- 2.9 KB
ghes.h -rw-r--r-- 2.8 KB
hed.h -rw-r--r-- 371 bytes
pcc.h -rw-r--r-- 786 bytes
pdc_intel.h -rw-r--r-- 1009 bytes
processor.h -rw-r--r-- 10.9 KB
reboot.h -rw-r--r-- 162 bytes
video.h -rw-r--r-- 2.8 KB

back to top