2 * Link script for the Nios2 10m50-ghrd board.
4 * Copyright Linaro Ltd 2022
5 * SPDX-License-Identifier: GPL-2.0-or-later
10 tpf (rx) : ORIGIN = 0xc0000000, LENGTH = 1K
11 ram (rwx) : ORIGIN = 0xc8000000, LENGTH = 128M
22 EXTERN(_fast_tlb_miss)
26 /* Begin at the (hardcoded) _interrupt entry point. */
29 *(.text .text.* .gnu.linkonce.t.*)
33 *(.rodata .rodata.* .gnu.linkonce.r.*)
36 .eh_frame_hdr : ALIGN (4) {
37 KEEP (*(.eh_frame_hdr))
38 *(.eh_frame_entry .eh_frame_entry.*)
40 .eh_frame : ALIGN (4) {
41 KEEP (*(.eh_frame)) *(.eh_frame.*)
46 *(.data .data.* .gnu.linkonce.d.*)
49 HIDDEN (_gp = ALIGN(16) + 0x7ff0);
50 PROVIDE_HIDDEN (gp = _gp);
52 *(.got.plt) *(.igot.plt) *(.got) *(.igot)
56 *(.sdata .sdata.* .gnu.linkonce.s.*)
60 __bss_start = ABSOLUTE(.);
61 *(.sbss .sbss.* .gnu.linkonce.sb.*)
63 *(.bss .bss.* .gnu.linkonce.b.*)
66 __bss_end = ABSOLUTE(.);
69 __stack = ORIGIN(ram) + LENGTH(ram);