1478
|
1 The sparc dynamic linker segfaults without this. I should track down why
|
|
2 and do a proper fix that doesn't hit common code...
|
|
3
|
|
4 diff -ruN uClibc-0.9.32.bak/ldso/include/dl-hash.h uClibc-0.9.32/ldso/include/dl-hash.h
|
|
5 --- uClibc-0.9.32.bak/ldso/include/dl-hash.h 2011-06-08 14:35:20.000000000 -0500
|
|
6 +++ uClibc-0.9.32/ldso/include/dl-hash.h 2011-11-10 17:53:49.148917902 -0600
|
|
7 @@ -111,7 +111,11 @@
|
|
8 ElfW(Addr) relro_addr;
|
|
9 size_t relro_size;
|
|
10
|
|
11 +#ifdef __sparc__
|
|
12 + int st_dev;
|
|
13 +#else
|
|
14 dev_t st_dev; /* device */
|
|
15 +#endif
|
|
16 ino_t st_ino; /* inode */
|
|
17
|
|
18 #ifdef __powerpc__
|