OSDN Git Service

The attached patches fixes the problems found bringing up uclibc on coldfire
authorKhem Raj <kraj@mvista.com>
Thu, 9 Apr 2009 07:38:04 +0000 (07:38 -0000)
committerKhem Raj <kraj@mvista.com>
Thu, 9 Apr 2009 07:38:04 +0000 (07:38 -0000)
commit3c2a68b9dc9ae45f5eb0971a3e6583af732c3f91
tree5e66ac6f4b89da6d854a304862d1b6337f8e4fd2
parent0dca115912f5d64c96f14876fff3bd582a8c4a1b
The attached patches fixes the problems found bringing up uclibc on coldfire
M5485 processor

1.  Disable mmap2() if we're compiling for coldfire and fall back to mmap().
    It seems to map a different file area on a 2.6.25 linux kernel.

2.  Uses pc-relative addresing[1], computes ADDR_ALIGN, PAGE_ALIGN
    and OFFSET_ALIGN relatively to _dl_pagesize[3].
    On coldfire/M5485 _dl_pagesize is 0x2000.

Signed-off-by: Groleo Marius <groleo@gmail.com>
ldso/include/dl-syscall.h
ldso/ldso/m68k/dl-startup.h
ldso/ldso/m68k/dl-sysdep.h
libpthread/linuxthreads.old/sysdeps/m68k/pt-machine.h