Author: andrew
Date: Sat Sep  3 17:23:24 2016
New Revision: 305355
URL: https://svnweb.freebsd.org/changeset/base/305355

Log:
  Explicitly include all .rodata.* sections in the kernel .rodata. This
  helps link the kernel with lld as it will then put all these into a single
  .rodata section.
  
  MFC after:    1 week
  Sponsored by: ABT Systems Ltd

Modified:
  head/sys/conf/ldscript.arm64

Modified: head/sys/conf/ldscript.arm64
==============================================================================
--- head/sys/conf/ldscript.arm64        Sat Sep  3 15:28:09 2016        
(r305354)
+++ head/sys/conf/ldscript.arm64        Sat Sep  3 17:23:24 2016        
(r305355)
@@ -18,7 +18,7 @@ SECTIONS
   _etext = .;
   PROVIDE (etext = .);
   .fini      : { *(.fini)    } =0x9090
-  .rodata    : { *(.rodata) *(.gnu.linkonce.r*) }
+  .rodata    : { *(.rodata*) *(.gnu.linkonce.r*) }
   .rodata1   : { *(.rodata1) }
    .interp     : { *(.interp)  }
   .hash          : { *(.hash)          }
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to