source: ssp_rpi3/trunk/target/rpi_arm64_gcc/rpi_arm64.ld@ 386

Last change on this file since 386 was 386, checked in by nmir-saito, 5 years ago

modify svn:mimetype of files

  • Property svn:mime-type set to text/plain; charset=utf-8
File size: 1.9 KB
Line 
1/*
2 * $Id:$
3 */
4
5OUTPUT_FORMAT("elf64-littleaarch64", "elf64-bigaarch64",
6 "elf64-littleaarch64")
7OUTPUT_ARCH(aarch64)
8
9PROVIDE(hardware_init_hook = 0);
10PROVIDE(software_init_hook = 0);
11PROVIDE(software_term_hook = 0);
12
13ENTRY(start)
14SECTIONS
15{
16 . = 0x40000000;
17 .text : {
18 __start_text = .;
19 *(.text)
20 __end_kernel = .;
21 }
22 _etext = .;
23 PROVIDE(etext = .);
24
25 . = ALIGN(8);
26 .rodata : {
27 __start_rodata = .;
28 *(.rodata)
29 __end_rodata = .;
30 }
31
32 . = ALIGN(8);
33 __start_idata = .;
34 .data : AT(__start_idata){
35 __start_data = .;
36 *(.data)
37 __end_data = .;
38 }
39 __end_idata = __start_idata + SIZEOF(.data);
40 _edata = .;
41 PROVIDE(edata = .);
42 . = ALIGN(8);
43 .bss : {
44 __start_bss = .;
45 *(.bss)
46 *(COMMON)
47 __end_bss = .;
48 }
49 . = ALIGN(8);
50 _end = .;
51 PROVIDE(end = .);
52 . = . + 0x1000; /* 4kB of stack memory */
53 stack_top = .;
54 .comment 0 : { *(.comment) }
55
56 /*
57 * DWARF debug sections.
58 * Symbols in the DWARF debugging sections are relative to
59 * the beginning of the section so we begin them at 0.
60 */
61
62 /* DWARF 1 */
63 .debug 0 : { *(.debug) }
64 .line 0 : { *(.line) }
65
66 /* GNU DWARF 1 extensions */
67 .debug_srcinfo 0 : { *(.debug_srcinfo) }
68 .debug_sfnames 0 : { *(.debug_sfnames) }
69
70 /* DWARF 1.1 and DWARF 2 */
71 .debug_aranges 0 : { *(.debug_aranges) }
72 .debug_pubnames 0 : { *(.debug_pubnames) }
73
74 /* DWARF 2 */
75 .debug_info 0 : { *(.debug_info) }
76 .debug_abbrev 0 : { *(.debug_abbrev) }
77 .debug_line 0 : { *(.debug_line) }
78 .debug_frame 0 : { *(.debug_frame) }
79 .debug_str 0 : { *(.debug_str) }
80 .debug_loc 0 : { *(.debug_loc) }
81 .debug_macinfo 0 : { *(.debug_macinfo) }
82
83 /* SGI/MIPS DWARF 2 extensions */
84 .debug_weaknames 0 : { *(.debug_weaknames) }
85 .debug_funcnames 0 : { *(.debug_funcnames) }
86 .debug_typenames 0 : { *(.debug_typenames) }
87 .debug_varnames 0 : { *(.debug_varnames) }
88
89 /* Linker bugs ? */
90 .note.gnu.build-id : {
91 *(.note.gnu.build-id)
92 }
93}
Note: See TracBrowser for help on using the repository browser.