summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCallum Farmer <gmbr3@opensuse.org>2023-04-21 13:34:58 +0100
committerCallum Farmer <gmbr3@opensuse.org>2023-04-21 13:38:17 +0100
commitbf6fd0405d66ee7e75f868a8b5e6e5447c32a5cb (patch)
treea2f11fe91f5d119bb1aa82f27fc819239e94a37a
parentfd3d9751611a86a1b2e465f6ca3ad68e1531a9f7 (diff)
downloadgnu-efi-bf6fd0405d66ee7e75f868a8b5e6e5447c32a5cb.tar.gz
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>
-rw-r--r--gnuefi/elf_ia32_efi.lds16
1 files changed, 1 insertions, 15 deletions
diff --git a/gnuefi/elf_ia32_efi.lds b/gnuefi/elf_ia32_efi.lds
index 23261c1..5eec529 100644
--- a/gnuefi/elf_ia32_efi.lds
+++ b/gnuefi/elf_ia32_efi.lds
@@ -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)