linux/arch/parisc/kernel
Helge Deller 200036a8e8 parisc: Allow building 64-bit kernel without -mlong-calls compiler option
A 64-bit kernel built without CONFIG_MLONGCALLS (-mlong-calls compiler
option) usually fails to link because of unreachable functions.  Try to
work around that linking issue by moving the *.init and *.exit text
segments closer to the main text segment. With that change those
segments now don't get freed at runtime any longer, but since we in most
cases run with huge-page enabled, we ignore the lost memory in
preference of better performance.

This change will not guarantee that every kernel config will now
sucessfully build with short calls and without linking issues.

Signed-off-by: Helge Deller <deller@gmx.de>
2019-05-20 10:51:39 +02:00
..
syscalls uapi: Wire up the mount API syscalls on non-x86 arches [ver #2] 2019-05-16 12:23:45 -04:00
.gitignore
alternative.c parisc: Split out alternative live patching code 2018-12-10 07:47:50 +01:00
asm-offsets.c parisc: Drop per_cpu uaccess related exception_data struct 2017-05-10 17:46:13 +02:00
audit.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cache.c parisc: Use __ro_after_init in cache.c 2019-05-10 21:00:44 +02:00
compat_audit.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
drivers.c parisc: Use __ro_after_init in drivers.c 2019-05-10 21:00:44 +02:00
entry.S parisc: Use per-pagetable spinlock 2019-05-03 23:47:41 +02:00
firmware.c parisc: Use __ro_after_init in firmware.c 2019-05-10 21:00:44 +02:00
ftrace.c function_graph: Place ftrace_graph_entry_stub() prototype in include/linux/ftrace.h 2019-04-29 17:17:22 -04:00
hardware.c parisc: Move various functions and strings to init section 2018-03-27 18:52:21 +02:00
head.S parisc: Use __ro_after_init in head.S 2019-05-10 21:00:44 +02:00
hpmc.S parisc: Fix exported address of os_hpmc handler 2018-10-17 08:18:01 +02:00
inventory.c parisc: Use __ro_after_init in inventory.c 2019-05-10 21:00:44 +02:00
irq.c parisc: Improve initial IRQ to CPU assignment 2019-02-21 20:37:11 +01:00
jump_label.c parisc: Add static branch and JUMP_LABEL feature 2019-05-06 00:10:03 +02:00
kgdb.c parisc: add KGDB support 2019-05-03 23:47:38 +02:00
kprobes.c parisc: Implement kretprobes 2019-05-03 23:47:39 +02:00
Makefile parisc: Add static branch and JUMP_LABEL feature 2019-05-06 00:10:03 +02:00
module.c parisc: Split out alternative live patching code 2018-12-10 07:47:50 +01:00
pa7300lc.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pacache.S parisc: Remove lock code to serialize TLB operations in pacache.S 2019-05-03 23:47:40 +02:00
parisc_ksyms.c parisc: Switch from DISCONTIGMEM to SPARSEMEM 2019-05-03 23:47:40 +02:00
patch.c parisc: remove unused flags parameter in __patch_text() 2019-05-03 23:47:39 +02:00
pci-dma.c dma-mapping: zero memory returned from dma_alloc_* 2018-12-20 08:13:52 +01:00
pci.c parisc: Use __ro_after_init in pci.c 2019-05-10 21:00:44 +02:00
pdc_chassis.c proc: introduce proc_create_single{,_data} 2018-05-16 07:23:35 +02:00
pdc_cons.c treewide: Switch DEFINE_TIMER callbacks to struct timer_list * 2017-11-21 15:57:05 -08:00
pdt.c mm/memory_failure: Remove unused trapno from memory_failure 2018-01-23 12:17:42 -06:00
perf_asm.S
perf_images.h parisc: Use __ro_after_init in perf_images.h 2019-05-10 21:00:44 +02:00
perf.c parisc: Static initialization of spinlocks in perf and unwind code 2017-08-22 16:34:33 +02:00
process.c parisc: Use __ro_after_init in process.c 2019-05-10 21:00:45 +02:00
processor.c parisc: Use __ro_after_init in processor.c 2019-05-10 21:00:45 +02:00
ptrace.c parisc: add functions required by KPROBE_EVENTS 2019-05-03 23:47:39 +02:00
real2.S parisc: Fix and improve kernel stack unwinding 2018-08-13 09:54:17 +02:00
setup.c parisc: Use per-pagetable spinlock 2019-05-03 23:47:41 +02:00
signal.c parisc: Add alternative coding infrastructure 2018-10-17 17:22:26 +02:00
signal32.c signal: Unify and correct copy_siginfo_to_user32 2018-01-15 19:56:20 -06:00
signal32.h signal: Unify and correct copy_siginfo_to_user32 2018-01-15 19:56:20 -06:00
smp.c parisc: Count IPI function call interrupts 2019-02-21 20:37:11 +01:00
stacktrace.c parisc/stacktrace: Remove the pointless ULONG_MAX marker 2019-04-14 19:58:29 +02:00
sys_parisc.c parisc: Consider stack randomization for mmap base only when necessary 2019-05-03 23:47:38 +02:00
sys_parisc32.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
syscall.S parisc: Drop LDCW barrier in CAS code when running UP 2019-05-10 21:00:24 +02:00
time.c parisc: Use __ro_after_init in time.c 2019-05-10 21:00:45 +02:00
topology.c parisc: Add CPU topology support 2017-11-17 15:27:22 +01:00
traps.c parisc: Implement kprobes 2019-05-03 23:47:39 +02:00
unaligned.c signal/parisc: Use force_sig_fault where appropriate 2018-04-25 10:44:06 -05:00
unwind.c parisc: Use __ro_after_init in unwind.c 2019-05-10 21:00:45 +02:00
vmlinux.lds.S parisc: Allow building 64-bit kernel without -mlong-calls compiler option 2019-05-20 10:51:39 +02:00