Changeset c89ae25 in mainline for kernel/arch/arm64


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
  • kernel/arch/arm64/_link.ld.in

    r0373af9 rc89ae25  
    2222                . = ALIGN(16);
    2323                ktext_start = .;
    24                 *(K_TEXT_START)
     24                KEEP(*(K_TEXT_START))
    2525                *(.text .text.*);
    2626                ktext_end = .;
    2727
    2828                kdata_start = .;
    29                 *(K_DATA_START)
    30                 *(.data);                       /* initialized data */
    31                 *(.bss);                        /* uninitialized static variables */
     29                KEEP(*(K_DATA_START))
     30                *(.data .data.*);                       /* initialized data */
     31                *(.bss .bss.*);                        /* uninitialized static variables */
    3232                *(COMMON);                      /* global variables */
    3333
Note: See TracChangeset for help on using the changeset viewer.