| .. | .. |
|---|
| 1 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
|---|
| 2 | + |
|---|
| 3 | +#define EMITS_PT_NOTE |
|---|
| 4 | +#define RO_EXCEPTION_TABLE_ALIGN 16 |
|---|
| 5 | + |
|---|
| 2 | 6 | #include <asm-generic/vmlinux.lds.h> |
|---|
| 3 | 7 | #include <asm/thread_info.h> |
|---|
| 4 | 8 | #include <asm/cache.h> |
|---|
| .. | .. |
|---|
| 8 | 12 | OUTPUT_FORMAT("elf64-alpha") |
|---|
| 9 | 13 | OUTPUT_ARCH(alpha) |
|---|
| 10 | 14 | ENTRY(__start) |
|---|
| 11 | | -PHDRS { kernel PT_LOAD; note PT_NOTE; } |
|---|
| 15 | +PHDRS { text PT_LOAD; note PT_NOTE; } |
|---|
| 12 | 16 | jiffies = jiffies_64; |
|---|
| 13 | 17 | SECTIONS |
|---|
| 14 | 18 | { |
|---|
| .. | .. |
|---|
| 27 | 31 | LOCK_TEXT |
|---|
| 28 | 32 | *(.fixup) |
|---|
| 29 | 33 | *(.gnu.warning) |
|---|
| 30 | | - } :kernel |
|---|
| 34 | + } :text |
|---|
| 31 | 35 | swapper_pg_dir = SWAPPER_PGD; |
|---|
| 32 | 36 | _etext = .; /* End of text section */ |
|---|
| 33 | 37 | |
|---|
| 34 | | - NOTES :kernel :note |
|---|
| 35 | | - .dummy : { |
|---|
| 36 | | - *(.dummy) |
|---|
| 37 | | - } :kernel |
|---|
| 38 | | - |
|---|
| 39 | | - RODATA |
|---|
| 40 | | - EXCEPTION_TABLE(16) |
|---|
| 38 | + RO_DATA(4096) |
|---|
| 41 | 39 | |
|---|
| 42 | 40 | /* Will be freed after init */ |
|---|
| 43 | 41 | __init_begin = ALIGN(PAGE_SIZE); |
|---|
| .. | .. |
|---|
| 52 | 50 | |
|---|
| 53 | 51 | _sdata = .; /* Start of rw data section */ |
|---|
| 54 | 52 | _data = .; |
|---|
| 55 | | - RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE) |
|---|
| 53 | + RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE) |
|---|
| 56 | 54 | |
|---|
| 57 | 55 | .got : { |
|---|
| 58 | 56 | *(.got) |
|---|
| .. | .. |
|---|
| 74 | 72 | |
|---|
| 75 | 73 | STABS_DEBUG |
|---|
| 76 | 74 | DWARF_DEBUG |
|---|
| 75 | + ELF_DETAILS |
|---|
| 77 | 76 | |
|---|
| 78 | 77 | DISCARDS |
|---|
| 79 | 78 | } |
|---|