mirror of
https://github.com/rhboot/gnu-efi
synced 2026-08-26 00:26:04 -04:00
ia32: No sdata section
There is no small data section on ia32, this ends up being created as ld puts .got/.got.plt here due to first declaration Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
parent
fd3d975161
commit
bf6fd0405d
1 changed files with 1 additions and 15 deletions
|
|
@ -22,26 +22,15 @@ SECTIONS
|
|||
_etext = .;
|
||||
_text_size = . - _text;
|
||||
. = DATA_SEGMENT_ALIGN (CONSTANT (MAXPAGESIZE), CONSTANT (COMMONPAGESIZE));
|
||||
.sdata :
|
||||
.data :
|
||||
{
|
||||
_data = .;
|
||||
*(.got.plt)
|
||||
*(.got)
|
||||
*(.srodata)
|
||||
*(.sdata)
|
||||
*(.sbss)
|
||||
*(.scommon)
|
||||
}
|
||||
. = ALIGN(4096);
|
||||
.data :
|
||||
{
|
||||
*(.rodata*)
|
||||
*(.data)
|
||||
*(.data1)
|
||||
*(.data.*)
|
||||
*(.sdata)
|
||||
*(.got.plt)
|
||||
*(.got)
|
||||
|
||||
/*
|
||||
* Note that these aren't the using the GNU "CONSTRUCTOR" output section
|
||||
|
|
@ -65,8 +54,6 @@ SECTIONS
|
|||
|
||||
/* the EFI loader doesn't seem to like a .bss section, so we stick
|
||||
it all into .data: */
|
||||
*(.sbss)
|
||||
*(.scommon)
|
||||
*(.dynbss)
|
||||
*(.bss*)
|
||||
*(COMMON)
|
||||
|
|
@ -79,7 +66,6 @@ SECTIONS
|
|||
.rel :
|
||||
{
|
||||
*(.rel.text*)
|
||||
*(.rel.sdata*)
|
||||
*(.rel.data*)
|
||||
*(.rel.got)
|
||||
*(.rel.dyn)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue