Changeset c89ae25 in mainline for kernel/arch/sparc64/_link.ld.in


Ignore:
Timestamp:
2023-10-27T17:24:14Z (19 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, topic/msim-upgrade, topic/simplify-dev-export
Children:
34120f10, b169619
Parents:
0373af9
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2023-10-27 17:03:39)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2023-10-27 17:24:14)
Message:

Fix and enable —gc-sections in /kernel and /boot

File:
1 edited

Legend:

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

    r0373af9 rc89ae25  
    1616        .image (VMA + SIZEOF_HEADERS): AT (LMA + SIZEOF_HEADERS) {
    1717                ktext_start = .;
    18                 *(K_TEXT_START)
     18                KEEP(*(K_TEXT_START));
    1919                *(.text .text.*);
    2020                ktext_end = .;
    2121
    2222                kdata_start = .;
    23                 *(K_DATA_START)
     23                KEEP(*(K_DATA_START));
    2424                *(.rodata .rodata.*);
    2525                *(.eh_frame .eh_frame.*);       /* stack unwinding data */
    2626                *(.eh_frame_hdr .eh_frame_hdr.*);
    27                 *(.data);                   /* initialized data */
    28                 *(.sdata);
    29                 *(.sdata2);
    30                 *(.sbss);
     27                *(.data .data.*);                   /* initialized data */
     28                *(.sdata .sdata.*);
     29                *(.sdata2 .sdata2.*);
     30                *(.sbss .sbss.*);
    3131                . = ALIGN(8);
    32                 *(.bss);                    /* uninitialized static variables */
     32                *(.bss .bss.*);                    /* uninitialized static variables */
    3333                *(COMMON);                  /* global variables */
    3434                kdata_end = .;
Note: See TracChangeset for help on using the changeset viewer.