[U-Boot] [PATCH 2/2] [NEXT] arm926ejs: reduce code size with -msingle-pic-base

Albert ARIBAUD
2010-09-22T22:07:27Z

I've just recompiled with the CodeSourcery toolchain and I can see the
board_init_f prolog going thus:

c1080688: e59fa118 ldr sl, [pc, #280] ; c10807a8 <board_init_f+0x120>

c108068c: e59f8118 ldr r8, [pc, #280] ; c10807ac <board_init_f+0x124>

c1080690: e08fa00a add sl, pc, sl

It is scattered, but it is there.

Also, I see board_init_f starting at c108064c. Ben, that's a different
address from what you see in your map file, but maybe we're not using
the same exact source tree? I tested with the current 'next' branch plus
my two patches.

Amicalement,
--
Albert.