public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: du zhigang <duzhig@yahoo.com.cn>
To: u-boot@lists.denx.de
Subject: [U-Boot]  [RFC] [PATCH] arm: arm926ejs: use ELF relocations
Date: Wed, 30 Mar 2011 07:13:40 +0800 (CST)	[thread overview]
Message-ID: <128737.38661.qm@web15802.mail.cnb.yahoo.com> (raw)





dear:

i am using u-boot 2011.03-rc1 compiled by
CS arm-none-eabi-gcc 4.5.1

board at91sam9263ek_norflash_boot_config i
using gdb 6.8.1 debug it

when u-boot compiled? i found an error

?

/dzg/crosstool/4.5.1/bin/.arm-none-eabi-ld:
warning: creating a DT_TEXTREL in object.

?

/dzg/x86/insight-6.8-1/gdb/insight -se
u-boot

BFD:
/dzg/arm/u-boot/u-boot-2011.03-rc1/u-boot: invalid string offset 37 >= 0 for
section `'

BFD: /dzg/arm/u-boot/u-boot-2011.03-rc1/u-boot:
invalid string offset 32 >= 0 for section `'

BFD:
/dzg/arm/u-boot/u-boot-2011.03-rc1/u-boot: invalid string offset 53 >= 0 for
section `'

BFD:
/dzg/arm/u-boot/u-boot-2011.03-rc1/u-boot: invalid string offset 1 >= 0 for
section `'

BFD: /dzg/arm/u-boot/u-boot-2011.03-rc1/u-boot:
invalid string offset 20 >= 0 for section `'

BFD:
/dzg/arm/u-boot/u-boot-2011.03-rc1/u-boot: invalid string offset 82 >= 0 for
section `'

BFD:
/dzg/arm/u-boot/u-boot-2011.03-rc1/u-boot: invalid string offset 67 >= 0 for
section `'

?

when i set breakpoint such as

b board_init_f it seems to show wrong line
number at line 132

?

i also found this version of u-boot change
board_init_f to run in flash

why dose it? in version 2010.09 it run
after relocated in ram

i found the linker link? init_fnc_t *init_sequence[]

functions with address like 0x23fxxxxx

what does the linker do with -pie option
does it link the functions run in flash with addr like 0xaxxxx?

?

do you test eldk 4.2 compiled with this
board and run in norflash?

?

thanks 

best regards




      

             reply	other threads:[~2011-03-29 23:13 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-29 23:13 du zhigang [this message]
2011-03-30  5:06 ` [U-Boot] [RFC] [PATCH] arm: arm926ejs: use ELF relocations Albert ARIBAUD
  -- strict thread matches above, loose matches on Subject: below --
2010-10-05  6:13 Wolfgang Denk
2010-10-05  6:33 ` Albert ARIBAUD
2010-10-04 22:01 Albert Aribaud
2010-10-04 22:09 ` Albert ARIBAUD
2010-10-04 23:57   ` John Rigby
2010-10-05  0:01     ` Graeme Russ
2010-10-05  5:34       ` Wolfgang Denk
2010-10-05  5:40         ` Graeme Russ
2010-10-05  5:42           ` Graeme Russ
2010-10-05  6:13             ` Albert ARIBAUD
2010-10-05  5:30   ` Wolfgang Denk
2010-10-05  5:41     ` J. William Campbell
2010-10-05  5:47     ` Albert ARIBAUD
2010-10-04 22:22 ` Graeme Russ
2010-10-04 22:57   ` Albert ARIBAUD
2010-10-04 23:21     ` Graeme Russ
2010-10-05  0:16       ` Albert ARIBAUD
2010-10-05  3:42         ` J. William Campbell
2010-10-04 23:23 ` Graeme Russ
2010-10-04 23:59   ` Albert ARIBAUD
2010-10-05  6:11 ` Wolfgang Denk

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=128737.38661.qm@web15802.mail.cnb.yahoo.com \
    --to=duzhig@yahoo.com.cn \
    --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