From patchwork Tue Feb 2 13:19:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 61023 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp728136lbb; Tue, 2 Feb 2016 05:22:54 -0800 (PST) X-Received: by 10.98.16.86 with SMTP id y83mr19151324pfi.45.1454419374530; Tue, 02 Feb 2016 05:22:54 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id 89si2007756pfr.21.2016.02.02.05.22.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Feb 2016 05:22:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aQatX-0004bC-Hp; Tue, 02 Feb 2016 13:21:23 +0000 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aQasN-0002Y9-Go for linux-arm-kernel@lists.infradead.org; Tue, 02 Feb 2016 13:20:13 +0000 Received: by mail-wm0-x229.google.com with SMTP id 128so117762336wmz.1 for ; Tue, 02 Feb 2016 05:19:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0MIfZzXdh2+aQhNxfK9OL48k4g2iR1RGhM5HUu6dWXU=; b=d7KOJpmoMh/ayoI0kDVJKxUAzI1MFz6xk9+NB5dQD75HRZHjrYAFwLWrQ6o1H8JGIV w6twAHB+EqIUwH2msv8MggIH1EoQDe5Z11LS6IWe5h7aE5MYDjzBXitq0TwpvdRbDToe TUBchuZUERW9ao8KSPXmcE/n46mr77uzwLWZ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0MIfZzXdh2+aQhNxfK9OL48k4g2iR1RGhM5HUu6dWXU=; b=QMglCcWHcOkUA4AjF4C/Ouz2UvounbFPUZt2pyiNUcRSUHs8rzMWctQ1AWW1zNZshx C17ZjX3IbbSJceVvEVjPUKZERkf+A173zAqvjhq33eiuA1b5VvtwHbEfqqnWuI/RYmS+ 9DN/6kFJKAn6s274s0Bmh5r6AvLoq3FM694vAp7xwmpI/ooWnBK5UM76WOQ5F3zydL3e 6Sqo2TiiQ/NskVej6vyPvgs1YN+0bEQVvm49eGfb5sD8hYXYHy9RE151RckOM7LWtZRu vuscfwUnwCllNDQjzz97ikBjsX+kbAfMiJJdL3w7KxU+vMgWAUcKHnYDbEKegAZRL1G8 +HmQ== X-Gm-Message-State: AG10YOQJZO4MUnFmWWQb0zVVFvsJukNJRoExS4Kj1Lo2YggazBn7oQrYnkmeEsOTLWu4L9rl X-Received: by 10.194.179.71 with SMTP id de7mr28047048wjc.119.1454419189858; Tue, 02 Feb 2016 05:19:49 -0800 (PST) Received: from localhost.localdomain ([195.55.142.58]) by smtp.gmail.com with ESMTPSA id r10sm1469906wjz.24.2016.02.02.05.19.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 02 Feb 2016 05:19:49 -0800 (PST) From: Ard Biesheuvel To: linux-arm-kernel@lists.infradead.org, linux@arm.linux.org.uk, arnd@arndb.de, broonie@linaro.org Subject: [PATCH 2/3] kallsyms: remove special lower address limit for CONFIG_ARM Date: Tue, 2 Feb 2016 14:19:33 +0100 Message-Id: <1454419174-21290-3-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1454419174-21290-1-git-send-email-ard.biesheuvel@linaro.org> References: <1454419174-21290-1-git-send-email-ard.biesheuvel@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160202_052011_889242_BE0BA73A X-CRM114-Status: UNSURE ( 8.95 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.0 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 TVD_SUBJ_WIPE_DEBT Spam advertising a way to eliminate debt -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linus.walleij@linaro.org, Ard Biesheuvel , nico@linaro.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org Now that we no longer emit .stubs symbols into a section VMA loaded at absolute address 0x1000, we can drop the ARM-specific override that sets a lower limit based on CONFIG_PAGE_OFFSET, below which symbols are filtered from the kallsyms output. Signed-off-by: Ard Biesheuvel --- scripts/link-vmlinux.sh | 4 ---- 1 file changed, 4 deletions(-) -- 2.5.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh index aae2473301ea..b83f918c7830 100755 --- a/scripts/link-vmlinux.sh +++ b/scripts/link-vmlinux.sh @@ -82,10 +82,6 @@ kallsyms() kallsymopt="${kallsymopt} --all-symbols" fi - if [ -n "${CONFIG_ARM}" ] && [ -z "${CONFIG_XIP_KERNEL}" ] && [ -n "${CONFIG_PAGE_OFFSET}" ]; then - kallsymopt="${kallsymopt} --page-offset=$CONFIG_PAGE_OFFSET" - fi - if [ -n "${CONFIG_X86_64}" ] && [ -n "${CONFIG_SMP}" ]; then kallsymopt="${kallsymopt} --absolute-percpu" fi