Re: [PATCH 3/3] objtool: Support GCC 8 switch tables

2018-05-10 Thread Peter Zijlstra
On Wed, May 09, 2018 at 10:39:16PM -0500, Josh Poimboeuf wrote: > Add some additional checks to the switch jump table logic. This fixes > the following warnings with GCC 8: > > drivers/block/virtio_blk.o: warning: objtool: virtio_queue_rq()+0x0: stack > state mismatch: cfa1=7+8 cfa2=7+72 > n

[PATCH 3/3] objtool: Support GCC 8 switch tables

2018-05-09 Thread Josh Poimboeuf
Add some additional checks to the switch jump table logic. This fixes the following warnings with GCC 8: drivers/block/virtio_blk.o: warning: objtool: virtio_queue_rq()+0x0: stack state mismatch: cfa1=7+8 cfa2=7+72 net/ipv6/icmp.o: warning: objtool: icmpv6_rcv()+0x0: stack state mismatch: c