mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-27 02:35:30 +00:00
This patch fixes following error (for big kernels):
---8<---
arch/avr32/boot/u-boot/head.o: In function `no_tag_table':
(.init.text+0x44): relocation truncated to fit: R_AVR32_22H_PCREL against symbol `panic' defined in .text.unlikely section in kernel/built-in.o
arch/avr32/kernel/built-in.o: In function `bad_return':
(.ex.text+0x236): relocation truncated to fit: R_AVR32_22H_PCREL against symbol `panic' defined in .text.unlikely section in kernel/built-in.o
--->8---
It comes up when the kernel increases and 'panic()' is too far away to fit in
the +/- 2MiB range. Which in turn issues from the 21-bit displacement in
'br{cond4}' mnemonic which is one of the two ways to do jumps (rjmp has just
10-bit displacement and therefore a way smaller range). This fact was stated
before in
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| asm-offsets.c | ||
| avr32_ksyms.c | ||
| cpu.c | ||
| entry-avr32b.S | ||
| head.S | ||
| irq.c | ||
| kprobes.c | ||
| Makefile | ||
| module.c | ||
| nmi_debug.c | ||
| ocd.c | ||
| process.c | ||
| ptrace.c | ||
| setup.c | ||
| signal.c | ||
| stacktrace.c | ||
| switch_to.S | ||
| syscall_table.S | ||
| syscall-stubs.S | ||
| time.c | ||
| traps.c | ||
| vmlinux.lds.S | ||