aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pcie-qcom-ep.c
diff options
context:
space:
mode:
authorNaveen N. Rao <[email protected]>2022-05-19 09:12:37 +0000
committerakpm <[email protected]>2022-05-27 15:55:18 +0000
commit3e35142ef99fe6b4fe5d834ad43ee13cca10a2dc (patch)
treef39d6185997821292ea00eebe11a621f4c90a530 /drivers/pci/controller/dwc/pcie-qcom-ep.c
parentmm/page_alloc: always attempt to allocate at least one page during bulk alloc... (diff)
downloadkernel-3e35142ef99fe6b4fe5d834ad43ee13cca10a2dc.tar.gz
kernel-3e35142ef99fe6b4fe5d834ad43ee13cca10a2dc.zip
kexec_file: drop weak attribute from arch_kexec_apply_relocations[_add]
Since commit d1bcae833b32f1 ("ELF: Don't generate unused section symbols") [1], binutils (v2.36+) started dropping section symbols that it thought were unused. This isn't an issue in general, but with kexec_file.c, gcc is placing kexec_arch_apply_relocations[_add] into a separate .text.unlikely section and the section symbol ".text.unlikely" is being dropped. Due to this, recordmcount is unable to find a non-weak symbol in .text.unlikely to generate a relocation record against. Address this by dropping the weak attribute from these functions. Instead, follow the existing pattern of having architectures #define the name of the function they want to override in their headers. [1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=d1bcae833b32f1 [[email protected]: arch/s390/include/asm/kexec.h needs linux/module.h] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Michael Ellerman <[email protected]> Signed-off-by: Naveen N. Rao <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-ep.c')
0 files changed, 0 insertions, 0 deletions