VirtualBox

Ignore:
Timestamp:
Mar 31, 2025 11:31:09 AM (2 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168237
Message:

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

Location:
trunk/src/VBox/Devices/EFI/FirmwareNew
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/FirmwareNew

  • trunk/src/VBox/Devices/EFI/FirmwareNew/BaseTools/Scripts/GccBase.lds

    r101291 r108794  
    11/** @file
    22
    3   Unified linker script for GCC based builds
     3  Unified linker script for GCC and CLANG based builds
    44
    5   Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>
     5  Copyright (c) 2010 - 2021, Intel Corporation. All rights reserved.<BR>
    66  Copyright (c) 2015, Linaro Ltd. All rights reserved.<BR>
    77  (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
     
    1010
    1111**/
     12
     13PHDRS {
     14  text      PT_LOAD     FLAGS(5);  /* R_X */
     15  data      PT_LOAD     FLAGS(6);  /* RW_ */
     16  dynamic   PT_DYNAMIC  FLAGS(4);  /* R__ */
     17}
    1218
    1319SECTIONS {
     
    2228
    2329  .text : ALIGN(CONSTANT(COMMONPAGESIZE)) {
     30    KEEP(*(.entry))
    2431    *(.text .text.* .stub .gnu.linkonce.t.*)
    2532    *(.rodata .rodata.* .gnu.linkonce.r.*)
     
    3542     */
    3643    *:AutoGen.obj(.data.g*Guid)
    37   }
     44  } :text
    3845
    3946  /*
     
    4653    *(.data .data.* .gnu.linkonce.d.*)
    4754    *(.bss .bss.*)
    48   }
     55  } :data
    4956
    5057  .eh_frame ALIGN(CONSTANT(COMMONPAGESIZE)) : {
    5158    KEEP (*(.eh_frame))
    5259  }
     60
     61  .dynamic : { *(.dynamic) } :data :dynamic
    5362
    5463  .rela (INFO) : {
     
    5867  .hii : ALIGN(CONSTANT(COMMONPAGESIZE)) {
    5968    KEEP (*(.hii))
    60   }
     69  } :data
    6170
    6271  .got : {
     
    8291    *(.dynsym)
    8392    *(.dynstr)
    84     *(.dynamic)
    8593    *(.hash .gnu.hash)
    8694    *(.comment)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette