diff options
Diffstat (limited to 'arch/xtensa/kernel/Makefile')
-rw-r--r-- | arch/xtensa/kernel/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/xtensa/kernel/Makefile b/arch/xtensa/kernel/Makefile index c3a59d992ac0..1e7fc87a94bb 100644 --- a/arch/xtensa/kernel/Makefile +++ b/arch/xtensa/kernel/Makefile | |||
@@ -4,14 +4,16 @@ | |||
4 | 4 | ||
5 | extra-y := head.o vmlinux.lds | 5 | extra-y := head.o vmlinux.lds |
6 | 6 | ||
7 | obj-y := align.o entry.o irq.o coprocessor.o process.o ptrace.o \ | 7 | obj-y := align.o coprocessor.o entry.o irq.o pci-dma.o platform.o process.o \ |
8 | setup.o signal.o syscall.o time.o traps.o vectors.o platform.o \ | 8 | ptrace.o setup.o signal.o stacktrace.o syscall.o time.o traps.o \ |
9 | pci-dma.o | 9 | vectors.o |
10 | 10 | ||
11 | obj-$(CONFIG_KGDB) += xtensa-stub.o | 11 | obj-$(CONFIG_KGDB) += xtensa-stub.o |
12 | obj-$(CONFIG_PCI) += pci.o | 12 | obj-$(CONFIG_PCI) += pci.o |
13 | obj-$(CONFIG_MODULES) += xtensa_ksyms.o module.o | 13 | obj-$(CONFIG_MODULES) += xtensa_ksyms.o module.o |
14 | 14 | ||
15 | AFLAGS_head.o += -mtext-section-literals | ||
16 | |||
15 | # In the Xtensa architecture, assembly generates literals which must always | 17 | # In the Xtensa architecture, assembly generates literals which must always |
16 | # precede the L32R instruction with a relative offset less than 256 kB. | 18 | # precede the L32R instruction with a relative offset less than 256 kB. |
17 | # Therefore, the .text and .literal section must be combined in parenthesis | 19 | # Therefore, the .text and .literal section must be combined in parenthesis |