Commit a958c4f
objtool: Fix static_call list generation
Currently, objtool generates tail call entries in add_jump_destination()
but waits until validate_branch() to generate the regular call entries.
Move these to add_call_destination() for consistency.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Link: https://lkml.kernel.org/r/20210326151259.691529901@infradead.org1 parent 530b4dd commit a958c4f
1 file changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1045 | 1045 | | |
1046 | 1046 | | |
1047 | 1047 | | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
1048 | 1053 | | |
1049 | 1054 | | |
1050 | 1055 | | |
| |||
1788 | 1793 | | |
1789 | 1794 | | |
1790 | 1795 | | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
1791 | 1799 | | |
1792 | 1800 | | |
1793 | 1801 | | |
| |||
1800 | 1808 | | |
1801 | 1809 | | |
1802 | 1810 | | |
| 1811 | + | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
1803 | 1815 | | |
1804 | 1816 | | |
1805 | 1817 | | |
| |||
2762 | 2774 | | |
2763 | 2775 | | |
2764 | 2776 | | |
2765 | | - | |
2766 | | - | |
2767 | | - | |
2768 | | - | |
2769 | | - | |
2770 | 2777 | | |
2771 | 2778 | | |
2772 | 2779 | | |
| |||
0 commit comments