]>
Commit | Line | Data |
---|---|---|
7d783152 JB |
1 | --- uClibc-0.9.28/ldso/ldso/sparc/elfinterp.c.orig 2005-08-18 00:49:41.000000000 +0200 |
2 | +++ uClibc-0.9.28/ldso/ldso/sparc/elfinterp.c 2005-08-28 00:19:02.940783736 +0200 | |
3 | @@ -81,7 +81,7 @@ | |
5f136705 JB |
4 | |
5 | ||
6 | if (unlikely(reloc_type != R_SPARC_JMP_SLOT)) { | |
7 | - _dl_dprintf(2, "%s: incorrect relocation type in jump relocations (%d)\n", | |
8 | + _dl_dprintf(2, "%s: incorrect relocation type in jump relocations (%x)\n", | |
9 | _dl_progname, reloc_type); | |
10 | _dl_exit(30); | |
11 | }; | |
7d783152 | 12 | @@ -128,8 +128,10 @@ |
89c106d0 JB |
13 | got_addr[2] = (char *) (0x81c06000 | ((unsigned int) new_addr & 0x3ff)); |
14 | #endif | |
15 | ||
16 | +#if defined (__SUPPORT_LD_DEBUG__) | |
7d783152 | 17 | + if (_dl_debug_bindings) |
89c106d0 JB |
18 | _dl_dprintf(2, "Address = %x\n",new_addr); |
19 | - _dl_exit(32); | |
20 | +#endif | |
21 | ||
22 | return (unsigned int) new_addr; | |
23 | } | |
7d783152 JB |
24 | --- uClibc-0.9.28/ldso/ldso/ldso.c.orig 2005-08-18 00:49:41.000000000 +0200 |
25 | +++ uClibc-0.9.28/ldso/ldso/ldso.c 2005-08-28 00:19:31.295473168 +0200 | |
26 | @@ -597,7 +597,7 @@ | |
27 | for (; runp; runp = runp->next) { | |
28 | if (runp->tpnt == tcurr) { | |
5f136705 | 29 | struct elf_resolve *here = init_fini_list[k]; |
7d783152 JB |
30 | - _dl_if_debug_dprint("Move %s from pos %d to %d in INIT/FINI list\n", here->libname, k, j); |
31 | + _dl_if_debug_dprint("Move %s from pos %x to %x in INIT/FINI list\n", here->libname, k, j); | |
5f136705 JB |
32 | for (i = (k - j); i; --i) |
33 | init_fini_list[i+j] = init_fini_list[i+j-1]; | |
7d783152 JB |
34 | init_fini_list[j] = here; |
35 | @@ -837,7 +837,7 @@ | |
36 | void *retval; | |
5f136705 JB |
37 | |
38 | #if 0 | |
7d783152 JB |
39 | - _dl_debug_early("request for %d bytes\n", size); |
40 | + _dl_debug_early("request for %x bytes\n", size); | |
5f136705 JB |
41 | #endif |
42 | ||
7d783152 JB |
43 | if (_dl_malloc_function) |
44 | --- uClibc-0.9.28/ldso/ldso/dl-elf.c.orig 2005-08-18 00:49:41.000000000 +0200 | |
45 | +++ uClibc-0.9.28/ldso/ldso/dl-elf.c 2005-08-28 00:20:16.525597144 +0200 | |
46 | @@ -813,7 +813,8 @@ | |
5f136705 JB |
47 | else |
48 | _dl_write(fd, string, _dl_strlen(string)); | |
49 | break; | |
50 | - | |
51 | +#ifndef __sparc__ | |
7d783152 | 52 | + /* _dl_simple_ltoa() uses undefined .udiv */ |
5f136705 JB |
53 | case 'i': |
54 | case 'd': | |
55 | { | |
7d783152 | 56 | @@ -824,6 +825,7 @@ |
5f136705 JB |
57 | _dl_write(fd, string, _dl_strlen(string)); |
58 | break; | |
59 | } | |
60 | +#endif | |
61 | case 'x': | |
62 | case 'X': | |
63 | { |