summaryrefslogtreecommitdiff
path: root/BaseTools/Scripts/gcc-aarch64-ld-script
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2015-07-02 07:23:33 +0000
committerjljusten <jljusten@Edk2>2015-07-02 07:23:33 +0000
commit288ed5907950a0231f214ef33d6a4b0b262f88d5 (patch)
treef10e734d01b1c7fdfd4486bf86934a5367ed7ba8 /BaseTools/Scripts/gcc-aarch64-ld-script
parent504ab5731ddce578e8247824a149cc45e4c31803 (diff)
downloadedk2-platforms-288ed5907950a0231f214ef33d6a4b0b262f88d5.tar.xz
Revert tree to r17801
Revert r17802 "BaseTools: AArch64: use explicit linker scripts" Revert r17803 "ArmVirtPkg: build runtime drivers with 64 KB section alignment" Revert r17804 "IntelFrameworkModulePkg: AcpiS3SaveDxe: prepare for End-of-Dxe callback" Revert r17805 "IntelFrameworkModulePkg: AcpiS3SaveDxe: call S3Ready() at End-of-Dxe" Revert r17806 "OvmfPkg: AcpiS3SaveDxe: prepare for End-of-Dxe callback" Requested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17807 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Scripts/gcc-aarch64-ld-script')
-rw-r--r--BaseTools/Scripts/gcc-aarch64-ld-script39
1 files changed, 0 insertions, 39 deletions
diff --git a/BaseTools/Scripts/gcc-aarch64-ld-script b/BaseTools/Scripts/gcc-aarch64-ld-script
deleted file mode 100644
index 29095c268e..0000000000
--- a/BaseTools/Scripts/gcc-aarch64-ld-script
+++ /dev/null
@@ -1,39 +0,0 @@
-SECTIONS {
- /*
- * Put the .text section at 0x0 explicitly. While we know it will minimally
- * end up at 0x280, (the size of the PE/COFF headers being 0x250 bytes and the
- * minimum alignment 0x40), choosing 0x280 as the offset causes problems when
- * linking objects with a greater .text alignment, since the section's base
- * must adhere to its own alignment.
- * Using 0x0 will result in the PE/COFF binary's memory layout to be shifted
- * with respect to the ELF version, but this shouldn't be a problem as long as
- * the .data's offset relative to .text is kept the same.
- */
- .text 0x0 : ALIGN(0x40) {
- *(.text .text.* .rodata .rodata.*)
- }
-
- /*
- * The alignment of the .data section needs to be less than or equal to the
- * alignment of the .text section. This ensures that the relative offset
- * between these sections is the same in the ELF and the PE/COFF version of
- * this binary.
- */
- .data : ALIGN(0x40) {
- *(.data .data.*)
- *(.bss .bss.* *COM*)
- }
- .rela ALIGN(0x20) : {
- *(.rela .rela.*)
- }
-
- /DISCARD/ : {
- *(.note.GNU-stack)
- *(.interp)
- *(.dynsym)
- *(.dynstr)
- *(.dynamic)
- *(.hash)
- *(.comment)
- }
-}