| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/arch/arm/boot/bootp/init.S |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2000-2003 Russell King. |
|---|
| 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 as |
|---|
| 8 | | - * published by the Free Software Foundation. |
|---|
| 9 | 6 | * |
|---|
| 10 | 7 | * "Header" file for splitting kernel + initrd. Note that we pass |
|---|
| 11 | 8 | * r0 through to r3 straight through. |
|---|
| .. | .. |
|---|
| 16 | 13 | * size immediately following the kernel, we could build this into |
|---|
| 17 | 14 | * a binary blob, and concatenate the zImage using the cat command. |
|---|
| 18 | 15 | */ |
|---|
| 19 | | - .section .start,#alloc,#execinstr |
|---|
| 16 | + .section .start, "ax" |
|---|
| 20 | 17 | .type _start, #function |
|---|
| 21 | 18 | .globl _start |
|---|
| 22 | 19 | |
|---|
| .. | .. |
|---|
| 44 | 41 | */ |
|---|
| 45 | 42 | movne r10, #0 @ terminator |
|---|
| 46 | 43 | movne r4, #2 @ Size of this entry (2 words) |
|---|
| 47 | | - stmneia r9, {r4, r5, r10} @ Size, ATAG_CORE, terminator |
|---|
| 44 | + stmiane r9, {r4, r5, r10} @ Size, ATAG_CORE, terminator |
|---|
| 48 | 45 | |
|---|
| 49 | 46 | /* |
|---|
| 50 | 47 | * find the end of the tag list, and then add an INITRD tag on the end. |
|---|