diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-05-18 05:04:32 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-05-18 05:04:32 +0000 |
commit | 40d841f6a8f84e75409178e19e69b95e01bada0f (patch) | |
tree | 75b50fad9fc4190bf505ac99c283064ec8c79f2b /BaseTools/Scripts | |
parent | 3dc8585e0a9fd4b2cb383f3ceb4961c7a88a8e71 (diff) | |
download | edk2-platforms-40d841f6a8f84e75409178e19e69b95e01bada0f.tar.xz |
Sync EDKII BaseTools to BaseTools project r1971
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10502 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Scripts')
-rw-r--r-- | BaseTools/Scripts/gcc4.4-ld-script | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/BaseTools/Scripts/gcc4.4-ld-script b/BaseTools/Scripts/gcc4.4-ld-script new file mode 100644 index 0000000000..bb5b7d16c3 --- /dev/null +++ b/BaseTools/Scripts/gcc4.4-ld-script @@ -0,0 +1,43 @@ +/* OUTPUT_FORMAT(efi-bsdrv-x86_64) */
+SECTIONS
+{
+ /* . = 0 + SIZEOF_HEADERS; */
+ . = 0x280;
+ .text ALIGN(0x20) :
+ {
+ *(.text .stub .text.* .gnu.linkonce.t.*)
+ . = ALIGN(0x20);
+ } =0x90909090
+ .data ALIGN(0x20) :
+ {
+ *(
+ .rodata .rodata.* .gnu.linkonce.r.*
+ .data .data.* .gnu.linkonce.d.*
+ )
+ . = ALIGN(0x20);
+ }
+ .bss ALIGN(0x20) :
+ {
+ *(.bss .bss.*)
+ . = ALIGN(0x20);
+ }
+ .got ALIGN(0x20) :
+ {
+ *(.got .got.*)
+ . = ALIGN(0x20);
+ }
+ .rela ALIGN(0x20) :
+ {
+ *(.rela .rela.*)
+ }
+ /DISCARD/ : {
+ *(.note.GNU-stack) *(.gnu_debuglink)
+ *(.interp)
+ *(.dynsym)
+ *(.dynstr)
+ *(.dynamic)
+ *(.hash)
+ *(.comment)
+ }
+}
+
|