MicroBlaze: Fix BZ17791 - Remove fixed page size macros and others
authorMatthew Fortune <matthew.fortune@imgtec.com>
Mon, 5 Jan 2015 15:12:45 +0000 (15:12 +0000)
committerDavid Holsgrove <david.holsgrove@xilinx.com>
Fri, 9 Jan 2015 07:34:46 +0000 (17:34 +1000)
commitaee6626c30dd0043990d9554c943fdfdbf9fce83
tree6ab5ce64152bbaf2645ffe5f25afcd2bbd2ecfa0
parent9e560f4838f37362449ebb0c19a0592323e593b1
MicroBlaze: Fix BZ17791 - Remove fixed page size macros and others

Microblaze apparently has a variable page size (see thread below) and
should not hard-code any page-size related macros.
Also remove macros that are only used for BFD's trad-core support
which is not relavant for microblaze also according to the thread
starting here:

https://sourceware.org/ml/libc-ports/2013-11/msg00028.html

This patch is neither built nor tested but mirrors a MIPS patch that
fixes the same issue.

Thanks,
Matthew

     * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
     (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
     (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
ChangeLog
NEWS
sysdeps/unix/sysv/linux/microblaze/sys/user.h