Sfoglia il codice sorgente

* updated arm linker script as proposed by Alfred, resolves #36395

git-svn-id: trunk@43651 -
florian 5 anni fa
parent
commit
266daa62f1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      compiler/systems/t_linux.pas

+ 1 - 1
compiler/systems/t_linux.pas

@@ -1048,7 +1048,7 @@ begin
               add('SECTIONS');
               add('{');
               add('  /* Read-only sections, merged into text segment: */');
-              add('  PROVIDE (__executable_start = 0x8000); . = 0x8000 + SIZEOF_HEADERS;');
+              add('  PROVIDE (__executable_start = SEGMENT_START("text-segment", 0x10000)); . = SEGMENT_START("text-segment", 0x10000) + SIZEOF_HEADERS;');
               add('  .interp         : { *(.interp) }');
               add('  .note.gnu.build-id : { *(.note.gnu.build-id) }');
               add('  .hash           : { *(.hash) }');