Usermode/acess.ld - Fixed ARMv7 not loading headers
authorJohn Hodge <[email protected]>
Sat, 15 Oct 2011 00:23:39 +0000 (08:23 +0800)
committerJohn Hodge <[email protected]>
Sat, 15 Oct 2011 00:23:39 +0000 (08:23 +0800)
Usermode/Libraries/acess.ld_src/acess_armv7.ld.h

index e652a5a..95ae441 100644 (file)
@@ -8,7 +8,7 @@ INPUT(crt0.o)
 SECTIONS
 {
   /* Read-only sections, merged into text segment: */
-  PROVIDE (__executable_start = SEGMENT_START("text-segment", 0x8000)); . = SEGMENT_START("text-segment", 0x8000);
+  PROVIDE (__executable_start = SEGMENT_START("text-segment", 0x8000)); . = SEGMENT_START("text-segment", 0x8000) + SIZEOF_HEADERS;
   .interp         : { *(.interp) }
   .note.gnu.build-id : { *(.note.gnu.build-id) }
   .hash           : { *(.hash) }

UCC git Repository :: git.ucc.asn.au