mirror of
https://github.com/rhboot/gnu-efi
synced 2026-08-26 00:26:04 -04:00
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
ebe2358ae7
commit
a5f306c401
1 changed files with 4 additions and 9 deletions
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…
Add table
Add a link
Reference in a new issue