microblaze: fix setjmp/longjmp
commit2559592659fe8225fc7d67fa5bc83a1589819054
authorWaldemar Brodkorb <wbx@openadk.org>
Mon, 23 May 2016 01:38:00 +0000 (23 03:38 +0200)
committerWaldemar Brodkorb <wbx@openadk.org>
Tue, 24 May 2016 18:39:09 +0000 (24 20:39 +0200)
treedb0d5cbc4264a75600b920db4138c09418906159
parentb1fb0d0bf5d09bf9dbdbc320814bd087d4d26460
microblaze: fix setjmp/longjmp

Sync mostly with GNU libc implementation of setjmp/longjmp.
Just generate PIC compatible code, so no difference for static
builds are made. Add sysdep.h with some handy assembly macros
used inside setjmp.S/__longjmp.S.

This unbreaks dynamic linker support, first test suite run
only shows 10 errors, which doesn't look so bad.
libc/sysdeps/linux/microblaze/__longjmp.S
libc/sysdeps/linux/microblaze/setjmp.S
libc/sysdeps/linux/microblaze/sysdep.h [new file with mode: 0644]