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


Ignore:
Timestamp:
2023-10-27T17:24:14Z (21 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
  • boot/arch/sparc64/_link.ld.in

    r0373af9 rc89ae25  
    55        .boot : {
    66                loader_start = .;
    7                 *(BOOTSTRAP);
    8                 *(.text.*);
     7                KEEP(*(BOOTSTRAP));
     8                *(.text .text.*);
    99
    10                 *(.data);       /* initialized data */
    11                 *(.rodata);
    12                 *(.rodata.*);
    13                 *(.sdata);
    14                 *(.reginfo);
    15                 *(.sbss);
    16                 *(.bss);        /* uninitialized static variables */
     10                *(.data .data.*);       /* initialized data */
     11                *(.rodata .rodata.*);
     12                *(.sdata .sdata.*);
     13                *(.sbss .sbss.*);
     14                *(.bss .bss.*);        /* uninitialized static variables */
    1715                *(COMMON);      /* global variables */
    1816                loader_end = .;
    1917                payload_start = .;
    20                 *(.payload);
     18                KEEP(*(.payload));
    2119                payload_end = .;
    2220        }
Note: See TracChangeset for help on using the changeset viewer.