svn commit: r204440 - user/jmallett/octeon/sys/conf

Juli Mallett jmallett at FreeBSD.org
Sun Feb 28 04:10:27 UTC 2010


Author: jmallett
Date: Sun Feb 28 04:10:26 2010
New Revision: 204440
URL: http://svn.freebsd.org/changeset/base/204440

Log:
  Reduce differences with n32 kernel.  The .text change wrt . fixes entry point
  setting.

Modified:
  user/jmallett/octeon/sys/conf/ldscript.mips.octeon1.64

Modified: user/jmallett/octeon/sys/conf/ldscript.mips.octeon1.64
==============================================================================
--- user/jmallett/octeon/sys/conf/ldscript.mips.octeon1.64	Sun Feb 28 03:53:27 2010	(r204439)
+++ user/jmallett/octeon/sys/conf/ldscript.mips.octeon1.64	Sun Feb 28 04:10:26 2010	(r204440)
@@ -2,23 +2,19 @@ TARGET(elf64-tradbigmips)
 OUTPUT_FORMAT("elf64-tradbigmips", "elf64-tradbigmips", "elf64-tradlittlemips")
 OUTPUT_ARCH(mips)
 ENTRY(_start)
-/*   __DYNAMIC = 0;
+   __DYNAMIC = 0;
 PROVIDE (_DYNAMIC = 0);
-*/
-PHDRS {
-	text	PT_LOAD FLAGS ( 5 ) ;
-}
 
 SECTIONS {
 	. = KERNLOADADDR + SIZEOF_HEADERS;
 
-	.text _start : {
+	.text . : {
 	    	*(.text)
-		/*(.dynamic)*/
+		*(.dynamic)
 		etext = .;
 		_etext = .;
 		. = ALIGN(0x2000);
-	} : text
+	}
 
 	.rodata ALIGN(0x2000) : {
 		_fdata = .;


More information about the svn-src-user mailing list