Pull x86 fix from Borislav Petkov: "A single fix for objtool to generate proper unwind info for newer toolchains which do not generate section symbols anymore. And a cleanup ontop. This was originally going to go during the next merge window but people can already trigger a build error with binutils-2.36 which doesn't emit section symbols - something which objtool relies on - so let's expedite it" * tag 'x86_entry_for_v5.11_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/entry: Remove put_ret_addr_in_rdi THUNK macro argument x86/entry: Emit a symbol for register restoring thunk
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -178,6 +178,11 @@ · 177 unmodified lines | |||
| 178 | * Objtool generates debug info for both FUNC & CODE, but needs special | 178 | * Objtool generates debug info for both FUNC & CODE, but needs special |
| 179 | * annotations for each CODE's start (to describe the actual stack frame). | 179 | * annotations for each CODE's start (to describe the actual stack frame). |
| 180 | * | 180 | * |
| 181 | * Objtool requires that all code must be contained in an ELF symbol. Symbol | ||
| 182 | * names that have a .L prefix do not emit symbol table entries. .L | ||
| 183 | * prefixed symbols can be used within a code region, but should be avoided for | ||
| 184 | * denoting a range of code via ``SYM_*_START/END`` annotations. | ||
| 185 | * | ||
| 181 | * ALIAS -- does not generate debug info -- the aliased function will | 186 | * ALIAS -- does not generate debug info -- the aliased function will |
| 182 | */ | 187 | */ |
| 183 | 188 | ||