mirror of https://github.com/ncroxon/gnu-efi
ctors.S: Align with linker scripts
Remove end padding Change start padding to 16 Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
parent
e5b1a35303
commit
419e257f34
13
lib/ctors.S
13
lib/ctors.S
|
@ -9,34 +9,29 @@
|
|||
* have NULLs which aren't guaranteed to be at the end.
|
||||
*/
|
||||
.section .init_array,"aw",%init_array
|
||||
.p2align 3, 0
|
||||
.p2align 4, 0
|
||||
.globl __init_array_start
|
||||
__init_array_start:
|
||||
.p2align 3, 0
|
||||
.globl __init_array_end
|
||||
__init_array_end:
|
||||
.section .ctors,"aw",%progbits
|
||||
.p2align 3, 0
|
||||
.p2align 4, 0
|
||||
.globl __CTOR_LIST__
|
||||
__CTOR_LIST__:
|
||||
.p2align 3, 0
|
||||
.globl __CTOR_END__
|
||||
__CTOR_END__:
|
||||
.section .dtors,"aw",%progbits
|
||||
.p2align 3, 0
|
||||
.p2align 4, 0
|
||||
.globl __DTOR_LIST__
|
||||
__DTOR_LIST__:
|
||||
.p2align 3, 0
|
||||
.globl __DTOR_END__
|
||||
__DTOR_END__:
|
||||
.section .fini_array,"aw",%fini_array
|
||||
.p2align 3, 0
|
||||
.p2align 4, 0
|
||||
.globl __fini_array_start
|
||||
__fini_array_start:
|
||||
.p2align 3, 0
|
||||
.globl __fini_array_end
|
||||
__fini_array_end:
|
||||
.p2align 3, 0
|
||||
|
||||
#if defined(__ELF__) && defined(__linux__)
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
Loading…
Reference in New Issue