Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/riscv64/_link.ld.in

    r6677acb rd22be89  
    1616        kernel_load_address = PA2KA(BOOT_OFFSET);
    1717
    18         .text (PA2KA(BOOT_OFFSET) + SIZEOF_HEADERS) : AT (BOOT_OFFSET + SIZEOF_HEADERS) {
     18        .image (PA2KA(BOOT_OFFSET) + SIZEOF_HEADERS) : AT (BOOT_OFFSET + SIZEOF_HEADERS) {
    1919                ktext_start = .;
    20                 KEEP(*(K_TEXT_START));
    21                 *(.text .text.*);
     20                *(K_TEXT_START);
     21                *(.text);
    2222                ktext_end = .;
    23         }
    2423
    25         /* stack unwinding data */
    26         .eh_frame_hdr : {
    27                 eh_frame_hdr_start = .;
    28                 *(.eh_frame_hdr) *(.eh_frame_entry .eh_frame_entry.*);
    29                 eh_frame_hdr_end = .;
    30         }
    31 
    32         .eh_frame : {
    33                 eh_frame_start = .;
    34                 KEEP(*(.eh_frame .eh_frame.*));
    35                 eh_frame_end = .;
    36         }
    37 
    38         .data : {
    3924                kdata_start = .;
    40                 *(.data .data.*);                       /* initialized data */
    41                 *(.rodata .rodata.*);
    42                 *(.sdata .sdata.*);
    43                 *(.sbss .sbss.*);
    44                 *(.scommon .scommon.*);
    45                 *(.bss .bss.*);                        /* uninitialized static variables */
     25                *(.data);                       /* initialized data */
     26                *(.rodata*);
     27                *(.sdata);
     28                *(.reginfo);
     29                *(.sbss);
     30                *(.scommon);
     31                *(.bss);                        /* uninitialized static variables */
    4632                *(COMMON);                      /* global variables */
     33                . = ALIGN(8);
     34                symbol_table = .;
     35                *(symtab.*);
    4736                kdata_end = .;
    4837        }
    49 
    50         .comment 0 : { *(.comment); }
    51         .debug_abbrev 0 : { *(.debug_abbrev); }
    52         .debug_abbrev.dwo 0 : { *(      .debug_abbrev.dwo); }
    53         .debug_addr 0 : { *(.debug_addr); }
    54         .debug_aranges 0 : { *(.debug_aranges); }
    55         .debug_cu_index 0 : { *(.debug_cu_index); }
    56         .debug_frame 0 : { *(.debug_frame); }
    57         .debug_frame_hdr 0 : { *(.debug_frame_hdr); }
    58         .debug_info 0 : { *(.debug_info); }
    59         .debug_info.dwo 0 : { *(.debug_info.dwo); }
    60         .debug_line 0 : { *(.debug_line); }
    61         .debug_line.dwo 0 : { *(.debug_line.dwo); }
    62         .debug_line_str 0 : { *(.debug_line_str); }
    63         .debug_loc 0 : { *(.debug_loc); }
    64         .debug_loclists 0 : { *(.debug_loclists); }
    65         .debug_loclists.dwo 0 : { *(.debug_loclists.dwo); }
    66         .debug_macinfo 0 : { *(.debug_macinfo); }
    67         .debug_macro 0 : { *(.debug_macro); }
    68         .debug_macro.dwo 0 : { *(.debug_macro.dwo); }
    69         .debug_names 0 : { *(.debug_names); }
    70         .debug_pubnames 0 : { *(.debug_pubnames); }
    71         .debug_pubtypes 0 : { *(.debug_pubtypes); }
    72         .debug_ranges 0 : { *(.debug_ranges); }
    73         .debug_rnglists 0 : { *(.debug_rnglists); }
    74         .debug_str 0 : { *(.debug_str); }
    75         .debug_str.dwo 0 : { *(.debug_str.dwo); }
    76         .debug_str_offsets 0 : { *(.debug_str_offsets); }
    77         .debug_str_offsets.dwo 0 : { *(.debug_str_offsets.dwo); }
    78         .debug_tu_index 0 : { *(.debug_tu_index); }
    79         .debug_types 0 : { *(.debug_types); }
    8038
    8139        /DISCARD/ : {
Note: See TracChangeset for help on using the changeset viewer.