mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 23:02:40 +00:00
Make i386-* other than i386-pc compileable under cygwin.
This commit is contained in:
1 parent
6dc3337774
commit
60b967be7e
7 files changed
+51
-24
No files matched your search
@@ -0,0 +1,53 @@
|
||||
/* Linker script to create grub .img files on Cygwin. */
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.text :
|
||||
{
|
||||
start = . ;
|
||||
_start = . ;
|
||||
__start = . ;
|
||||
*(.text)
|
||||
etext = . ;
|
||||
}
|
||||
.data :
|
||||
{
|
||||
__data_start__ = . ;
|
||||
*(.data)
|
||||
__data_end__ = . ;
|
||||
__rdata_start__ = . ;
|
||||
*(.rdata)
|
||||
__rdata_end__ = . ;
|
||||
*(.pdata)
|
||||
edata = . ;
|
||||
_edata = . ;
|
||||
__edata = . ;
|
||||
}
|
||||
.bss :
|
||||
{
|
||||
__bss_start__ = . ;
|
||||
*(.bss)
|
||||
__common_start__ = . ;
|
||||
*(COMMON)
|
||||
__bss_end__ = . ;
|
||||
}
|
||||
.edata :
|
||||
{
|
||||
*(.edata)
|
||||
end = . ;
|
||||
_end = . ;
|
||||
__end = . ;
|
||||
}
|
||||
.stab :
|
||||
{
|
||||
*(.stab)
|
||||
}
|
||||
.stabstr :
|
||||
{
|
||||
*(.stabstr)
|
||||
}
|
||||
}
|
||||
|
||||
ASSERT("__rdata_end__"=="edata", ".pdata not empty")
|
||||
ASSERT("__bss_end__" =="end" , ".edata not empty")
|
||||
|
||||
Reference in new issue
Block a user