]> git.proxmox.com Git - mirror_edk2.git/blame - ArmVirtPkg/PrePi/Scripts/PrePi-PIE.lds
ShellPkg: Fix memory leak in function 'EfiShellSetCurDir' and 'EfiShellSetMap'.
[mirror_edk2.git] / ArmVirtPkg / PrePi / Scripts / PrePi-PIE.lds
CommitLineData
809a639e
AB
1/** @file\r
2\r
3 Copyright (c) 2015, Linaro Ltd. All rights reserved.<BR>\r
4\r
5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
f9a9d2dc
AB
14\r
15SECTIONS\r
16{\r
b1e3967b 17 .text 0x0 : ALIGN(CONSTANT(COMMONPAGESIZE)) {\r
f9a9d2dc
AB
18 PROVIDE(__reloc_base = .);\r
19\r
20 *(.text .text*)\r
21 *(.got .got*)\r
22 *(.rodata .rodata*)\r
23 *(.data .data*)\r
b1e3967b 24 *(.bss .bss*)\r
f9a9d2dc
AB
25\r
26 . = ALIGN(0x20);\r
27 PROVIDE(__reloc_start = .);\r
809a639e
AB
28 *(.rel .rel.*)\r
29 *(.rela .rela.*)\r
f9a9d2dc
AB
30 PROVIDE(__reloc_end = .);\r
31 }\r
f9a9d2dc
AB
32\r
33 /DISCARD/ : {\r
34 *(.note.GNU-stack)\r
35 *(.gnu_debuglink)\r
36 *(.interp)\r
37 *(.dynamic)\r
38 *(.dynsym)\r
39 *(.dynstr)\r
40 *(.hash)\r
41 *(.comment)\r
42 }\r
43}\r