Ignore:
File:
1 edited

Legend:

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

    rd22be89 rc89ae25  
    1818        .image (PA2KA(BOOT_OFFSET) + SIZEOF_HEADERS) : AT (BOOT_OFFSET + SIZEOF_HEADERS) {
    1919                ktext_start = .;
    20                 *(K_TEXT_START);
    21                 *(.text);
     20                KEEP(*(K_TEXT_START));
     21                *(.text .text.*);
    2222                ktext_end = .;
    2323
    2424                kdata_start = .;
    25                 *(.data);                       /* initialized data */
    26                 *(.rodata*);
    27                 *(.sdata);
    28                 *(.reginfo);
    29                 *(.sbss);
    30                 *(.scommon);
    31                 *(.bss);                        /* uninitialized static variables */
     25                *(.data .data.*);                       /* initialized data */
     26                *(.rodata .rodata.*);
     27                *(.eh_frame .eh_frame.*);       /* stack unwinding data */
     28                *(.eh_frame_hdr .eh_frame_hdr.*);
     29                *(.sdata .sdata.*);
     30                *(.sbss .sbss.*);
     31                *(.scommon .scommon.*);
     32                *(.bss .bss.*);                        /* uninitialized static variables */
    3233                *(COMMON);                      /* global variables */
    33                 . = ALIGN(8);
    34                 symbol_table = .;
    35                 *(symtab.*);
    3634                kdata_end = .;
    3735        }
     36
     37        .comment 0 : { *(.comment); }
     38        .debug_abbrev 0 : { *(.debug_abbrev); }
     39        .debug_abbrev.dwo 0 : { *(      .debug_abbrev.dwo); }
     40        .debug_addr 0 : { *(.debug_addr); }
     41        .debug_aranges 0 : { *(.debug_aranges); }
     42        .debug_cu_index 0 : { *(.debug_cu_index); }
     43        .debug_frame 0 : { *(.debug_frame); }
     44        .debug_frame_hdr 0 : { *(.debug_frame_hdr); }
     45        .debug_info 0 : { *(.debug_info); }
     46        .debug_info.dwo 0 : { *(.debug_info.dwo); }
     47        .debug_line 0 : { *(.debug_line); }
     48        .debug_line.dwo 0 : { *(.debug_line.dwo); }
     49        .debug_line_str 0 : { *(.debug_line_str); }
     50        .debug_loc 0 : { *(.debug_loc); }
     51        .debug_loclists 0 : { *(.debug_loclists); }
     52        .debug_loclists.dwo 0 : { *(.debug_loclists.dwo); }
     53        .debug_macinfo 0 : { *(.debug_macinfo); }
     54        .debug_macro 0 : { *(.debug_macro); }
     55        .debug_macro.dwo 0 : { *(.debug_macro.dwo); }
     56        .debug_names 0 : { *(.debug_names); }
     57        .debug_pubnames 0 : { *(.debug_pubnames); }
     58        .debug_pubtypes 0 : { *(.debug_pubtypes); }
     59        .debug_ranges 0 : { *(.debug_ranges); }
     60        .debug_rnglists 0 : { *(.debug_rnglists); }
     61        .debug_str 0 : { *(.debug_str); }
     62        .debug_str.dwo 0 : { *(.debug_str.dwo); }
     63        .debug_str_offsets 0 : { *(.debug_str_offsets); }
     64        .debug_str_offsets.dwo 0 : { *(.debug_str_offsets.dwo); }
     65        .debug_tu_index 0 : { *(.debug_tu_index); }
     66        .debug_types 0 : { *(.debug_types); }
    3867
    3968        /DISCARD/ : {
Note: See TracChangeset for help on using the changeset viewer.