summaryrefslogtreecommitdiff
path: root/lib/ctors.S
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 /lib/ctors.S
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 'lib/ctors.S')
-rw-r--r--lib/ctors.S16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/ctors.S b/lib/ctors.S
index fe0f23a..cdd4629 100644
--- a/lib/ctors.S
+++ b/lib/ctors.S
@@ -10,11 +10,11 @@
*/
.section .init_array, "aw", @init_array
.p2align 3, 0
- .globl _init_array
-_init_array:
+ .globl __init_array_start
+__init_array_start:
.p2align 3, 0
- .globl _init_array_end
-_init_array_end:
+ .globl __init_array_end
+__init_array_end:
.long 0
.section .ctors, "aw", @progbits
.p2align 3, 0
@@ -34,11 +34,11 @@ __DTOR_END__:
.long 0
.section .fini_array, "aw", @fini_array
.p2align 3, 0
- .globl _fini_array
-_fini_array:
+ .globl __fini_array_start
+__fini_array_start:
.p2align 3, 0
- .globl _fini_array_end
-_fini_array_end:
+ .globl __fini_array_end
+__fini_array_end:
.long 0
#if defined(__ELF__) && defined(__linux__)