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


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

    r0373af9 rc89ae25  
    77        .text : {
    88                HIDDEN(loader_start = .);
    9                 *(BOOTSTRAP);
    10                 *(.text);
     9                KEEP(*(BOOTSTRAP));
     10                *(.text .text.*);
    1111        }
    1212        .dynamic : { *(.dynamic); }
     
    1717        . = 0x8000;
    1818        .data : {
    19                 *(.data*);      /* initialized data */
    20                 *(.rodata*);
    21                 *(.bss);        /* uninitialized static variables */
     19                *(.data .data.*);      /* initialized data */
     20                *(.rodata .rodata.*);
     21                *(.bss .bss.*);        /* uninitialized static variables */
    2222                *(COMMON);      /* global variables */
    23                 *(.got .got.plt);
     23                *(.got .got.*);
    2424                HIDDEN(loader_end = .);
    2525                HIDDEN(payload_start = .);
    26                 *(.payload);
     26                KEEP(*(.payload));
    2727                HIDDEN(payload_end = .);
    2828        }
Note: See TracChangeset for help on using the changeset viewer.