[PATCH 5/5] microblaze mmu/elf/shared lib support
Mike Frysinger
vapier at gentoo.org
Sat Oct 1 19:01:59 UTC 2011
On Thursday, September 29, 2011 18:40:23 Steve Bennett wrote:
> --- a/extra/Configs/Config.microblaze
> +++ b/extra/Configs/Config.microblaze
>
> +choice
> + prompt "Microblaze MMU Capability"
> + default CONFIG_MICROBLAZE_NO_MMU
> + depends on TARGET_microblaze
> + help
> + Determines the MMU capability of your microblaze CPU.
> +
> +config CONFIG_MICROBLAZE_NO_MMU
> + bool "no mmu"
> + select HAVE_NO_PIC
> + select ARCH_HAS_NO_SHARED
> select ARCH_HAS_NO_MMU
> +
> +config CONFIG_MICROBLAZE_MMU
> + bool "mmu"
> + select ARCH_HAS_MMU
> +
> +endchoice
why do you need your own ? we already have common ARCH_USE_MMU.
> --- a/include/elf.h
> +++ b/include/elf.h
>
> +/* Xilinx Microblaze (unofficial). Note that there is now an official
> microblaze
> + * magic number, but all the toolchains currently in existence
> use the old number
> + */
> +#define EM_MICROBLAZE 0xbaab
please keep in sync with binutils. they use 189 for EM_MICROBLAZE and 0xbaab
for EM_MICROBLAZE_OLD
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20111001/ba1defdf/attachment.asc>
More information about the uClibc
mailing list