diff options
author | Callum Farmer <gmbr3@opensuse.org> | 2023-05-03 16:02:32 +0100 |
---|---|---|
committer | Callum Farmer <gmbr3@opensuse.org> | 2023-05-07 16:43:19 +0100 |
commit | 9dbfe1c36558fdbc2574cea7e47e6a473955051d (patch) | |
tree | 47c77aba5fc4fdad036eeda3023fcfa4786abb52 | |
parent | 74b7b5e92c7ac329af95f66c6b2906a7ac3bf1d7 (diff) | |
download | gnu-efi-9dbfe1c36558fdbc2574cea7e47e6a473955051d.tar.gz |
Align all ctors/dtors start to 16
Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
-rw-r--r-- | gnuefi/elf_aarch64_efi.lds | 3 | ||||
-rw-r--r-- | gnuefi/elf_arm_efi.lds | 3 | ||||
-rw-r--r-- | gnuefi/elf_ia32_efi.lds | 3 | ||||
-rw-r--r-- | gnuefi/elf_ia32_fbsd_efi.lds | 3 | ||||
-rw-r--r-- | gnuefi/elf_ia64_efi.lds | 3 | ||||
-rw-r--r-- | gnuefi/elf_mips64el_efi.lds | 3 | ||||
-rw-r--r-- | gnuefi/elf_x86_64_efi.lds | 3 | ||||
-rw-r--r-- | gnuefi/elf_x86_64_fbsd_efi.lds | 3 |
8 files changed, 24 insertions, 0 deletions
diff --git a/gnuefi/elf_aarch64_efi.lds b/gnuefi/elf_aarch64_efi.lds index 48d5106..c487d8d 100644 --- a/gnuefi/elf_aarch64_efi.lds +++ b/gnuefi/elf_aarch64_efi.lds @@ -52,14 +52,17 @@ SECTIONS *(SORT(.init_array.*)) *(.init_array) __init_array_end = .; + . = ALIGN(16); __CTOR_LIST__ = .; *(SORT(.ctors.*)) *(.ctors) __CTOR_END__ = .; + . = ALIGN(16); __DTOR_LIST__ = .; *(SORT(.dtors.*)) *(.dtors) __DTOR_END__ = .; + . = ALIGN(16); __fini_array_start = .; *(SORT(.fini_array.*)) *(.fini_array) diff --git a/gnuefi/elf_arm_efi.lds b/gnuefi/elf_arm_efi.lds index 0964d35..b656440 100644 --- a/gnuefi/elf_arm_efi.lds +++ b/gnuefi/elf_arm_efi.lds @@ -39,14 +39,17 @@ SECTIONS *(SORT(.init_array.*)) *(.init_array) __init_array_end = .; + . = ALIGN(16); __CTOR_LIST__ = .; *(SORT(.ctors.*)) *(.ctors) __CTOR_END__ = .; + . = ALIGN(16); __DTOR_LIST__ = .; *(SORT(.dtors.*)) *(.dtors) __DTOR_END__ = .; + . = ALIGN(16); __fini_array_start = .; *(SORT(.fini_array.*)) *(.fini_array) diff --git a/gnuefi/elf_ia32_efi.lds b/gnuefi/elf_ia32_efi.lds index 0c1f2a7..a84c673 100644 --- a/gnuefi/elf_ia32_efi.lds +++ b/gnuefi/elf_ia32_efi.lds @@ -43,14 +43,17 @@ SECTIONS *(SORT(.init_array.*)) *(.init_array) __init_array_end = .; + . = ALIGN(16); __CTOR_LIST__ = .; *(SORT(.ctors.*)) *(.ctors) __CTOR_END__ = .; + . = ALIGN(16); __DTOR_LIST__ = .; *(SORT(.dtors.*)) *(.dtors) __DTOR_END__ = .; + . = ALIGN(16); __fini_array_start = .; *(SORT(.fini_array.*)) *(.fini_array) diff --git a/gnuefi/elf_ia32_fbsd_efi.lds b/gnuefi/elf_ia32_fbsd_efi.lds index 0377d4f..61ae5c5 100644 --- a/gnuefi/elf_ia32_fbsd_efi.lds +++ b/gnuefi/elf_ia32_fbsd_efi.lds @@ -52,14 +52,17 @@ SECTIONS *(SORT(.init_array.*)) *(.init_array) __init_array_end = .; + . = ALIGN(16); __CTOR_LIST__ = .; *(SORT(.ctors.*)) *(.ctors) __CTOR_END__ = .; + . = ALIGN(16); __DTOR_LIST__ = .; *(SORT(.dtors.*)) *(.dtors) __DTOR_END__ = .; + . = ALIGN(16); __fini_array_start = .; *(SORT(.fini_array.*)) *(.fini_array) diff --git a/gnuefi/elf_ia64_efi.lds b/gnuefi/elf_ia64_efi.lds index 46aee72..74014ce 100644 --- a/gnuefi/elf_ia64_efi.lds +++ b/gnuefi/elf_ia64_efi.lds @@ -53,14 +53,17 @@ SECTIONS *(SORT(.init_array.*)) *(.init_array) __init_array_end = .; + . = ALIGN(16); __CTOR_LIST__ = .; *(SORT(.ctors.*)) *(.ctors) __CTOR_END__ = .; + . = ALIGN(16); __DTOR_LIST__ = .; *(SORT(.dtors.*)) *(.dtors) __DTOR_END__ = .; + . = ALIGN(16); __fini_array_start = .; *(SORT(.fini_array.*)) *(.fini_array) diff --git a/gnuefi/elf_mips64el_efi.lds b/gnuefi/elf_mips64el_efi.lds index 3721c56..a9fe787 100644 --- a/gnuefi/elf_mips64el_efi.lds +++ b/gnuefi/elf_mips64el_efi.lds @@ -40,14 +40,17 @@ SECTIONS *(SORT(.init_array.*)) *(.init_array) __init_array_end = .; + . = ALIGN(16); __CTOR_LIST__ = .; *(SORT(.ctors.*)) *(.ctors) __CTOR_END__ = .; + . = ALIGN(16); __DTOR_LIST__ = .; *(SORT(.dtors.*)) *(.dtors) __DTOR_END__ = .; + . = ALIGN(16); __fini_array_start = .; *(SORT(.fini_array.*)) *(.fini_array) diff --git a/gnuefi/elf_x86_64_efi.lds b/gnuefi/elf_x86_64_efi.lds index 22409de..0f4b63b 100644 --- a/gnuefi/elf_x86_64_efi.lds +++ b/gnuefi/elf_x86_64_efi.lds @@ -50,14 +50,17 @@ SECTIONS *(SORT(.init_array.*)) *(.init_array) __init_array_end = .; + . = ALIGN(16); __CTOR_LIST__ = .; *(SORT(.ctors.*)) *(.ctors) __CTOR_END__ = .; + . = ALIGN(16); __DTOR_LIST__ = .; *(SORT(.dtors.*)) *(.dtors) __DTOR_END__ = .; + . = ALIGN(16); __fini_array_start = .; *(SORT(.fini_array.*)) *(.fini_array) diff --git a/gnuefi/elf_x86_64_fbsd_efi.lds b/gnuefi/elf_x86_64_fbsd_efi.lds index 55bed4a..dd10d88 100644 --- a/gnuefi/elf_x86_64_fbsd_efi.lds +++ b/gnuefi/elf_x86_64_fbsd_efi.lds @@ -48,14 +48,17 @@ SECTIONS *(SORT(.init_array.*)) *(.init_array) __init_array_end = .; + . = ALIGN(16); __CTOR_LIST__ = .; *(SORT(.ctors.*)) *(.ctors) __CTOR_END__ = .; + . = ALIGN(16); __DTOR_LIST__ = .; *(SORT(.dtors.*)) *(.dtors) __DTOR_END__ = .; + . = ALIGN(16); __fini_array_start = .; *(SORT(.fini_array.*)) *(.fini_array) |