Mercurial > hg > aboriginal
view sources/patches/uClibc-sparcfix.patch @ 1839:c8293b3ab81f draft default tip
Teach chroot-splice to accept one or two arguments. (Control image now optional.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 17 Jan 2016 21:18:52 -0600 |
parents | c1d26568dbb8 |
children |
line wrap: on
line source
The sparc dynamic linker segfaults without this. I should track down why and do a proper fix that doesn't hit common code... diff -ruN uClibc-0.9.32.bak/ldso/include/dl-hash.h uClibc-0.9.32/ldso/include/dl-hash.h --- uClibc-0.9.32.bak/ldso/include/dl-hash.h 2011-06-08 14:35:20.000000000 -0500 +++ uClibc-0.9.32/ldso/include/dl-hash.h 2011-11-10 17:53:49.148917902 -0600 @@ -111,7 +111,11 @@ ElfW(Addr) relro_addr; size_t relro_size; +#ifdef __sparc__ + int st_dev; +#else dev_t st_dev; /* device */ +#endif ino_t st_ino; /* inode */ #ifdef __powerpc__