| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Linker script for Hexagon kernel |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License version 2 and |
|---|
| 8 | | - * only version 2 as published by the Free Software Foundation. |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 13 | | - * GNU General Public License for more details. |
|---|
| 14 | | - * |
|---|
| 15 | | - * You should have received a copy of the GNU General Public License |
|---|
| 16 | | - * along with this program; if not, write to the Free Software |
|---|
| 17 | | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
|---|
| 18 | | - * 02110-1301, USA. |
|---|
| 19 | 6 | */ |
|---|
| 20 | 7 | |
|---|
| 21 | 8 | #include <asm-generic/vmlinux.lds.h> |
|---|
| .. | .. |
|---|
| 51 | 38 | .text : AT(ADDR(.text)) { |
|---|
| 52 | 39 | _text = .; |
|---|
| 53 | 40 | TEXT_TEXT |
|---|
| 41 | + IRQENTRY_TEXT |
|---|
| 42 | + SOFTIRQENTRY_TEXT |
|---|
| 54 | 43 | SCHED_TEXT |
|---|
| 55 | 44 | CPUIDLE_TEXT |
|---|
| 56 | 45 | LOCK_TEXT |
|---|
| .. | .. |
|---|
| 62 | 51 | INIT_DATA_SECTION(PAGE_SIZE) |
|---|
| 63 | 52 | |
|---|
| 64 | 53 | _sdata = .; |
|---|
| 65 | | - RW_DATA_SECTION(32,PAGE_SIZE,_THREAD_SIZE) |
|---|
| 66 | | - RO_DATA_SECTION(PAGE_SIZE) |
|---|
| 54 | + RW_DATA(32,PAGE_SIZE,_THREAD_SIZE) |
|---|
| 55 | + RO_DATA(PAGE_SIZE) |
|---|
| 67 | 56 | _edata = .; |
|---|
| 68 | 57 | |
|---|
| 69 | 58 | EXCEPTION_TABLE(16) |
|---|
| 70 | | - NOTES |
|---|
| 71 | 59 | |
|---|
| 72 | 60 | BSS_SECTION(_PAGE_SIZE, _PAGE_SIZE, _PAGE_SIZE) |
|---|
| 73 | 61 | |
|---|
| .. | .. |
|---|
| 75 | 63 | |
|---|
| 76 | 64 | STABS_DEBUG |
|---|
| 77 | 65 | DWARF_DEBUG |
|---|
| 66 | + ELF_DETAILS |
|---|
| 78 | 67 | |
|---|
| 79 | 68 | DISCARDS |
|---|
| 80 | 69 | } |
|---|