[U-Boot] [RFC] [PATCH V2] arm: arm926ejs: use ELF relocations
Reinhard Meyer
u-boot at emk-elektronik.de
Tue Oct 5 09:52:36 CEST 2010
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
More information about the U-Boot
mailing list