linux_dsm_epyc7002/arch/um/kernel
Johannes Berg 786b2384bf um: Enable CONFIG_CONSTRUCTORS
We do need to call the constructors for *modules*, and
at least for KASAN in the future, we must call even the
kernel constructors only later when the kernel has been
initialized.

Instead of relying on libc to call them, emit an empty
section for libc and let the kernel's CONSTRUCTORS code
do the rest of the job.

Tested that it indeed doesn't work in modules, and does
work after the fixes in both, with a few functions with
__attribute__((constructor)) in both dynamic and static
builds.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2019-09-15 21:37:13 +02:00
..
skas um: Implement TRACE_IRQFLAGS_SUPPORT 2019-09-15 21:37:11 +02:00
asm-offsets.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
config.c.in um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
dyn.lds.S um: Enable CONFIG_CONSTRUCTORS 2019-09-15 21:37:13 +02:00
early_printk.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
exec.c signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
exitcode.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
gmon_syms.c um: Fix CONFIG_GCOV for modules. 2017-09-13 22:33:54 +02:00
gprof_syms.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
initrd.c treewide: add checks for the return value of memblock_alloc*() 2019-03-12 10:04:02 -07:00
irq.c um: Don't garbage collect in deactivate_all_fds() 2019-07-02 23:27:19 +02:00
kmsg_dump.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ksyms.c um: Move syscall() declaration into os.h 2015-05-31 13:14:07 +02:00
maccess.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Makefile um: Remove meaningless clearing of clean-files 2019-09-15 21:37:08 +02:00
mem.c um: switch to generic version of pte allocation 2019-07-12 11:05:45 -07:00
physmem.c mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
process.c um: fix time travel mode 2019-08-23 00:39:53 +02:00
ptrace.c signal: Remove the task parameter from force_sig_fault 2019-05-29 09:31:43 -05:00
reboot.c sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
sigio.c um: Remove obsolete reenable_XX calls 2018-12-27 22:48:35 +01:00
signal.c um: Implement TRACE_IRQFLAGS_SUPPORT 2019-09-15 21:37:11 +02:00
stacktrace.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
syscall.c mm: add ksys_mmap_pgoff() helper; remove in-kernel calls to sys_mmap_pgoff() 2018-04-02 20:16:11 +02:00
sysrq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
time.c um: fix time travel mode 2019-08-23 00:39:53 +02:00
tlb.c signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
trap.c signal: Remove the task parameter from force_sig_fault 2019-05-29 09:31:43 -05:00
um_arch.c Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
umid.c um: Use os_warn to print out pre-boot warning/error messages 2017-07-05 23:18:25 +02:00
uml.lds.S um: Place (soft)irq text with macros 2019-09-15 21:37:12 +02:00
vmlinux.lds.S arm, cris, mips, sparc, powerpc, um, xtensa: fix build with bash 4.0 2009-09-20 12:28:22 +02:00