ctors.S: Fix section definitions

Using @ doesn't work on ARM32

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
Callum Farmer 2023-05-23 15:37:42 +01:00
parent d96b34e0dd
commit 584425eb2a

View file

@ -8,28 +8,28 @@
* end/END definitions, and the fact that they're mergeable, they can also
* have NULLs which aren't guaranteed to be at the end.
*/
.section .init_array, "aw", @init_array
.section .init_array,"aw",%init_array
.p2align 3, 0
.globl __init_array_start
__init_array_start:
.p2align 3, 0
.globl __init_array_end
__init_array_end:
.section .ctors, "aw", @progbits
.section .ctors,"aw",%progbits
.p2align 3, 0
.globl __CTOR_LIST__
__CTOR_LIST__:
.p2align 3, 0
.globl __CTOR_END__
__CTOR_END__:
.section .dtors, "aw", @progbits
.section .dtors,"aw",%progbits
.p2align 3, 0
.globl __DTOR_LIST__
__DTOR_LIST__:
.p2align 3, 0
.globl __DTOR_END__
__DTOR_END__:
.section .fini_array, "aw", @fini_array
.section .fini_array,"aw",%fini_array
.p2align 3, 0
.globl __fini_array_start
__fini_array_start: