Merge reason: Pick up the latest perf fixes.
Showing the changes to scripts (1 of 579 files). Show all
Unified · Split
| @@ -503,6 +503,11 @@ static int ignore_undef_symbol(struct elf_info *info, const char *symname) · 502 unmodified lines | |||
| 503 | strncmp(symname, "_rest32gpr_", sizeof("_rest32gpr_") - 1) == 0 || | 503 | strncmp(symname, "_rest32gpr_", sizeof("_rest32gpr_") - 1) == 0 || |
| 504 | strncmp(symname, "_save32gpr_", sizeof("_save32gpr_") - 1) == 0) | 504 | strncmp(symname, "_save32gpr_", sizeof("_save32gpr_") - 1) == 0) |
| 505 | return 1; | 505 | return 1; |
| 506 | if (info->hdr->e_machine == EM_PPC64) | ||
| 507 | /* Special register function linked on all modules during final link of .ko */ | ||
| 508 | if (strncmp(symname, "_restgpr0_", sizeof("_restgpr0_") - 1) == 0 || | ||
| 509 | strncmp(symname, "_savegpr0_", sizeof("_savegpr0_") - 1) == 0) | ||
| 510 | return 1; | ||
| 506 | /* Do not ignore this symbol */ | 511 | /* Do not ignore this symbol */ |
| 507 | return 0; | 512 | return 0; |
| 508 | } | 513 | } |