Ignore:
File:
1 edited

Legend:

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

    r84176f3 r6677acb  
    1919        kernel_load_address = LOAD_ADDRESS_V;
    2020
    21         .image (LOAD_ADDRESS_V + SIZEOF_HEADERS) : AT (LOAD_ADDRESS_P + SIZEOF_HEADERS) {
     21        .text (LOAD_ADDRESS_V + SIZEOF_HEADERS) : AT (LOAD_ADDRESS_P + SIZEOF_HEADERS) {
    2222                . = ALIGN(16);
    2323                ktext_start = .;
    24                 *(K_TEXT_START)
     24                KEEP(*(K_TEXT_START))
    2525                *(.text .text.*);
    2626                ktext_end = .;
     27        }
    2728
     29        /* stack unwinding data */
     30        .eh_frame_hdr : {
     31                eh_frame_hdr_start = .;
     32                *(.eh_frame_hdr) *(.eh_frame_entry .eh_frame_entry.*);
     33                eh_frame_hdr_end = .;
     34        }
     35
     36        .eh_frame : {
     37                eh_frame_start = .;
     38                KEEP(*(.eh_frame .eh_frame.*));
     39                eh_frame_end = .;
     40        }
     41
     42        .data : {
    2843                kdata_start = .;
    29                 *(K_DATA_START)
    30                 *(.data);                       /* initialized data */
    31                 *(.bss);                        /* uninitialized static variables */
     44                KEEP(*(K_DATA_START))
     45                *(.rodata .rodata.*);
     46                *(.data .data.*);                       /* initialized data */
     47                *(.bss .bss.*);                        /* uninitialized static variables */
    3248                *(COMMON);                      /* global variables */
    33 
    34                 *(.rodata*);
    35                 . = ALIGN(8);
    36                 symbol_table = .;
    37                 *(symtab.*);
    38 
    3949                kdata_end = .;
    4050        }
    4151
    42 #ifdef CONFIG_LINE_DEBUG
    4352        .comment 0 : { *(.comment); }
    4453        .debug_abbrev 0 : { *(.debug_abbrev); }
     54        .debug_abbrev.dwo 0 : { *(      .debug_abbrev.dwo); }
     55        .debug_addr 0 : { *(.debug_addr); }
    4556        .debug_aranges 0 : { *(.debug_aranges); }
     57        .debug_cu_index 0 : { *(.debug_cu_index); }
    4658        .debug_frame 0 : { *(.debug_frame); }
     59        .debug_frame_hdr 0 : { *(.debug_frame_hdr); }
    4760        .debug_info 0 : { *(.debug_info); }
     61        .debug_info.dwo 0 : { *(.debug_info.dwo); }
    4862        .debug_line 0 : { *(.debug_line); }
     63        .debug_line.dwo 0 : { *(.debug_line.dwo); }
     64        .debug_line_str 0 : { *(.debug_line_str); }
    4965        .debug_loc 0 : { *(.debug_loc); }
     66        .debug_loclists 0 : { *(.debug_loclists); }
     67        .debug_loclists.dwo 0 : { *(.debug_loclists.dwo); }
    5068        .debug_macinfo 0 : { *(.debug_macinfo); }
     69        .debug_macro 0 : { *(.debug_macro); }
     70        .debug_macro.dwo 0 : { *(.debug_macro.dwo); }
     71        .debug_names 0 : { *(.debug_names); }
    5172        .debug_pubnames 0 : { *(.debug_pubnames); }
    5273        .debug_pubtypes 0 : { *(.debug_pubtypes); }
    5374        .debug_ranges 0 : { *(.debug_ranges); }
     75        .debug_rnglists 0 : { *(.debug_rnglists); }
    5476        .debug_str 0 : { *(.debug_str); }
    55 #endif
     77        .debug_str.dwo 0 : { *(.debug_str.dwo); }
     78        .debug_str_offsets 0 : { *(.debug_str_offsets); }
     79        .debug_str_offsets.dwo 0 : { *(.debug_str_offsets.dwo); }
     80        .debug_tu_index 0 : { *(.debug_tu_index); }
     81        .debug_types 0 : { *(.debug_types); }
    5682
    5783        /DISCARD/ : {
Note: See TracChangeset for help on using the changeset viewer.