aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2020-10-05 02:57:20 +0000
committerKees Cook <[email protected]>2020-10-27 18:13:41 +0000
commit3e6631485fae70f474d5bd85cfaf0f113f61ccce (patch)
tree926ee0a90d438cc02f6a006fd22553a607c62f6c /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentLinux 5.10-rc1 (diff)
downloadkernel-3e6631485fae70f474d5bd85cfaf0f113f61ccce.tar.gz
kernel-3e6631485fae70f474d5bd85cfaf0f113f61ccce.zip
vmlinux.lds.h: Keep .ctors.* with .ctors
Under some circumstances, the compiler generates .ctors.* sections. This is seen doing a cross compile of x86_64 from a powerpc64el host: x86_64-linux-gnu-ld: warning: orphan section `.ctors.65435' from `kernel/trace/trace_clock.o' being placed in section `.ctors.65435' x86_64-linux-gnu-ld: warning: orphan section `.ctors.65435' from `kernel/trace/ftrace.o' being placed in section `.ctors.65435' x86_64-linux-gnu-ld: warning: orphan section `.ctors.65435' from `kernel/trace/ring_buffer.o' being placed in section `.ctors.65435' Include these orphans along with the regular .ctors section. Reported-by: Stephen Rothwell <[email protected]> Tested-by: Stephen Rothwell <[email protected]> Fixes: 83109d5d5fba ("x86/build: Warn on orphan section placement") Signed-off-by: Kees Cook <[email protected]> Acked-by: Nick Desaulniers <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions