From: Sascha Hauer <s.hauer@pengutronix.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] U-Boot-NG ?
Date: Mon, 2 Jul 2007 21:26:57 +0200 [thread overview]
Message-ID: <20070702192657.GC2533@pengutronix.de> (raw)
In-Reply-To: <1183402971.3393.2.camel@loki>
On Mon, Jul 02, 2007 at 09:02:51PM +0200, Carsten Schlote wrote:
> Hi Sascha,
>
> Am Montag, den 02.07.2007, 18:47 +0200 schrieb Sascha Hauer:
> > git clone http://iocaste.extern.pengutronix.de/git/U-Boot-NG.git
>
> Ich checkout and tried to compile the 'linux' arch. Everything is fine,
> but ld 2.17 (debian etch) doesn't like your link script?
I'm too using ld-2.17:
GNU ld (GNU Binutils for Debian) 2.17.50.20070426
gcc version is 4.1.2.
The linker script is a nearly unmodified linker script version from a
x86-64 ld. You can output the linker script the linker normally uses
with 'ld --verbose'. Maybe a diff between yours and the one used in
U-Boot can give some light?
The 64 bit version of the linker script mainly increases some
alignments and changes the link address to 0x400000.
Here's the diff to the original linker script I used:
--- lds.orig 2007-07-02 21:16:41.000000000 +0200
+++ u-boot.lds.S 2007-07-02 17:44:25.000000000 +0200
@@ -1,16 +1,9 @@
-GNU ld (GNU Binutils for Debian) 2.17.50.20070426
- Supported emulations:
- elf_x86_64
- elf_i386
- i386linux
-using internal linker script:
-==================================================
-/* Script for -z combreloc: combine and sort reloc sections */
-OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64",
- "elf64-x86-64")
-OUTPUT_ARCH(i386:x86-64)
+#include <asm-generic/u-boot.lds.h>
+
+OUTPUT_FORMAT(ELF_FORMAT)
+OUTPUT_ARCH(ELF_ARCH)
ENTRY(_start)
-SEARCH_DIR("/usr/x86_64-linux-gnu/lib64"); SEARCH_DIR("/usr/local/lib64"); SEARCH_DIR("/lib64"); SEARCH_DIR("/usr/lib64"); SEARCH_DIR("/usr/x86_64-linux-gnu/lib"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
+
SECTIONS
{
/* Read-only sections, merged into text segment: */
@@ -76,6 +69,16 @@
{
KEEP (*(.fini))
} =0x90909090
+
+ . = ALIGN(64);
+ __u_boot_initcalls_start = .;
+ __u_boot_initcalls : { INITCALLS }
+ __u_boot_initcalls_end = .;
+ . = ALIGN(64);
+ __u_boot_cmd_start = .;
+ __u_boot_cmd : { U_BOOT_CMDS }
+ __u_boot_cmd_end = .;
+
PROVIDE (__etext = .);
PROVIDE (_etext = .);
PROVIDE (etext = .);
@@ -224,5 +227,3 @@
/DISCARD/ : { *(.note.GNU-stack) }
}
-
-==================================================
>
> What version of GCC do you use?
>
> Regards
> Carsten
>
>
--
Pengutronix - Linux Solutions for Science and Industry
Entwicklungszentrum Nord http://www.pengutronix.de
next prev parent reply other threads:[~2007-07-02 19:26 UTC|newest]
Thread overview: 110+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-30 2:08 [U-Boot-Users] U-Boot-NG ? Wolfgang Denk
2007-06-30 9:40 ` Robert Schwebel
2007-06-30 22:42 ` Carsten Schlote
2007-07-01 15:39 ` Wolfgang Denk
2007-07-02 9:58 ` Carsten Schlote
2007-07-01 15:17 ` Wolfgang Denk
2007-07-02 11:47 ` Sascha Hauer
2007-07-02 13:34 ` Carsten Schlote
2007-07-02 16:47 ` Sascha Hauer
2007-07-02 17:22 ` Jerry Van Baren
2007-07-02 18:42 ` Sascha Hauer
2007-07-02 23:39 ` Wolfgang Denk
2007-07-03 0:09 ` Sascha Hauer
2007-07-03 1:46 ` Grant Likely
2007-07-03 9:44 ` Sascha Hauer
2007-07-03 15:36 ` Grant Likely
2007-07-03 20:40 ` Wolfgang Denk
2007-07-04 8:35 ` Robert Schwebel
2007-07-04 13:47 ` Wolfgang Denk
2007-07-04 15:25 ` Grant Likely
2007-07-03 22:58 ` Wolfgang Denk
2007-07-03 7:22 ` Wolfgang Denk
2007-07-03 9:02 ` Sascha Hauer
2007-07-06 11:53 ` [U-Boot-Users] 回复: " Songmao Tian
2007-07-02 18:25 ` Håvard Skinnemoen
2007-07-02 18:58 ` Sascha Hauer
2007-07-02 19:53 ` Håvard Skinnemoen
2007-07-02 19:02 ` Carsten Schlote
2007-07-02 19:26 ` Sascha Hauer [this message]
2007-07-02 20:37 ` Carsten Schlote
2007-07-02 21:56 ` Sascha Hauer
2007-07-02 19:54 ` Carsten Schlote
2007-07-03 11:02 ` Sascha Hauer
2007-07-03 15:35 ` Carsten Schlote
2007-07-03 16:52 ` Grant Likely
2007-07-03 17:18 ` Ulf Samuelsson
2007-07-03 18:01 ` Grant Likely
2007-07-03 17:58 ` Sascha Hauer
2007-07-03 18:05 ` Grant Likely
2007-07-03 18:09 ` Rune Torgersen
2007-07-03 18:17 ` Grant Likely
2007-07-03 18:43 ` Rune Torgersen
2007-07-03 18:54 ` Grant Likely
2007-07-03 19:12 ` Rune Torgersen
2007-07-03 19:21 ` Grant Likely
2007-07-03 19:27 ` Rune Torgersen
2007-07-03 19:30 ` Grant Likely
2007-07-03 19:40 ` Rune Torgersen
2007-07-03 19:59 ` Wolfgang Grandegger
2007-07-03 21:14 ` Wolfgang Denk
2007-07-03 21:13 ` Wolfgang Denk
2007-07-03 22:59 ` Grant Likely
2007-07-03 23:13 ` Wolfgang Denk
2007-07-04 5:22 ` Andrew Dyer
2007-07-04 5:34 ` Grant Likely
2007-07-04 13:38 ` Wolfgang Denk
2007-07-04 16:00 ` Andrew Dyer
2007-07-04 11:46 ` Sascha Hauer
2007-07-04 11:53 ` Stefan Roese
2007-07-04 12:01 ` Sascha Hauer
2007-07-04 13:53 ` Wolfgang Denk
2007-07-04 15:39 ` Grant Likely
2007-07-04 18:49 ` Wolfgang Denk
2007-07-04 13:51 ` Wolfgang Denk
2007-07-03 19:19 ` Jerry Van Baren
2007-07-03 21:11 ` Wolfgang Denk
2007-07-03 21:06 ` Wolfgang Denk
2007-07-03 18:43 ` Sascha Hauer
2007-07-03 20:55 ` Wolfgang Denk
2007-07-04 9:32 ` Sascha Hauer
2007-07-04 10:06 ` Stefan Roese
2007-07-04 11:28 ` Sascha Hauer
2007-07-04 11:56 ` Stefan Roese
2007-07-04 12:21 ` Robert Schwebel
2007-07-04 12:49 ` Stefan Roese
2007-07-04 14:02 ` Wolfgang Denk
2007-07-04 18:43 ` Robert Schwebel
2007-07-04 19:36 ` Wolfgang Denk
2007-07-04 20:40 ` Robert Schwebel
2007-07-04 22:25 ` Ulf Samuelsson
2007-07-05 6:04 ` Stefan Roese
2007-07-05 7:01 ` Robert Schwebel
2007-07-05 7:54 ` Ulf Samuelsson
2007-07-04 12:26 ` Sascha Hauer
2007-07-04 12:37 ` Stefan Roese
2007-07-04 13:09 ` Carsten Schlote
2007-07-04 14:06 ` Wolfgang Denk
2007-07-04 14:37 ` Stefan Roese
2007-07-04 13:58 ` Wolfgang Denk
2007-07-04 15:34 ` Grant Likely
2007-07-04 12:48 ` [U-Boot-Users] U-Boot 2.0 - How to proceed...? (was RE: U-Boot-NG ?) Carsten Schlote
2007-07-04 14:17 ` Wolfgang Denk
2007-07-04 13:34 ` [U-Boot-Users] U-Boot-NG ? Wolfgang Denk
2007-07-04 14:11 ` Sascha Hauer
2007-07-03 20:48 ` Wolfgang Denk
2007-07-03 22:31 ` Sascha Hauer
2007-07-03 22:55 ` Wolfgang Denk
2007-07-03 23:09 ` Scott Wood
2007-07-04 9:37 ` Clemens Koller
2007-07-03 17:30 ` Sascha Hauer
2007-07-03 18:03 ` Grant Likely
2007-07-04 14:16 ` Wolfgang Denk
2007-07-04 14:43 ` Sascha Hauer
2007-07-04 14:56 ` Wolfgang Denk
2007-07-06 6:39 ` [U-Boot-Users] 回复: " Songmao Tian
2007-07-06 11:46 ` [U-Boot-Users] ????: " Sascha Hauer
2007-07-06 13:09 ` Songmao Tian
2007-07-06 13:27 ` Sascha Hauer
2007-07-06 14:32 ` Wolfgang Denk
2007-07-06 14:53 ` Songmao Tian
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=20070702192657.GC2533@pengutronix.de \
--to=s.hauer@pengutronix.de \
--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