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
kasan
Kconfig -rw-r--r-- 24.8 KB
Kconfig.debug -rw-r--r-- 3.8 KB
Makefile -rw-r--r-- 3.6 KB
backing-dev.c -rw-r--r-- 27.5 KB
balloon_compaction.c -rw-r--r-- 4.9 KB
bootmem.c -rw-r--r-- 20.8 KB
cleancache.c -rw-r--r-- 9.9 KB
cma.c -rw-r--r-- 13.5 KB
cma.h -rw-r--r-- 534 bytes
cma_debug.c -rw-r--r-- 4.5 KB
compaction.c -rw-r--r-- 57.9 KB
debug.c -rw-r--r-- 4.2 KB
debug_page_ref.c -rw-r--r-- 1.3 KB
dmapool.c -rw-r--r-- 13.7 KB
early_ioremap.c -rw-r--r-- 6.7 KB
fadvise.c -rw-r--r-- 4.4 KB
failslab.c -rw-r--r-- 1.4 KB
filemap.c -rw-r--r-- 86.2 KB
frame_vector.c -rw-r--r-- 6.0 KB
frontswap.c -rw-r--r-- 14.3 KB
gup.c -rw-r--r-- 48.0 KB
highmem.c -rw-r--r-- 11.7 KB
hmm.c -rw-r--r-- 33.4 KB
huge_memory.c -rw-r--r-- 79.5 KB
hugetlb.c -rw-r--r-- 127.5 KB
hugetlb_cgroup.c -rw-r--r-- 10.9 KB
hwpoison-inject.c -rw-r--r-- 3.2 KB
init-mm.c -rw-r--r-- 680 bytes
internal.h -rw-r--r-- 16.6 KB
interval_tree.c -rw-r--r-- 3.2 KB
khugepaged.c -rw-r--r-- 48.5 KB
kmemcheck.c -rw-r--r-- 2.9 KB
kmemleak-test.c -rw-r--r-- 3.2 KB
kmemleak.c -rw-r--r-- 58.7 KB
ksm.c -rw-r--r-- 85.5 KB
list_lru.c -rw-r--r-- 12.6 KB
maccess.c -rw-r--r-- 3.0 KB
madvise.c -rw-r--r-- 22.1 KB
memblock.c -rw-r--r-- 50.5 KB
memcontrol.c -rw-r--r-- 159.4 KB
memory-failure.c -rw-r--r-- 47.8 KB
memory.c -rw-r--r-- 124.8 KB
memory_hotplug.c -rw-r--r-- 49.4 KB
mempolicy.c -rw-r--r-- 69.5 KB
mempool.c -rw-r--r-- 13.9 KB
memtest.c -rw-r--r-- 2.7 KB
migrate.c -rw-r--r-- 76.7 KB
mincore.c -rw-r--r-- 6.7 KB
mlock.c -rw-r--r-- 22.5 KB
mm_init.c -rw-r--r-- 4.8 KB
mmap.c -rw-r--r-- 97.3 KB
mmu_context.c -rw-r--r-- 1.3 KB
mmu_notifier.c -rw-r--r-- 11.2 KB
mmzone.c -rw-r--r-- 2.4 KB
mprotect.c -rw-r--r-- 13.8 KB
mremap.c -rw-r--r-- 17.1 KB
msync.c -rw-r--r-- 2.6 KB
nobootmem.c -rw-r--r-- 10.6 KB
nommu.c -rw-r--r-- 48.5 KB
oom_kill.c -rw-r--r-- 28.7 KB
page-writeback.c -rw-r--r-- 84.6 KB
page_alloc.c -rw-r--r-- 211.2 KB
page_counter.c -rw-r--r-- 4.8 KB
page_ext.c -rw-r--r-- 11.1 KB
page_idle.c -rw-r--r-- 5.4 KB
page_io.c -rw-r--r-- 10.4 KB
page_isolation.c -rw-r--r-- 8.0 KB
page_owner.c -rw-r--r-- 15.2 KB
page_poison.c -rw-r--r-- 2.6 KB
page_vma_mapped.c -rw-r--r-- 6.5 KB
pagewalk.c -rw-r--r-- 8.4 KB
percpu-internal.h -rw-r--r-- 5.9 KB
percpu-km.c -rw-r--r-- 2.9 KB
percpu-stats.c -rw-r--r-- 5.9 KB
percpu-vm.c -rw-r--r-- 10.1 KB
percpu.c -rw-r--r-- 82.0 KB
pgtable-generic.c -rw-r--r-- 5.3 KB
process_vm_access.c -rw-r--r-- 10.1 KB
quicklist.c -rw-r--r-- 2.4 KB
readahead.c -rw-r--r-- 16.1 KB
rmap.c -rw-r--r-- 51.0 KB
rodata_test.c -rw-r--r-- 1.4 KB
shmem.c -rw-r--r-- 111.3 KB
slab.c -rw-r--r-- 110.2 KB
slab.h -rw-r--r-- 14.4 KB
slab_common.c -rw-r--r-- 34.3 KB
slob.c -rw-r--r-- 16.1 KB
slub.c -rw-r--r-- 141.8 KB
sparse-vmemmap.c -rw-r--r-- 8.0 KB
sparse.c -rw-r--r-- 22.7 KB
swap.c -rw-r--r-- 27.6 KB
swap_cgroup.c -rw-r--r-- 5.2 KB
swap_slots.c -rw-r--r-- 9.1 KB
swap_state.c -rw-r--r-- 21.6 KB
swapfile.c -rw-r--r-- 94.2 KB
truncate.c -rw-r--r-- 25.4 KB
usercopy.c -rw-r--r-- 7.5 KB
userfaultfd.c -rw-r--r-- 14.7 KB
util.c -rw-r--r-- 18.4 KB
vmacache.c -rw-r--r-- 3.2 KB
vmalloc.c -rw-r--r-- 70.3 KB
vmpressure.c -rw-r--r-- 14.3 KB
vmscan.c -rw-r--r-- 115.5 KB
vmstat.c -rw-r--r-- 51.1 KB
workingset.c -rw-r--r-- 18.2 KB
z3fold.c -rw-r--r-- 29.3 KB
zbud.c -rw-r--r-- 18.2 KB
zpool.c -rw-r--r-- 10.0 KB
zsmalloc.c -rw-r--r-- 59.4 KB
zswap.c -rw-r--r-- 32.8 KB

back to top