public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/4] arm920t: fix linker skript for -pie linking
Date: Tue, 30 Nov 2010 07:37:18 +0100	[thread overview]
Message-ID: <1291099039-49672-4-git-send-email-andreas.devel@googlemail.com> (raw)
In-Reply-To: <1291099039-49672-1-git-send-email-andreas.devel@googlemail.com>

Without this patch the linker will SEGFAULT on some undefined weak
symbols.

Suggested-by: Sebastien Carlier <sebastien.carlier@gmail.com>
Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
---
 arch/arm/cpu/arm920t/u-boot.lds |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/cpu/arm920t/u-boot.lds b/arch/arm/cpu/arm920t/u-boot.lds
index a6f8b56..d8b77df 100644
--- a/arch/arm/cpu/arm920t/u-boot.lds
+++ b/arch/arm/cpu/arm920t/u-boot.lds
@@ -43,6 +43,9 @@ SECTIONS
 		*(.text)
 	}
 
+	.plt : { *(.plt) }
+	.rel.plt : { *(.rel.plt) }
+
 	. = ALIGN(4);
 	.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
 
-- 
1.7.3.2

  parent reply	other threads:[~2010-11-30  6:37 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-30  6:37 [U-Boot] [PATCH 0/4] get at91rm9200ek working with ARM relocation Andreas Bießmann
2010-11-30  6:37 ` [U-Boot] [PATCH 1/4] at91rm9200ek: add configure target for RAM boot Andreas Bießmann
2010-11-30  6:37 ` [U-Boot] [PATCH 2/4] MAKEALL: fix AT91 Andreas Bießmann
2010-11-30  6:37 ` Andreas Bießmann [this message]
2010-12-08 22:52   ` [U-Boot] [PATCH 3/4] arm920t: fix linker skript for -pie linking Wolfgang Denk
2010-12-09  7:24     ` Andreas Bießmann
2010-12-09  7:33       ` Albert ARIBAUD
2010-12-09  9:45         ` Wolfgang Denk
2010-12-09 10:32           ` Wolfgang Denk
2010-12-09 10:51             ` Andreas Bießmann
2010-11-30  6:37 ` [U-Boot] [PATCH 4/4] arm920t/at91/timer: replace bss variables by gd Andreas Bießmann
2010-11-30  7:17   ` Reinhard Meyer
2010-11-30  8:03     ` Andreas Bießmann
2010-11-30  8:16       ` Wolfgang Denk
2010-11-30  8:48         ` Andreas Bießmann
2010-11-30  9:14         ` [U-Boot] TIMER cleanup RFC, was: " Reinhard Meyer
2010-11-30 15:11           ` J. William Campbell
2010-11-30 15:48             ` Reinhard Meyer
2010-11-30 17:29               ` J. William Campbell
2010-11-30 18:06 ` [U-Boot] [PATCH 0/4] get at91rm9200ek working with ARM relocation Andreas Bießmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1291099039-49672-4-git-send-email-andreas.devel@googlemail.com \
    --to=andreas.devel@googlemail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox