summaryrefslogtreecommitdiffstats
path: root/BaseTools/Scripts
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-08-03 08:23:59 +0000
committerabiesheuvel <abiesheuvel@Edk2>2015-08-03 08:23:59 +0000
commitc4a59af8c1f154a5203da16378fb90f93f3fb3ba (patch)
tree58d1743d607a40ea74862a2ff6603134599e3860 /BaseTools/Scripts
parenta7ab160209fb40e4fcc7d0557e12330686d158ad (diff)
downloadedk2-c4a59af8c1f154a5203da16378fb90f93f3fb3ba.tar.gz
edk2-c4a59af8c1f154a5203da16378fb90f93f3fb3ba.tar.bz2
edk2-c4a59af8c1f154a5203da16378fb90f93f3fb3ba.zip
BaseTools IA32/X64: Use GccBase.lds instead of gcc*-ld-script
These scripts all now have the same contents, so we only need to use GccBase.lds. Therefore we can delete gcc-4K-align-ld-script, gcc4.4-ld-script and gcc4.9-ld-script. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Tested-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18142 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Scripts')
-rw-r--r--BaseTools/Scripts/gcc-4K-align-ld-script38
-rw-r--r--BaseTools/Scripts/gcc4.4-ld-script38
-rw-r--r--BaseTools/Scripts/gcc4.9-ld-script38
3 files changed, 0 insertions, 114 deletions
diff --git a/BaseTools/Scripts/gcc-4K-align-ld-script b/BaseTools/Scripts/gcc-4K-align-ld-script
deleted file mode 100644
index 51daae04d8..0000000000
--- a/BaseTools/Scripts/gcc-4K-align-ld-script
+++ /dev/null
@@ -1,38 +0,0 @@
-/* OUTPUT_FORMAT(efi-bsdrv-x86_64) */
-SECTIONS
-{
- /* . = 0 + SIZEOF_HEADERS; */
- . = PECOFF_HEADER_SIZE;
- .text : ALIGN(CONSTANT(COMMONPAGESIZE))
- {
- *(.text .stub .text.* .gnu.linkonce.t.*)
- *(.rodata .rodata.* .gnu.linkonce.r.*)
- *(.got .got.*)
- }
- .data : ALIGN(CONSTANT(COMMONPAGESIZE))
- {
- *(
- .data .data.* .gnu.linkonce.d.*
- .bss .bss.*
- *COM*
- )
- }
- .eh_frame : ALIGN(CONSTANT(COMMONPAGESIZE))
- {
- KEEP (*(.eh_frame))
- }
- .rela : ALIGN(CONSTANT(COMMONPAGESIZE))
- {
- *(.rela .rela.*)
- }
- /DISCARD/ : {
- *(.note.GNU-stack) *(.gnu_debuglink)
- *(.interp)
- *(.dynsym)
- *(.dynstr)
- *(.dynamic)
- *(.hash)
- *(.comment)
- }
-}
-
diff --git a/BaseTools/Scripts/gcc4.4-ld-script b/BaseTools/Scripts/gcc4.4-ld-script
deleted file mode 100644
index ebb2e1d1b7..0000000000
--- a/BaseTools/Scripts/gcc4.4-ld-script
+++ /dev/null
@@ -1,38 +0,0 @@
-/* OUTPUT_FORMAT(efi-bsdrv-x86_64) */
-SECTIONS
-{
- /* . = 0 + SIZEOF_HEADERS; */
- . = PECOFF_HEADER_SIZE;
- .text ALIGN(CONSTANT(COMMONPAGESIZE)) :
- {
- *(.text .stub .text.* .gnu.linkonce.t.*)
- *(.rodata .rodata.* .gnu.linkonce.r.*)
- *(.got .got.*)
- }
- .data ALIGN(CONSTANT(COMMONPAGESIZE)) :
- {
- *(
- .data .data.* .gnu.linkonce.d.*
- .bss .bss.*
- *COM*
- )
- }
- .eh_frame ALIGN(CONSTANT(COMMONPAGESIZE)) :
- {
- KEEP (*(.eh_frame))
- }
- .rela ALIGN(CONSTANT(COMMONPAGESIZE)) :
- {
- *(.rela .rela.*)
- }
- /DISCARD/ : {
- *(.note.GNU-stack) *(.gnu_debuglink)
- *(.interp)
- *(.dynsym)
- *(.dynstr)
- *(.dynamic)
- *(.hash)
- *(.comment)
- }
-}
-
diff --git a/BaseTools/Scripts/gcc4.9-ld-script b/BaseTools/Scripts/gcc4.9-ld-script
deleted file mode 100644
index ebb2e1d1b7..0000000000
--- a/BaseTools/Scripts/gcc4.9-ld-script
+++ /dev/null
@@ -1,38 +0,0 @@
-/* OUTPUT_FORMAT(efi-bsdrv-x86_64) */
-SECTIONS
-{
- /* . = 0 + SIZEOF_HEADERS; */
- . = PECOFF_HEADER_SIZE;
- .text ALIGN(CONSTANT(COMMONPAGESIZE)) :
- {
- *(.text .stub .text.* .gnu.linkonce.t.*)
- *(.rodata .rodata.* .gnu.linkonce.r.*)
- *(.got .got.*)
- }
- .data ALIGN(CONSTANT(COMMONPAGESIZE)) :
- {
- *(
- .data .data.* .gnu.linkonce.d.*
- .bss .bss.*
- *COM*
- )
- }
- .eh_frame ALIGN(CONSTANT(COMMONPAGESIZE)) :
- {
- KEEP (*(.eh_frame))
- }
- .rela ALIGN(CONSTANT(COMMONPAGESIZE)) :
- {
- *(.rela .rela.*)
- }
- /DISCARD/ : {
- *(.note.GNU-stack) *(.gnu_debuglink)
- *(.interp)
- *(.dynsym)
- *(.dynstr)
- *(.dynamic)
- *(.hash)
- *(.comment)
- }
-}
-