summaryrefslogtreecommitdiff
path: root/elf_aarch64_efi.lds
diff options
context:
space:
mode:
Diffstat (limited to 'elf_aarch64_efi.lds')
-rw-r--r--elf_aarch64_efi.lds28
1 files changed, 23 insertions, 5 deletions
diff --git a/elf_aarch64_efi.lds b/elf_aarch64_efi.lds
index 77770c27..96f15d56 100644
--- a/elf_aarch64_efi.lds
+++ b/elf_aarch64_efi.lds
@@ -14,7 +14,21 @@ SECTIONS
. = ALIGN(16);
_etext = .;
}
+
+ . = ALIGN(4096);
.dynamic : { *(.dynamic) }
+
+ . = ALIGN(4096);
+ .note.gnu.build-id : {
+ *(.note.gnu.build-id)
+ }
+
+ . = ALIGN(4096);
+ .data.ident : {
+ *(.data.ident)
+ }
+
+ . = ALIGN(4096);
.data :
{
_data = .;
@@ -37,7 +51,6 @@ SECTIONS
. = ALIGN(16);
_bss_end = .;
}
- .note.gnu.build-id : { *(.note.gnu.build-id) }
. = ALIGN(4096);
.vendor_cert :
@@ -46,10 +59,15 @@ SECTIONS
}
. = ALIGN(4096);
- .rela.dyn : { *(.rela.dyn) }
- .rela.plt : { *(.rela.plt) }
- .rela.got : { *(.rela.got) }
- .rela.data : { *(.rela.data) *(.rela.data*) }
+ . = ALIGN(4096);
+ .rela :
+ {
+ *(.rela.dyn)
+ *(.rela.plt)
+ *(.rela.got)
+ *(.rela.data)
+ *(.rela.data*)
+ }
_edata = .;
_data_size = . - _data;