Fix for busybox's df
malcolm.parsons at gmail.com
Fri Sep 29 21:56:25 CEST 2006
On 9/29/06, Amadeus <amadeus at iksw-muees.de> wrote:
> There are calls to the macro count_leading_zeros, which is using a table
> of constants. Code sequence:
> mov r1, r6, lsr r3
> ldr r2, [pc, #....] 0x30F8C
> ldrb r3, [r2, r1] <<<< boom!
This code is the result of not compiling with -fPIC
It looks like the flags used to build libgcc in the toolchain need to
change, or we build our own version when building DSLinux.
The GBAMP-EXT2 build does not use XIP, so does not use PIC, will we
need a different toolchain to build this version?
I wonder if df works in the GBAMP-EXT2 build at the moment.
More information about the dslinux-devel