1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
|
---------------------
PatchSet 2849
Date: 2003/11/08 07:42:34
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Joakim Tjernlund writes:
> Very interesting. Do you have any suggestions for how
> we could fix our powerpc shared library loader
Removing those instr. comes with a very big performance
penalty. To flush the dcache you will have read up to 8KB
dummy data and to invalidate the icache you will have to
execute up to 16KB nops. I don't know of any other way from
user space.
hmm, actually I think it will work reliable to perform a
store to the same page(s) as the dcbst/icbi will act on. That
way you will make the DTLB Error happen(if any) prior to the
dcbst/icbi. The worst thing that can happen then is a regular
DTLB Miss and that works for dcbst/icbi.
You will have to lookout for if dcbst/icbi crosses a page
boundary. Then you will have to perform a store to both
pages.
Jocke
# And again later writes:
Hi again
I think I know what the problem is. The
PPC_DCBST;PPC_SYNC;PPC_ICBI;PPC_ISYNC sequence is executed
even if no modification has been done i some cases:
_dl_linux_resolver(), the last else has no store for insns[0].
these is a insns[1] = OPCODE_B(delta - 4) that
does not have a PPC_DCBST.
_dl_do_lazy_reloc(), for R_PPC_NONE there is no store.
for R_PPC_JMP_SLOT there is a
insns[1] = OPCODE_B(delta)that does not
have a PPC_DCBST.
_dl_do_reloc(), for R_PPC_COPY there is no store.
for R_PPC_JMP_SLOT there is a
reloc_addr[1] = OPCODE_B(delta) that does not
have a PPC_DCBST.
_dl_init_got(), I THINK that the
PPC_DCBST(plt);
PPC_DCBST(plt+4);
PPC_DCBST(plt+8);
PPC_SYNC;
PPC_ICBI(plt);
PPC_ICBI(plt+4);
PPC_ICBI(plt+8);
PPC_ISYNC;
is off a bit. The address range does not match the sum
of the plt[] and tramp[] address range.
Jocke
# And then later added the comment:
I think that the tramp[] part should be included in the
PPC_DCBST/PPC_ICBI sequence. Then you have to add entries for
plt+12 and plt+16. If the tramp[] part should be excluded,
then all is well.
Jocke
Members:
ldso/ldso/powerpc/elfinterp.c:1.24->1.25
---------------------
PatchSet 2850
Date: 2003/11/08 08:06:38
Author: andersen
Branch: HEAD
Tag: (none)
Log:
For now, disable the iconv utility
Members:
Makefile:1.235->1.236
libc/misc/wchar/Makefile:1.7->1.8
---------------------
PatchSet 2851
Date: 2003/11/08 08:09:02
Author: andersen
Branch: HEAD
Tag: (none)
Log:
kill mention of the wrapper
Members:
libc/sysdeps/linux/i960/README:1.2->1.3
---------------------
PatchSet 2852
Date: 2003/11/08 08:48:31
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Update docs in preparation for release
Members:
Changelog:1.20->1.21
Changelog.full:1.14->1.15
INSTALL:1.4->1.5
README:1.18->1.19
docs/Glibc_vs_uClibc_Differences.txt:1.13->1.14
docs/uClibc_vs_SuSv3.txt:1.3->1.4
docs/uclibc.org/index.html:1.74->1.75
docs/uclibc.org/old-news.html:1.15->1.16
docs/uclibc.org/uClibc-apps.html:1.23->1.24
---------------------
PatchSet 2853
Date: 2003/11/08 08:58:06
Author: andersen
Branch: HEAD
Tag: uClibc_0_9_22
Log:
hide the wrapper in with the debian stuff
Members:
debian/gcc-uClibc/.cvsignore:INITIAL->1.1
debian/gcc-uClibc/Makefile:INITIAL->1.1
debian/gcc-uClibc/gcc-uClibc.c:INITIAL->1.1
---------------------
PatchSet 2854
Date: 2003/11/08 20:33:49
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Joakim Tjernlund writes:
Oops, found another ppc 8xx bug.
8xx CPUs may need this as well to work:
Members:
ldso/ldso/powerpc/ld_sysdep.h:1.4->1.5
---------------------
PatchSet 2855
Date: 2003/11/08 20:41:24
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Sigh. I can't type this morning.
Members:
ldso/ldso/powerpc/ld_sysdep.h:1.5->1.6
---------------------
PatchSet 2856
Date: 2003/11/08 21:21:09
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Darn. Fix compilation for soft-float, which I inadvertantly
broke a couple of days ago. :-(
Members:
libc/sysdeps/linux/alpha/Makefile:1.9->1.10
libc/sysdeps/linux/arm/Makefile:1.49->1.50
libc/sysdeps/linux/cris/Makefile:1.10->1.11
libc/sysdeps/linux/e1/Makefile:1.4->1.5
libc/sysdeps/linux/h8300/Makefile:1.9->1.10
libc/sysdeps/linux/i386/Makefile:1.62->1.63
libc/sysdeps/linux/i960/Makefile:1.6->1.7
libc/sysdeps/linux/m68k/Makefile:1.30->1.31
libc/sysdeps/linux/microblaze/Makefile:1.3->1.4
libc/sysdeps/linux/mips/Makefile:1.33->1.34
libc/sysdeps/linux/powerpc/Makefile:1.26->1.27
libc/sysdeps/linux/sh/Makefile:1.27->1.28
libc/sysdeps/linux/sh64/Makefile:1.3->1.4
libc/sysdeps/linux/sparc/Makefile:1.17->1.18
libc/sysdeps/linux/v850/Makefile:1.16->1.17
---------------------
PatchSet 2857
Date: 2003/11/10 18:42:30
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Strip off quotes from TARGET_ARCH
Members:
Rules.mak:1.152->1.153
---------------------
PatchSet 2858
Date: 2003/11/11 08:59:53
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Another cleanup patch from Joakim Tjernlund:
Hi again
Back at work. Here is a patch that fixes the 2 errors I found yesterday.
I have excluded the "data_words[index]" part for now.
Members:
ldso/ldso/powerpc/elfinterp.c:1.25->1.26
---------------------
PatchSet 2859
Date: 2003/11/11 20:49:46
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Stefan Allius writes:
Hello Erik,
to compile the new uClibc release for a SH3 we need some little
modifications:
First I fix the crt[in].S files, so we can use them for big endian and
little endian targets.
Members:
libc/sysdeps/linux/sh/crti.S:1.3->1.4
libc/sysdeps/linux/sh/crtn.S:1.3->1.4
---------------------
PatchSet 2860
Date: 2003/11/11 20:52:14
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Stefan Allius writes:
Another little patch fix the configuration for the SH3 targets. The SH3 has
no FPU, but our ldso runs fine on a SH3 target. (I think the
ldso should also run on a SH2 target, so you might want to enable the ldso
for SH2 targets too. But I can't test it, since I have no such a system) :
Members:
extra/Configs/Config.sh:1.39->1.40
---------------------
PatchSet 2861
Date: 2003/11/11 21:50:11
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Joakim Tjernlund writes:
Comparing glibc with uClibc makes me think that the delta calculations are
wrong here. Comparing some more I still think there are a
data_words[index] assignments missing. Here is a path that has both the
data_words[index] and the above delta calclations.
This also fixes a terribly obvious bug, also spotted by Joakim, which Erik
introduced when he copied things from the i386 ldso code.
With this patch applied, things now seem to be working perfectly!
Members:
ldso/ldso/powerpc/elfinterp.c:1.26->1.27
---------------------
PatchSet 2862
Date: 2003/11/11 22:54:43
Author: mjn3
Branch: HEAD
Tag: (none)
Log:
Protect some header inclusions.
Members:
libc/sysdeps/linux/common/bits/uClibc_locale.h:1.10->1.11
---------------------
PatchSet 2863
Date: 2003/11/11 23:40:10
Author: andersen
Branch: HEAD
Tag: (none)
Log:
It seems that the powerpc ldso doesn't like -O0
Members:
ldso/ldso/Makefile:1.48->1.49
---------------------
PatchSet 2864
Date: 2003/11/11 23:44:13
Author: mjn3
Branch: HEAD
Tag: (none)
Log:
Fix for the last "fix".
Members:
libc/sysdeps/linux/common/bits/uClibc_locale.h:1.11->1.12
---------------------
PatchSet 2865
Date: 2003/11/12 08:21:58
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Fix a stupid potential segfault
Members:
utils/ldd.c:1.1->1.2
---------------------
PatchSet 2866
Date: 2003/11/12 10:19:32
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Bump version number
Members:
Rules.mak:1.153->1.154
---------------------
PatchSet 2867
Date: 2003/11/12 10:50:18
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Revert the stupid quoting junk I inadvertantly committed
Members:
Rules.mak:1.154->1.155
---------------------
PatchSet 2868
Date: 2003/11/12 20:50:02
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Add support for missing ntp_gettime and ntp_adjtime
Members:
libc/sysdeps/linux/common/Makefile:1.93->1.94
libc/sysdeps/linux/common/ntp_gettime.c:INITIAL->1.1
libc/sysdeps/linux/common/syscalls.c:1.119->1.120
---------------------
PatchSet 2869
Date: 2003/11/13 09:04:21
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Teach the install_dev target to behave itself and install
the correct stuff with the correct names, and not install
yet another set of shared libs in the wrong place
-Erik
Members:
Makefile:1.236->1.237
---------------------
PatchSet 2870
Date: 2003/11/13 09:16:37
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Kill off these headers, which are supposed to be part of binutils-dev,
not part of uClibc.
Members:
include/ansidecl.h:1.1->1.2(DEAD)
include/symcat.h:1.1->1.2(DEAD)
---------------------
PatchSet 2871
Date: 2003/11/13 10:18:58
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Update the debian packaging for use in a standalone uClibc
system, rather than being a subordinate lib under a glibc
based system.
-Erik
Members:
debian/README.Debian:1.5->1.6(DEAD)
debian/changelog:1.16->1.17
debian/config:1.1->1.2
debian/control:1.15->1.16
debian/control.in:1.12->1.13(DEAD)
debian/copyright:1.3->1.4
debian/docs:1.3->1.4
debian/fixlinks:1.2->1.3(DEAD)
debian/ldconfig.1:INITIAL->1.1
debian/ldd.1:INITIAL->1.1
debian/libuclibc-dev.files:1.1->1.2(DEAD)
debian/libuclibc0.files:1.1->1.2(DEAD)
debian/libuclibc0.postinst:1.2->1.3(DEAD)
debian/libuclibc0.shlibs:1.5->1.6(DEAD)
debian/mksnapshot:1.13->1.14(DEAD)
debian/rules:1.26->1.27
debian/uclibc-dev.files:INITIAL->1.1
debian/uclibc-gcc.1:1.1->1.2(DEAD)
debian/uclibc-gcc.dirs:1.1->1.2(DEAD)
debian/uclibc-ldconfig.1:1.1->1.2(DEAD)
debian/uclibc-ldd.1:1.2->1.3(DEAD)
debian/uclibc-readelf.1:1.1->1.2(DEAD)
debian/uclibc-toolchain.files:1.1->1.2(DEAD)
debian/uclibc.files:INITIAL->1.1
debian/uclibc.postinst:INITIAL->1.1
debian/uclibc.shlibs:INITIAL->1.1
debian/gcc-uClibc/.cvsignore:1.1->1.2(DEAD)
debian/gcc-uClibc/Makefile:1.1->1.2(DEAD)
debian/gcc-uClibc/gcc-uClibc.c:1.1->1.2(DEAD)
---------------------
PatchSet 2872
Date: 2003/11/13 12:30:10
Author: andersen
Branch: HEAD
Tag: (none)
Log:
Joakim Tjernlund writes:
I think I messed up a little in my latest patch to Erik. Can you try
this on top of CVS(which I think you have already)
Jocke
And later writes:
Hi Erik
I just saw something that might be a problem.
The "delta" variable is signed and
the "delta" calculations, such as delta = PLT_LONGBRANCH_ENTRY_WORDS*4 - (insn_addr-plt_addr+4),
are supposed to be unsigned.
Jocke
Members:
ldso/ldso/powerpc/elfinterp.c:1.27->1.28
|