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


Ignore:
Timestamp:
2023-10-27T17:24:14Z (2 years 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/ppc32/_link.ld.in

    r0373af9 rc89ae25  
    55        .text : {
    66                loader_start = .;
    7                 *(BOOTSTRAP);
    8                 *(.text);
    9                 *(.text.*);
     7                KEEP(*(BOOTSTRAP));
     8                *(.text .text.*);
    109        }
    1110        .data : {
    12                 *(.data);       /* initialized data */
    13                 *(.rodata);
    14                 *(.rodata.*);
    15                 *(.sdata);
    16                 *(.reginfo);
    17                 *(.sbss);
    18                 *(.scommon);
    19                 *(.bss);        /* uninitialized static variables */
     11                *(.data .data.*);       /* initialized data */
     12                *(.rodata .rodata.*);
     13                *(.sdata .sdata.*);
     14                *(.sbss .sbss.*);
     15                *(.scommon .scommon.*);
     16                *(.bss .bss.*);        /* uninitialized static variables */
    2017                *(COMMON);      /* global variables */
    2118                loader_end = .;
    2219                payload_start = .;
    23                 *(.payload);
     20                KEEP(*(.payload));
    2421                payload_end = .;
    2522        }
Note: See TracChangeset for help on using the changeset viewer.