Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2017 15:46:34 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r317146 - stable/11/sys/conf
Message-ID:  <201704191546.v3JFkYIb069894@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Wed Apr 19 15:46:34 2017
New Revision: 317146
URL: https://svnweb.freebsd.org/changeset/base/317146

Log:
  MFC 305355:
  
  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.

Modified:
  stable/11/sys/conf/ldscript.arm64
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/conf/ldscript.arm64
==============================================================================
--- stable/11/sys/conf/ldscript.arm64	Wed Apr 19 15:33:24 2017	(r317145)
+++ stable/11/sys/conf/ldscript.arm64	Wed Apr 19 15:46:34 2017	(r317146)
@@ -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)		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704191546.v3JFkYIb069894>