* libc/unix/getcwd.c (getcwd): Close directory also in case of an error.
[Patch, microblaze]: Add config/microblaze.mt for target_makefile_frag

Mirror MIPS method of creating copy of default.mt which drops the
compilation of generic sbrk.c to instead continue using the microblaze
provided version.

[Libgloss]

Changelog

2013-07-15  David Holsgrove <david.holsgrove@xilinx.com>

  * config/microblaze.mt: New file.
  * microblaze/configure.in: Switch default.mt to microblaze.mt.
  * microblaze/configure: Likewise.

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
[Patch, microblaze]: Modified _exceptional_handler

Modified the _exceptional_handler to support
the changes made in GCC related to Superviosry call

Signed-off-by:Nagaraju Mekala<nmekala@xilix.com>
[LOCAL]: Add missing declarations for xil_printf to stdio.h

for inclusion in toolchain and use in c++ apps

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>