Parcourir la source

arm64 lds: move 64K gap to reloc

The PE32 header means code ends at end of text, unlike
ELF where its mostly dynamic

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
Callum Farmer il y a 1 an
Parent
commit
c600b4e9a5
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      gnuefi/elf_aarch64_efi.lds

+ 2 - 2
gnuefi/elf_aarch64_efi.lds

@@ -22,12 +22,12 @@ SECTIONS
   }
   _etext = .;
   _text_size = _etext - _text;
-  . = ALIGN(4096);
+  . = ALIGN(65536);
   .reloc :
   {
     KEEP (*(.reloc))
   }
-  . = ALIGN(65536);
+  . = ALIGN(4096);
   .dynamic  : { *(.dynamic) }
   . = ALIGN(4096);
   .data :