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
This commit is contained in:
43
BaseTools/Scripts/gcc4.4-ld-script
Normal file
43
BaseTools/Scripts/gcc4.4-ld-script
Normal file
@ -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)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user