Ignore:
File:
1 edited

Legend:

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

    rc89ae25 r15639ec  
    1717        .unmapped (BOOT_OFFSET + SIZEOF_HEADERS): AT (BOOT_OFFSET + SIZEOF_HEADERS) {
    1818                unmapped_start = .;
    19                 KEEP(*(K_TEXT_START));
    20                 KEEP(*(K_DATA_START));
    21                 KEEP(*(K_INI_PTLS));
     19                *(K_TEXT_START);
     20                *(K_DATA_START);
     21                *(K_INI_PTLS);
    2222                unmapped_end = .;
    2323        }
     
    2929
    3030                kdata_start = .;
    31                 *(.data .data.*);              /* initialized data */
    32                 *(.rodata .rodata.*);
    33                 *(.eh_frame .eh_frame.*);      /* stack unwinding data */
    34                 *(.eh_frame_hdr .eh_frame_hdr.*);
     31                *(.data);              /* initialized data */
     32                *(.rodata .rodata.*);  /* string literals */
    3533                *(COMMON);      /* global variables */
    3634
    3735                /* bss can't be omitted from the ELF image. */
    38                 *(.bss .bss.*);        /* uninitialized static variables */
     36                *(.bss);        /* uninitialized static variables */
     37
     38                . = ALIGN(8);
     39                symbol_table = .;
     40                *(symtab.*);    /* Symbol table, must be LAST symbol!*/
     41
    3942                kdata_end = .;
    4043        }
    4144
     45#ifdef CONFIG_LINE_DEBUG
    4246        .comment 0 : { *(.comment); }
    4347        .debug_abbrev 0 : { *(.debug_abbrev); }
    44         .debug_abbrev.dwo 0 : { *(      .debug_abbrev.dwo); }
    45         .debug_addr 0 : { *(.debug_addr); }
    4648        .debug_aranges 0 : { *(.debug_aranges); }
    47         .debug_cu_index 0 : { *(.debug_cu_index); }
    48         .debug_frame 0 : { *(.debug_frame); }
    49         .debug_frame_hdr 0 : { *(.debug_frame_hdr); }
    5049        .debug_info 0 : { *(.debug_info); }
    51         .debug_info.dwo 0 : { *(.debug_info.dwo); }
    5250        .debug_line 0 : { *(.debug_line); }
    53         .debug_line.dwo 0 : { *(.debug_line.dwo); }
    54         .debug_line_str 0 : { *(.debug_line_str); }
    5551        .debug_loc 0 : { *(.debug_loc); }
    56         .debug_loclists 0 : { *(.debug_loclists); }
    57         .debug_loclists.dwo 0 : { *(.debug_loclists.dwo); }
    58         .debug_macinfo 0 : { *(.debug_macinfo); }
    59         .debug_macro 0 : { *(.debug_macro); }
    60         .debug_macro.dwo 0 : { *(.debug_macro.dwo); }
    61         .debug_names 0 : { *(.debug_names); }
    6252        .debug_pubnames 0 : { *(.debug_pubnames); }
    6353        .debug_pubtypes 0 : { *(.debug_pubtypes); }
    6454        .debug_ranges 0 : { *(.debug_ranges); }
    65         .debug_rnglists 0 : { *(.debug_rnglists); }
    6655        .debug_str 0 : { *(.debug_str); }
    67         .debug_str.dwo 0 : { *(.debug_str.dwo); }
    68         .debug_str_offsets 0 : { *(.debug_str_offsets); }
    69         .debug_str_offsets.dwo 0 : { *(.debug_str_offsets.dwo); }
    70         .debug_tu_index 0 : { *(.debug_tu_index); }
    71         .debug_types 0 : { *(.debug_types); }
     56#endif
    7257
    7358        /DISCARD/ : {
Note: See TracChangeset for help on using the changeset viewer.