From owner-svn-src-all@freebsd.org Wed Jan 17 23:47:39 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E699EC0281; Wed, 17 Jan 2018 23:47:39 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45C2C68EDA; Wed, 17 Jan 2018 23:47:39 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io0-x22f.google.com with SMTP id f89so14768417ioj.4; Wed, 17 Jan 2018 15:47:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=CHVibkKVWu7tm/aXU6r3bjfXxxkbvLTZHSoObeXvTBM=; b=c1gdeScSNBDyR5NP0+L5fP3D/ZcHCuYnZES5cKpmE+YDEV/uEgXsux9mjNOqxdz7c6 9RbigD0fIf0bikhNVLFoRGavpfm6CupWkmclYex0hJJV5cjp6AEhfRhRjbESiKw9zPoS 6Ig6T8IaRJvv/PH0TfUDIGPzh7kY/fAHqSomRpvKUCkdGHL+2tW0akjOFnH027oz7Oai j6dGS0oA0leeMBvaLdA+4QNPqjM/817w2nUANSRp/+6WXwXKhZ/b6F9ny5m08PexiasC b7GzJ4jb9H3Ojf109fWzjjhoZAVuRgAkH2hRnP3RCjH32Jb22lU8HczFg/Upal+YCP2r v9gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=CHVibkKVWu7tm/aXU6r3bjfXxxkbvLTZHSoObeXvTBM=; b=aCB9Ubu8OTy1dSNMMDP96FZi6SR92nyqnhyYftD9Z/rquDJFaVx9kK7w3wAf2dxmcF pjFLKRfUsGMbr2779oMciGTdLjbe9ti1g6eXclDf2r+vLDTpaBIcc2/PxgHrspTYRmao W9eSgSD7+jNkmtDEDmut0I0sJaO43Wo9vo8nL5r0dmb+k1GD+RUbU6tUYgYrUhDm6N/d /UqiO0JSiQEDv8dscF0y5GOa/+iiUdvgFWLFjTrg5q8yt+1fsuylmKuYzBZsBEsu4KFF b2mRQxMlMVyp9TExxjjsdfeuOpT3OIGra3OOgNWvxDxG3xZzXuk15wuiqEadhR8U/O5m ozrA== X-Gm-Message-State: AKwxytf2HAChFJT6AwVCqSlGpvTOoQe27OLlT5x+nzkmd2sqNpQtMv9F JIuVzlYpj4qx6xUTGZ/gKTV+wN+DpaMA5OCHeD+3xw== X-Google-Smtp-Source: ACJfBovmHI1R9glwK599JoYfKUjYgngQ8JF84HSPVH3QRJGjPYX0kMUKAIly2Kd4hDFVAJv1tMVpVMLh+0w0kwobP20= X-Received: by 10.107.201.136 with SMTP id z130mr11184986iof.257.1516232858379; Wed, 17 Jan 2018 15:47:38 -0800 (PST) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.136.201 with HTTP; Wed, 17 Jan 2018 15:47:17 -0800 (PST) In-Reply-To: <201801172252.w0HMq02l024443@repo.freebsd.org> References: <201801172252.w0HMq02l024443@repo.freebsd.org> From: Ed Maste Date: Wed, 17 Jan 2018 18:47:17 -0500 X-Google-Sender-Auth: ZECidr48K_ivsii0EuqtxMtry1Y Message-ID: Subject: Re: svn commit: r328101 - in head: stand/common sys/kern To: John Baldwin Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 23:47:39 -0000 On 17 January 2018 at 17:52, John Baldwin wrote: > Author: jhb > Date: Wed Jan 17 22:51:59 2018 > New Revision: 328101 > URL: https://svnweb.freebsd.org/changeset/base/328101 > > Log: > Require the SHF_ALLOC flag for program sections from kernel object modules. > > The lld linker > does not sort the sections in ELF object files and mixed allocated and > unallocated sections. Note that this applies only to the output of lld -r - i.e., producing relocatable (.o) output. As the output of ld -r is normally expected to be input to a future link invocation lld largely leaves the contents as found in the input files, including section ordering.