summaryrefslogtreecommitdiff
path: root/gnuefi/elf_ia32_efi.lds
diff options
context:
space:
mode:
authorCallum Farmer <gmbr3@opensuse.org>2023-04-30 13:51:32 +0100
committerCallum Farmer <gmbr3@opensuse.org>2023-05-04 14:29:47 +0100
commit9c5403e1e6269bd47a4c383cfeaf1a4f29db121f (patch)
tree6350cdfa273f89fd52595699acdf1a43b471e655 /gnuefi/elf_ia32_efi.lds
parentb3cc412aadc6448c62224013ce122b5449e67ec3 (diff)
downloadgnu-efi-9c5403e1e6269bd47a4c383cfeaf1a4f29db121f.tar.gz
Copy marker names from binutils for init/fini
Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
Diffstat (limited to 'gnuefi/elf_ia32_efi.lds')
-rw-r--r--gnuefi/elf_ia32_efi.lds8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnuefi/elf_ia32_efi.lds b/gnuefi/elf_ia32_efi.lds
index 964530c..0c1f2a7 100644
--- a/gnuefi/elf_ia32_efi.lds
+++ b/gnuefi/elf_ia32_efi.lds
@@ -39,10 +39,10 @@ SECTIONS
* have NULLs which aren't guaranteed to be at the end.
*/
. = ALIGN(16);
- _init_array = .;
+ __init_array_start = .;
*(SORT(.init_array.*))
*(.init_array)
- _init_array_end = .;
+ __init_array_end = .;
__CTOR_LIST__ = .;
*(SORT(.ctors.*))
*(.ctors)
@@ -51,10 +51,10 @@ SECTIONS
*(SORT(.dtors.*))
*(.dtors)
__DTOR_END__ = .;
- _fini_array = .;
+ __fini_array_start = .;
*(SORT(.fini_array.*))
*(.fini_array)
- _fini_array_end = .;
+ __fini_array_end = .;
/* the EFI loader doesn't seem to like a .bss section, so we stick
it all into .data: */