public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Reinhard Meyer <u-boot@emk-elektronik.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC] [PATCH V2] arm: arm926ejs: use ELF relocations
Date: Tue, 05 Oct 2010 09:52:36 +0200	[thread overview]
Message-ID: <4CAAD944.2040309@emk-elektronik.de> (raw)
In-Reply-To: <4CAAD255.1080501@emk-elektronik.de>

I _think_ the linker file needs a .align there:

(.data ends with a non-aligned address!)

Why do I happen to have all the luck when testing ;)

 .data          0x21f37f54        0x0 drivers/spi/libspi.a(atmel_spi.o)
 .data          0x21f37f54        0x0 drivers/rtc/librtc.a(at91sam9_rtt.o)
 .data          0x21f37f54       0x30 drivers/rtc/librtc.a(date.o)
 .data          0x21f37f84       0x4b drivers/usb/host/libusb_host.a(ohci-hcd.o)
 .data          0x21f37fcf        0x0 drivers/usb/host/libusb_host.a(ohci-at91.o)
 .data          0x21f37fcf        0x0 common/libcommon.a(memsize.o)
 .data          0x21f37fcf        0x0 board/emk/top9000/libtop9000.a(spi.o)
 .data          0x21f37fcf        0x0 lib/libgeneric.a(strmhz.o)
 .data          0x21f37fcf        0x0 arch/arm/cpu/arm926ejs/libarm926ejs.a(cpu.o)
 .data          0x21f37fcf        0x0 arch/arm/lib/libarm.a(cache-cp15.o)
 .data          0x21f37fcf        0x0 /home/reinhard/embedded/u-boot/arch/arm/lib/eabi_compat.o
 .data          0x21f37fcf        0x0 /home/reinhard/embedded/buildroot-v23434/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibcgnueabi/4.2.4/libgcc.a(_udivsi3.o)
 .data          0x21f37fcf        0x0 /home/reinhard/embedded/buildroot-v23434/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibcgnueabi/4.2.4/libgcc.a(_divsi3.o)
 .data          0x21f37fcf        0x0 /home/reinhard/embedded/buildroot-v23434/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibcgnueabi/4.2.4/libgcc.a(_lshrdi3.o)
 .data          0x21f37fcf        0x0 /home/reinhard/embedded/buildroot-v23434/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibcgnueabi/4.2.4/libgcc.a(_ashrdi3.o)
 .data          0x21f37fcf        0x0 /home/reinhard/embedded/buildroot-v23434/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibcgnueabi/4.2.4/libgcc.a(_ashldi3.o)
 .data          0x21f37fcf        0x0 /home/reinhard/embedded/buildroot-v23434/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibcgnueabi/4.2.4/libgcc.a(_dvmd_lnx.o)
                0x21f37fcf                __datarel_start = .
 *(.data.rel)
                0x21f37fcf                __datarelrolocal_start = .
 *(.data.rel.ro.local)
                0x21f37fcf                __datarellocal_start = .
 *(.data.rel.local)
                0x21f37fcf                __datarelro_start = .
 *(.data.rel.ro)

.dynamic        0x21f37fd0       0x80
 .dynamic       0x21f37fd0       0x80 arch/arm/cpu/arm926ejs/start.o
                0x21f37fd0                _DYNAMIC

.got.plt        0x21f38050        0xc
 .got.plt       0x21f38050        0xc arch/arm/cpu/arm926ejs/start.o
                0x21f38050                _GLOBAL_OFFSET_TABLE_
                0x21f3805c                . = ALIGN (0x4)
                0x21f3805c                __rel_dyn_start = .

.rel.dyn        0x21f3805c     0x6470

Reinhard

  reply	other threads:[~2010-10-05  7:52 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-05  6:31 [U-Boot] [RFC] [PATCH V2] arm: arm926ejs: use ELF relocations Albert Aribaud
2010-10-05  6:45 ` Wolfgang Denk
2010-10-05  7:05   ` Reinhard Meyer
2010-10-05  7:23     ` Reinhard Meyer
2010-10-05  7:52       ` Reinhard Meyer [this message]
2010-10-05  8:33         ` Heiko Schocher
2010-10-05  8:41           ` Albert ARIBAUD
2010-10-05  9:00             ` Heiko Schocher
2010-10-05  9:10               ` Reinhard Meyer
2010-10-05  9:15                 ` Heiko Schocher
2010-10-05  9:19                   ` Reinhard Meyer
2010-10-05  9:29                     ` Heiko Schocher
2010-10-05  9:33                       ` Reinhard Meyer
2010-10-05  9:39                         ` Reinhard Meyer
2010-10-05 10:11                           ` Albert ARIBAUD
2010-10-05 10:36                             ` Reinhard Meyer
2010-10-05 10:49                               ` Graeme Russ
2010-10-05 11:01                                 ` Reinhard Meyer
2010-10-05 11:18                                   ` Albert ARIBAUD
2010-10-05 10:33                         ` Albert ARIBAUD
2010-10-05 10:40                           ` Wolfgang Denk
2010-10-05 11:10                             ` Albert ARIBAUD
2010-10-05 11:17                               ` Reinhard Meyer
2010-10-05 11:46                                 ` Albert ARIBAUD
2010-10-05 13:18                                   ` Reinhard Meyer
2010-10-05 13:24                                     ` Graeme Russ
2010-10-05 13:36                                     ` Albert ARIBAUD
2010-10-05 14:06                                       ` Reinhard Meyer
2010-10-05 11:43                               ` Wolfgang Denk
2010-10-05 10:20         ` Albert ARIBAUD
2010-10-05  8:27     ` Wolfgang Denk
2010-10-05  8:38       ` Reinhard Meyer
2010-10-05  8:50         ` Albert ARIBAUD
2010-10-05  8:59           ` Reinhard Meyer
2010-10-05  7:07   ` Wolfgang Denk
2010-10-05  7:40 ` Heiko Schocher
2010-10-05  8:32   ` Albert ARIBAUD
2010-10-05  8:02 ` Wolfgang Denk
2010-10-05  9:25 ` Heiko Schocher
2010-10-05  9:32   ` Albert ARIBAUD
2010-10-05 12:07   ` Heiko Schocher
2010-10-05 12:52 ` Heiko Schocher

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=4CAAD944.2040309@emk-elektronik.de \
    --to=u-boot@emk-elektronik.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