android_kernel_motorola_sm6375/arch
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Masahiro Yamada 7a934a77f1 UML: define RUNTIME_DISCARD_EXIT
commit b99ddbe8336ee680257c8ab479f75051eaa49dcf upstream.

With CONFIG_VIRTIO_UML=y, GNU ld < 2.36 fails to link UML vmlinux
(w/wo CONFIG_LD_SCRIPT_STATIC).

  `.exit.text' referenced in section `.uml.exitcall.exit' of arch/um/drivers/virtio_uml.o: defined in discarded section `.exit.text' of arch/um/drivers/virtio_uml.o
  collect2: error: ld returned 1 exit status

This fix is similar to the following commits:

- 4b9880dbf3bd ("powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT")
- a494398bde27 ("s390: define RUNTIME_DISCARD_EXIT to fix link error
  with GNU ld < 2.36")
- c1c551bebf92 ("sh: define RUNTIME_DISCARD_EXIT")

Fixes: 99cb0d917ffa ("arch: fix broken BuildID for arm64 and riscv")
Reported-by: SeongJae Park <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Tested-by: SeongJae Park <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2023-03-17 08:32:54 +01:00
..
alpha alpha: fix R_ALPHA_LITERAL reloc for large modules 2023-03-17 08:32:52 +01:00
arc arc: iounmap() arg is volatile 2022-11-03 23:56:54 +09:00
arm ARM: dts: spear320-hmi: correct STMPE GPIO compatible 2023-03-11 16:44:12 +01:00
arm64 arm64: dts: mediatek: mt7622: Add missing pwm-cells to pwm node 2023-03-11 16:43:34 +01:00
c6x
csky csky: Fix function name in csky_alignment() and die() 2023-02-06 07:52:49 +01:00
h8300 h8300: Fix build errors from do_exit() to make_task_dead() transition 2023-02-06 07:52:49 +01:00
hexagon hexagon: Fix function name in die() 2023-02-06 07:52:49 +01:00
ia64 ia64: make IA64_MCA_RECOVERY bool instead of tristate 2023-02-06 07:52:49 +01:00
m68k m68k: Check syscall_trace_enter() return code 2023-03-11 16:43:55 +01:00
microblaze exit: Add and use make_task_dead. 2023-02-06 07:52:49 +01:00
mips MIPS: Fix a compilation issue 2023-03-17 08:32:52 +01:00
nds32 exit: Add and use make_task_dead. 2023-02-06 07:52:49 +01:00
nios2 exit: Add and use make_task_dead. 2023-02-06 07:52:49 +01:00
openrisc exit: Add and use make_task_dead. 2023-02-06 07:52:49 +01:00
parisc parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case 2023-02-22 12:50:28 +01:00
powerpc powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds 2023-03-17 08:32:53 +01:00
riscv riscv: Use READ_ONCE_NOCHECK in imprecise unwinding stack mode 2023-03-17 08:32:52 +01:00
s390 s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36 2023-03-17 08:32:53 +01:00
sh sh: define RUNTIME_DISCARD_EXIT 2023-03-17 08:32:53 +01:00
sparc sparc: allow PM configs for sparc32 COMPILE_TEST 2023-03-11 16:43:50 +01:00
um UML: define RUNTIME_DISCARD_EXIT 2023-03-17 08:32:54 +01:00
unicore32
x86 x86, vmlinux.lds: Add RUNTIME_DISCARD_EXIT to generic DISCARDS 2023-03-17 08:32:53 +01:00
xtensa exit: Add and use make_task_dead. 2023-02-06 07:52:49 +01:00
.gitignore
Kconfig locking/refcount: Consolidate implementations of refcount_t 2022-07-29 17:14:17 +02:00