Ignore:
File:
1 edited

Legend:

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

    r6677acb r84176f3  
    1919        kernel_load_address = LOAD_ADDRESS_V;
    2020
    21         .text (LOAD_ADDRESS_V + SIZEOF_HEADERS) : AT (LOAD_ADDRESS_P + SIZEOF_HEADERS) {
     21        .image (LOAD_ADDRESS_V + SIZEOF_HEADERS) : AT (LOAD_ADDRESS_P + SIZEOF_HEADERS) {
    2222                . = ALIGN(16);
    2323                ktext_start = .;
    24                 KEEP(*(K_TEXT_START))
     24                *(K_TEXT_START)
    2525                *(.text .text.*);
    2626                ktext_end = .;
    27         }
    2827
    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         }
     28                kdata_start = .;
     29                *(K_DATA_START)
     30                *(.data);                       /* initialized data */
     31                *(.bss);                        /* uninitialized static variables */
     32                *(COMMON);                      /* global variables */
    3533
    36         .eh_frame : {
    37                 eh_frame_start = .;
    38                 KEEP(*(.eh_frame .eh_frame.*));
    39                 eh_frame_end = .;
    40         }
     34                *(.rodata*);
     35                . = ALIGN(8);
     36                symbol_table = .;
     37                *(symtab.*);
    4138
    42         .data : {
    43                 kdata_start = .;
    44                 KEEP(*(K_DATA_START))
    45                 *(.rodata .rodata.*);
    46                 *(.data .data.*);                       /* initialized data */
    47                 *(.bss .bss.*);                        /* uninitialized static variables */
    48                 *(COMMON);                      /* global variables */
    4939                kdata_end = .;
    5040        }
    5141
     42#ifdef CONFIG_LINE_DEBUG
    5243        .comment 0 : { *(.comment); }
    5344        .debug_abbrev 0 : { *(.debug_abbrev); }
    54         .debug_abbrev.dwo 0 : { *(      .debug_abbrev.dwo); }
    55         .debug_addr 0 : { *(.debug_addr); }
    5645        .debug_aranges 0 : { *(.debug_aranges); }
    57         .debug_cu_index 0 : { *(.debug_cu_index); }
    5846        .debug_frame 0 : { *(.debug_frame); }
    59         .debug_frame_hdr 0 : { *(.debug_frame_hdr); }
    6047        .debug_info 0 : { *(.debug_info); }
    61         .debug_info.dwo 0 : { *(.debug_info.dwo); }
    6248        .debug_line 0 : { *(.debug_line); }
    63         .debug_line.dwo 0 : { *(.debug_line.dwo); }
    64         .debug_line_str 0 : { *(.debug_line_str); }
    6549        .debug_loc 0 : { *(.debug_loc); }
    66         .debug_loclists 0 : { *(.debug_loclists); }
    67         .debug_loclists.dwo 0 : { *(.debug_loclists.dwo); }
    6850        .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); }
    7251        .debug_pubnames 0 : { *(.debug_pubnames); }
    7352        .debug_pubtypes 0 : { *(.debug_pubtypes); }
    7453        .debug_ranges 0 : { *(.debug_ranges); }
    75         .debug_rnglists 0 : { *(.debug_rnglists); }
    7654        .debug_str 0 : { *(.debug_str); }
    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); }
     55#endif
    8256
    8357        /DISCARD/ : {
Note: See TracChangeset for help on using the changeset viewer.