From patchwork Wed Feb 3 19:04:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 61147 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp27658lbl; Wed, 3 Feb 2016 11:07:09 -0800 (PST) X-Received: by 10.66.219.38 with SMTP id pl6mr4704335pac.147.1454526429885; Wed, 03 Feb 2016 11:07:09 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id z63si10898717pfi.63.2016.02.03.11.07.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Feb 2016 11:07:09 -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 1aR2ki-000186-9F; Wed, 03 Feb 2016 19:06:08 +0000 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aR2k3-0008OX-WC for linux-arm-kernel@lists.infradead.org; Wed, 03 Feb 2016 19:05:30 +0000 Received: by mail-wm0-x234.google.com with SMTP id l66so85006050wml.0 for ; Wed, 03 Feb 2016 11:05:07 -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=M8kHWHhrChJxhlSQo7B4uQwR8+O1vf4skbijX1q2iZc=; b=QuHdtXv5Pm7l5eleV0QWIv4goppgXyk8dGwLzVXtjZNyHiM3wFyMpIj0gkWdI0ZXR/ MSOY89rreDSLtfzVy37cySDmO9BZfR5mIL442/VJ2gm0qQPQurXaFLJnE8oqpY9sxXOH gIYhXcUYEycGByv/hczMHmIfBd9RvK+GaryOE= 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=M8kHWHhrChJxhlSQo7B4uQwR8+O1vf4skbijX1q2iZc=; b=J5+ipEv29xh4+2CP1hEMOSy840h4niq97T8qcfUFaPtzbaEg63H3XLkmF8RkLXZIZ5 ay0enu1cZnOMSTw056ux1WINs2TEELHEOjMi+dJH3th6i4qYCC4DZ0qU1J5ORG492d1e V9FuqQU8Jp9KQ4h9XIEcv7ILZ/Uew/dLG+kbBeDaOBVu7VMMqPtN2tCt5PxLP1+cxSC8 tNiPBzYo38hTR/P7+5MGUefNZDqEAxNaWMZgjlzRDNXvFwmatf/vYfZZNIetylTyYAlI l3scQ4Jwo5udNlSVSvky0DtL0GjmQMvZzwZSbEwKGl//N6/sH+S18xOb8f4iAukSsn9f YfDQ== X-Gm-Message-State: AG10YOS5SF9l0eT5El67jvoxda0wZsLjsYECzev8++buvIsWG/3S5mA0qfzJLOKc7M2v2C66 X-Received: by 10.28.30.198 with SMTP id e189mr5573182wme.60.1454526306239; Wed, 03 Feb 2016 11:05:06 -0800 (PST) Received: from localhost.localdomain ([195.55.142.58]) by smtp.gmail.com with ESMTPSA id k130sm9299460wmg.6.2016.02.03.11.05.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Feb 2016 11:05:05 -0800 (PST) From: Ard Biesheuvel To: linux-arm-kernel@lists.infradead.org, linux@arm.linux.org.uk, arnd@arndb.de Subject: [PATCH v2 2/4] kallsyms: remove special lower address limit for CONFIG_ARM Date: Wed, 3 Feb 2016 20:04:55 +0100 Message-Id: <1454526297-5269-3-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1454526297-5269-1-git-send-email-ard.biesheuvel@linaro.org> References: <1454526297-5269-1-git-send-email-ard.biesheuvel@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160203_110528_409291_FDBCD904 X-CRM114-Status: UNSURE ( 9.05 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.7 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:234 listed in] [list.dnswl.org] 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 Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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: Chris.Brandt@renesas.com, 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. Acked-by: Nicolas Pitre 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