From patchwork Wed Nov 12 00:17:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 409722 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 6E02E14012F for ; Wed, 12 Nov 2014 11:19:17 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5377D4BA22; Wed, 12 Nov 2014 01:19:14 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o0lZaU4dRKEw; Wed, 12 Nov 2014 01:19:14 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0EE394B9CC; Wed, 12 Nov 2014 01:18:56 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8586C4B659 for ; Wed, 12 Nov 2014 01:18:44 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JoiH0AdjQ72u for ; Wed, 12 Nov 2014 01:18:44 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-oi0-f74.google.com (mail-oi0-f74.google.com [209.85.218.74]) by theia.denx.de (Postfix) with ESMTPS id F410E4B985 for ; Wed, 12 Nov 2014 01:18:39 +0100 (CET) Received: by mail-oi0-f74.google.com with SMTP id u20so1553413oif.3 for ; Tue, 11 Nov 2014 16:18:38 -0800 (PST) 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=hi0VuD4sj3JOQvxbdiIK9Eh1Pt7SoLSe15VZvNAAyDY=; b=VJYh8/kT2vAxGncpU73NU5Xy9h2mDPIfGq76uUxYu/fqp5yYTOA/ILjDLeRPSpPYeP UeUDNR8CL6oaEW6T/RURDqVTA7+LFzse0PgEOhwXl/pRTu/tGhkyX5LO5+Ql72cIhmvz ZR8KrTwf2bBj4c+XvOF5iAh6S1BqDDq782QCDHh/8A5D8BDnwJPmU+52Scr/rS+pLpPm d0818S+eJPbirRWv9dh/Jkt3d8Sx0IXoMJsX2s4w0KMcGxmgx0fATdFJQv+obQyTdZuq lPKxUmHy2vgjAqBg+4j5crGaRK25c66HGQ9vA8bMHdDBQ9HOJg9u2CzFyUkkQVfGmrB2 ABQA== X-Gm-Message-State: ALoCoQn3bfTdVofT8gg++8L552xL1AytifrJ13lEJI8e6yHMLGDhXHykI9eo96yaBc0GLj7TTzba X-Received: by 10.182.33.162 with SMTP id s2mr2498971obi.17.1415751518522; Tue, 11 Nov 2014 16:18:38 -0800 (PST) Received: from corpmail-nozzle1-2.hot.corp.google.com ([100.108.1.103]) by gmr-mx.google.com with ESMTPS id 5si861294yhd.6.2014.11.11.16.18.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Nov 2014 16:18:38 -0800 (PST) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by corpmail-nozzle1-2.hot.corp.google.com with ESMTP id 72L7DMCp.1; Tue, 11 Nov 2014 16:18:38 -0800 Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 5C375221036; Tue, 11 Nov 2014 17:18:37 -0700 (MST) From: Simon Glass To: U-Boot Mailing List Date: Tue, 11 Nov 2014 17:17:55 -0700 Message-Id: <1415751501-23407-8-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 In-Reply-To: <1415751501-23407-1-git-send-email-sjg@chromium.org> References: <1415751501-23407-1-git-send-email-sjg@chromium.org> Cc: Graeme Russ Subject: [U-Boot] [PATCH 07/33] x86: Ensure that all relocation data is included in the image X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Some toolchains put the relocation data into separate sections. Adjust the linker script to catch this case. Without relocation data, U-Boot will not boot. Signed-off-by: Simon Glass --- arch/x86/cpu/u-boot.lds | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/cpu/u-boot.lds b/arch/x86/cpu/u-boot.lds index f48bff5..95ab7dd 100644 --- a/arch/x86/cpu/u-boot.lds +++ b/arch/x86/cpu/u-boot.lds @@ -44,7 +44,9 @@ SECTIONS . = ALIGN(4); __rel_dyn_start = .; - .rel.dyn : { *(.rel.dyn) } + .rel.dyn : { + *(.rel.*) + } __rel_dyn_end = .; . = ALIGN(4); _end = .;