CFI support: lookup by PC and translate into DWARF location per register
[platform/upstream/elfutils.git] / libebl / ChangeLog
1 2009-07-08  Roland McGrath  <roland@redhat.com>
2
3         * ebl-hooks.h: Add abi_cfi hook.
4         * eblopenbackend.c (default_abi_cfi): New function.
5         (fill_defaults): Add initializer.
6         * eblabicfi.c: New file.
7         * Makefile.am (gen_SOURCES): Add it.
8         * libebl.h: Declare ebl_abi_cfi.
9
10 2009-07-08  Ulrich Drepper  <drepper@redhat.com>
11
12         * eblsymbolbindingname.c (ebl_symbol_binding_name): Handle
13         STB_GNU_UNIQUE.
14
15         * eblsymboltypename.c (ebl_symbol_type_name): Only handle STT_GNU_IFUNC
16         if the binary is marked as being for Linux.
17
18 2009-04-01  Roland McGrath  <roland@redhat.com>
19
20         * eblsymboltypename.c (ebl_symbol_type_name): Add STT_GNU_IFUNC.
21
22         * eblauxvinfo.c (AUXV_TYPES): Add RANDOM and BASE_PLATFORM.
23
24 2009-02-01  Ulrich Drepper  <drepper@redhat.com>
25
26         * eblreloctypename.c (ebl_reloc_type_name): Return "<INVALID RELOC>"
27         instead of "???" for invalid relocations.
28
29 2008-08-01  Roland McGrath  <roland@redhat.com>
30
31         * eblcorenotetypename.c: Handle NT_386_IOPERM.
32
33 2008-07-28  Roland McGrath  <roland@redhat.com>
34
35         * eblauxvinfo.c (AUXV_TYPES): Add EXECFN.
36
37         * eblauxvinfo.c (ebl_auxv_info): Handle missing elements of standard
38         table.
39
40 2008-07-04  Roland McGrath  <roland@redhat.com>
41
42         * libebl.h: Declare ebl_syscall_abi.
43         * ebl_syscall_abi.c: New file.
44         * Makefile.am (gen_SOURCES): Add it.
45         * ebl-hooks.h: New hook syscall_abi.
46         * eblopenbackend.c (default_syscall_abi): New function.
47         (fill_defaults): Use it.
48
49 2008-03-31  Roland McGrath  <roland@redhat.com>
50
51         * ebldynamictagname.c (ebl_dynamic_tag_name): Use hex for unknown tag.
52
53         * ebl-hooks.h: Add check_special_section hook.
54         * eblopenbackend.c (fill_defaults): Set new hook to ...
55         (default_check_special_section): ... this, new function.
56         * ebl_check_special_section.c: New file.
57         * Makefile.am (gen_SOURCES): Add it.
58         * libebl.h: Declare it.
59
60 2008-02-20  Roland McGrath  <roland@redhat.com>
61
62         * libebl.h: Declare ebl_check_object_attribute.
63         * eblcheckobjattr.c: New file.
64         * Makefile.am (gen_SOURCES): Add it.
65         * ebl-hooks.h: Add check_object_attribute hook.
66         * eblopenbackend.c (default_check_object_attribute): New function.
67         (fill_defaults): Initialize pointer to it.
68
69 2008-02-19  Roland McGrath  <roland@redhat.com>
70
71         * eblsectiontypename.c (ebl_section_type_name):
72         Handle SHT_GNU_ATTRIBUTES.
73
74 2008-02-08  Roland McGrath  <roland@redhat.com>
75
76         * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_SPE.
77
78 2008-01-30  Roland McGrath  <roland@redhat.com>
79
80         * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_386_TLS.
81
82 2007-10-18  Roland McGrath  <roland@redhat.com>
83
84         * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_VMX.
85
86 2007-10-11  Roland McGrath  <roland@redhat.com>
87
88         * eblobjnote.c (ebl_object_note): Translate target format (byte-swap)
89         for NT_GNU_ABI_TAG contents.
90
91 2007-08-22  Roland McGrath  <roland@redhat.com>
92
93         * libebl.h (Ebl_Core_Item): New member `group'.
94
95 2007-08-19  Roland McGrath  <roland@redhat.com>
96
97         * ebl-hooks.h: Add new hook auxv_info.
98         * eblopenbackend.c (default_auxv_info): New function.
99         (fill_defaults): Initialize auxv_info hook.
100         * eblauxvinfo.c : New file.
101         * Makefile.am (gen_SOURCES): Add it.
102         * libebl.h: Declare ebl_auxv_info.
103
104         * eblcorenote.c: Rewritten with new signature.
105         * Makefile.am (gen_SOURCES): Add it.
106         * libebl.h (Ebl_Register_Location, Ebl_Core_Item): New types.
107         (ebl_core_note_info): Completely revamp signature.
108         * ebl-hooks.h: Update decl.
109         * eblopenbackend.c (default_core_note): Update signature.
110
111 2007-07-09  Roland McGrath  <roland@redhat.com>
112
113         * eblobjnotetypename.c (ebl_object_note_type_name): Handle
114         NT_GNU_HWCAP, NT_GNU_BUILD_ID.
115
116         * eblobjnote.c (ebl_object_note): Handle NT_GNU_BUILD_ID.
117
118 2007-04-22  Roland McGrath  <roland@redhat.com>
119
120         * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PRXFPREG.
121
122 2007-03-10  Roland McGrath  <roland@redhat.com>
123
124         * eblcorenote.c (ebl_core_note): For normally-zero types,
125         print in hex if not zero.
126
127 2007-01-11  Roland McGrath  <roland@redhat.com>
128
129         * ebl-hooks.h (machine_section_flag_check): New hook.
130         * libebl.h: Declare ebl_machine_section_flag_check.
131         * eblmachinesectionflagcheck.c: New file.
132         * Makefile.am (gen_SOURCES): Add it.
133         * eblopenbackend.c (default_machine_section_flag_check): New function.
134         (fill_defaults): Use it.
135
136 2006-09-04  Roland McGrath  <roland@redhat.com>
137
138         * ebl-hooks.h: Replace register_name hook with register_info.
139         Also yield natural bit width and base type encoding.
140         * eblopenbackend.c (default_register_name): Renamed
141         default_register_info, new args added.
142         (fill_defaults): Update initialization.
143         * eblregname.c: File renamed ...
144         * eblreginfo.c: ... to this.
145         (ebl_register_name): Renamed to ebl_register_info, new args added.
146         * libebl.h: Update decl.
147
148         * Makefile.am (gen_SOURCES): Update list.
149
150 2006-07-06  Ulrich Drepper  <drepper@redhat.com>
151
152         * ebldynamictagname.c: Add support for DT_GNU_HASH.
153         * ebldynamictagcheck.c: Likewise.
154         * eblsectiontypename.c: Add support for SHT_GNU_HASH.
155
156 2006-07-05  Ulrich Drepper  <drepper@redhat.com>
157
158         * Makefile.am (gen_SOURCES): Add eblsysvhashentrysize.c.
159         * libeblP.h (struct ebl): Add sysvhash_entrysize element.
160         * eblopenbackend.c (fill_defaults): Initialize sysvhash_entrysize.
161
162         * eblopenbackend.c (openbackend): If possible, fill machine, class,
163         and data values in from the ELF file.
164
165 2006-07-04  Ulrich Drepper  <drepper@redhat.com>
166
167         * Makefile.am (gen_SOURCES): Add eblrelativerelocp.c.
168         * eblrelativerelocp.c: New file.
169         * ebl-hooks.c: Add relative_reloc_p.
170         * eblopenbackend.c (default_relative_reloc_p): New function.
171         (fill_defaults): Hook it up.
172         * libebl.h: Declare ebl_relative_reloc_p.
173
174 2006-06-12  Ulrich Drepper  <drepper@redhat.com>
175
176         * Makefile.am (gen_SOURCES): Add eblnonerelocp.c.
177         * eblnonerelocp.c: New file.
178         * ebl-hooks.c: Add none_reloc_p.
179         * eblopenbackend.c (default_none_reloc_p): New function.
180         (fill_defaults): Hook it up.
181         * libebl.h: Declare ebl_none_reloc_p.
182
183 2006-05-27  Ulrich Drepper  <drepper@redhat.com>
184
185         * libebl.h: Add extern "C".
186
187 2005-11-25  Roland McGrath  <roland@redhat.com>
188
189         * eblregname.c: New file.
190         * Makefile.am (gen_SOURCES): Add it.
191         * ebl-hooks.h: Declare register_name hook.
192         * libebl.h: Declare ebl_register_name.
193         * eblopenbackend.c (default_register_name): New function.
194         (fill_defaults): Use it.
195
196 2005-11-16  Roland McGrath  <roland@redhat.com>
197
198         * libebl.h: Use "" for elf-knowledge.h, not <>.
199
200 2005-11-15  Roland McGrath  <roland@redhat.com>
201
202         * Makefile.am: Removed everything for building libebl_*.so modules,
203         now in ../backends/Makefile.am instead.
204         * alpha_init.c: Moved to ../backends.
205         * alpha_reloc.def: Likewise.
206         * alpha_retval.c: Likewise.
207         * alpha_symbol.c: Likewise.
208         * arm_init.c: Likewise.
209         * arm_reloc.def: Likewise.
210         * arm_symbol.c: Likewise.
211         * common-reloc.c: Likewise.
212         * i386_corenote.c: Likewise.
213         * i386_init.c: Likewise.
214         * i386_reloc.def: Likewise.
215         * i386_retval.c: Likewise.
216         * i386_symbol.c: Likewise.
217         * ia64_init.c: Likewise.
218         * ia64_reloc.def: Likewise.
219         * ia64_symbol.c: Likewise.
220         * libebl_CPU.h: Likewise.
221         * ppc64_init.c: Likewise.
222         * ppc64_reloc.def: Likewise.
223         * ppc64_retval.c: Likewise.
224         * ppc64_symbol.c: Likewise.
225         * ppc_init.c: Likewise.
226         * ppc_reloc.def: Likewise.
227         * ppc_retval.c: Likewise.
228         * ppc_symbol.c: Likewise.
229         * s390_init.c: Likewise.
230         * s390_reloc.def: Likewise.
231         * s390_symbol.c: Likewise.
232         * sh_init.c: Likewise.
233         * sh_reloc.def: Likewise.
234         * sh_symbol.c: Likewise.
235         * sparc_init.c: Likewise.
236         * sparc_reloc.def: Likewise.
237         * sparc_symbol.c: Likewise.
238         * x86_64_corenote.c: Likewise.
239         * x86_64_init.c: Likewise.
240         * x86_64_reloc.def: Likewise.
241         * x86_64_retval.c: Likewise.
242         * x86_64_symbol.c: Likewise.
243
244         * libebl.h: Comment fixes.
245
246         * alpha_retval.c: New file.
247         * Makefile.am (alpha_SRCS): Add it.
248         * alpha_init.c (alpha_init): Initialize return_value_location hook.
249
250         * ppc64_retval.c: New file.
251         * Makefile.am (ppc64_SRCS): Add it.
252         * ppc64_init.c (ppc64_init): Initialize return_value_location hook.
253
254         * ppc_retval.c: New file.
255         * Makefile.am (ppc_SRCS): Add it.
256         * ppc_init.c (ppc_init): Initialize return_value_location hook.
257
258 2005-11-14  Roland McGrath  <roland@redhat.com>
259
260         * ia64_init.c (ia64_init): Initialize EH->reloc_simple_type.
261         * sh_init.c (sh_init): Likewise.
262         * x86_64_init.c (x86_64_init): Likewise.
263
264         * sparc_symbol.c (sparc_reloc_simple_type): New function.
265         * sparc_init.c (sparc_init): Use it.
266
267         * arm_symbol.c (arm_reloc_simple_type): New function.
268         * arm_init.c (arm_init): Use it.
269
270         * alpha_symbol.c (alpha_reloc_simple_type): New function.
271         * alpha_init.c (alpha_init): Use it.
272
273         * ia64_reloc.def: Update bits per H. J. Lu <hjl@lucon.org>.
274
275         * arm_reloc.def: Update bits per Daniel Jacobowitz <drow@false.org>.
276
277         * alpha_reloc.def: Update bits per Richard Henderson <rth@redhat.com>.
278
279 2005-11-13  Roland McGrath  <roland@redhat.com>
280
281         * x86_64_retval.c: New file.
282         * Makefile.am (x86_64_SRCS): Add it.
283         * x86_64_init.c (x86_64_init): Use x86_64_return_value_location.
284
285         * i386_retval.c: New file.
286         * Makefile.am (i386_SRCS): Add it.
287         (libdw): New variable.
288         (libebl_%.so): Use $(libdw) in link; use --as-needed.
289         * i386_init.c (i386_init): Use i386_return_value_location.
290
291         * eblretval.c: New file.
292         * Makefile.am (gen_SOURCES): Add it.
293         (INCLUDES): Search in libdw.
294         * libebl.h: Include <libdw.h>.   Declare ebl_return_value_location.
295         * ebl-hooks.h: Declare return_value_location hook.
296         * eblopenbackend.c (default_return_value_location): New function.
297         (fill_defaults): Use it.
298
299 2005-11-10  Roland McGrath  <roland@redhat.com>
300
301         * s390_init.c: New file.
302         * s390_reloc.def: New file.
303         * s390_symbol.c: New file.
304         * Makefile.am (modules, libebl_pic): Add s390.
305         (s390_SRCS, libebl_s390_pic_a_SOURCES): New variables.
306         (am_libebl_s390_pic_a_OBJECTS): New variable.
307
308         * ppc64_init.c: Use common-reloc.c.
309         * ppc64_symbol.c (ppc64_backend_name): Removed.
310         (ppc64_reloc_type_check, ppc64_reloc_type_name): Likewise.
311         (ppc64_copy_reloc_p, ppc64_reloc_valid_use): Likewise.
312
313         * ppc_init.c: Use common-reloc.c.
314         * ppc_symbol.c (ppc_backend_name): Removed.
315         (ppc_reloc_type_name, ppc_reloc_type_check): Likewise.
316         (ppc_reloc_valid_use, ppc_copy_reloc_p): Likewise.
317
318         * sparc_init.c: Use common-reloc.c.
319         * sparc_symbol.c (sparc_backend_name): Removed.
320         (sparc_reloc_type_name, sparc_reloc_type_check): Likewise.
321         (sparc_copy_reloc_p): Likewise.
322
323         * arm_init.c: Use common-reloc.c.
324         * arm_symbol.c (arm_backend_name): Removed.
325         (arm_reloc_type_name, arm_reloc_type_check, arm_copy_reloc_p): Removed.
326
327         * alpha_init.c: Use common-reloc.c.
328         * alpha_symbol.c (alpha_backend_name): Removed.
329         (alpha_reloc_type_name, alpha_reloc_type_check): Likewise.
330         (alpha_copy_reloc_p): Likewise.
331
332         * ia64_symbol.c (ia64_backend_name): Removed.
333         (ia64_reloc_type_name, ia64_reloc_type_check): Likewise.
334         (ia64_copy_reloc_p): Likewise.
335
336         * x86_64_init.c: Use common-reloc.c.
337         * x86_64_symbol.c (x86_64_backend_name): Removed.
338         (x86_64_copy_reloc_p, x86_64_reloc_valid_use): Likewise.
339         (x86_64_reloc_type_check, x86_64_reloc_type_name): Likewise.
340
341         * sh_init.c: Use common-reloc.c.
342         * sh_symbol.c: All functions removed.
343         (sh_reloc_simple_type): New function.
344         (sh_gotpc_reloc_check): New function.
345
346         * common-reloc.c: New file.
347         * Makefile.am (noinst_HEADERS): Add it.
348         * i386_init.c: Include it.
349
350         * sh_reloc.def: New file.
351         * i386_reloc.def: New file.
352         * alpha_reloc.def: New file.
353         * arm_reloc.def: New file.
354         * i386_reloc.def: New file.
355         * ia64_reloc.def: New file.
356         * ppc64_reloc.def: New file.
357         * ppc_reloc.def: New file.
358         * sh_reloc.def: New file.
359         * sparc_reloc.def: New file.
360         * x86_64_reloc.def: New file.
361         * Makefile.am (EXTRA_DIST): Add $(modules:=_reloc.def).
362
363         * libebl_alpha.map: Removed.
364         * libebl_ia64.map: Removed.
365         * libebl_ppc.map: Removed.
366         * libebl_sparc.map: Removed.
367         * libebl_arm.map: Removed.
368         * libebl_i386.map: Removed.
369         * libebl_ppc64.map: Removed.
370         * libebl_sh.map: Removed.
371         * libebl_x86_64.map: Removed.
372         * Makefile.am (EXTRA_DIST): Remove them.
373         (libebl_%.map, libebl_%.so): New pattern rules.
374
375         * libebl_alpha.h: Removed.
376         * libebl_ia64.h: Removed.
377         * libebl_ppc.h: Removed.
378         * libebl_sparc.h: Removed.
379         * libebl_arm.h: Removed.
380         * libebl_i386.h: Removed.
381         * libebl_ppc64.h: Removed.
382         * libebl_sh.h: Removed.
383         * libebl_x86_64.h: Removed.
384         * Makefile.am (noinst_HEADERS): Remove them.
385
386         * x86_64_corenote.c: Use libebl_CPU.h instead.
387         * x86_64_symbol.c: Likewise.
388         * i386_corenote.c: Likewise.
389
390 2005-11-09  Roland McGrath  <roland@redhat.com>
391
392         * ia64_symbol.c (ia64_reloc_simple_type): New function.
393
394         * ebl-hooks.h (reloc_simple_type): Take the Ebl handle, not Elf handle.
395         * eblrelocsimpletype.c (ebl_reloc_simple_type): Update caller.
396         * eblopenbackend.c (default_reloc_simple_type): Update signature.
397         * i386_symbol.c (i386_reloc_simple_type): Likewise.
398         * ppc64_symbol.c (ppc64_reloc_simple_type): Likewise.
399         * ppc_symbol.c (ppc_reloc_simple_type): Likewise.
400         * x86_64_symbol.c (x86_64_reloc_simple_type): Likewise.
401
402         * i386_symbol.c (i386_backend_name): Removed.
403         (i386_reloc_type_name, i386_reloc_type_check): Likewise.
404         (i386_reloc_valid_use): Removed.
405         (i386_copy_reloc_p): Removed.
406
407         * alpha_destr.c: Removed.
408         * arm_destr.c: Removed.
409         * i386_destr.c: Removed.
410         * ia64_destr.c: Removed.
411         * ppc64_destr.c: Removed.
412         * ppc_destr.c: Removed.
413         * sh_destr.c: Removed.
414         * sparc_destr.c: Removed.
415         * x86_64_destr.c: Removed.
416
417         * ebl-hooks.h: New file, broken out of ...
418         * libeblP.h (struct ebl): ... here.  #include that for hook
419         declarations, after defining EBLHOOK macro.
420         * libebl_CPU.h: New file.
421         * Makefile.am (noinst_HEADERS): Add them.
422
423         * libeblP.h (struct ebl): Use uint_fast16_t for machine,
424         and uint_fast8_t for class and data.
425
426 2005-08-14  Roland McGrath  <roland@redhat.com>
427
428         * ia64_symbol.c (ia64_section_type_name): New function.
429         (ia64_dynamic_tag_check): New function.
430         (ia64_reloc_valid_use): New function.
431         * libebl_ia64.h: Declare them.
432         * ia64_init.c (ia64_init): Use them.
433         * Makefile.am (libebl_ia64.so): Link with libelf.
434
435 2005-08-28  Ulrich Drepper  <drepper@redhat.com>
436
437         * Makefile.am: Use $(LINK) not $(CC) when creating DSOs.
438
439 2005-08-13  Roland McGrath  <roland@redhat.com>
440
441         * ia64_symbol.c (ia64_machine_flag_check): New function.
442         * libebl_ia64.h: Declare it.
443         * ia64_init.c (ia64_init): Use it.
444
445 2005-08-13  Ulrich Drepper  <drepper@redhat.com>
446
447         * libebl.h: Add ehdr parameter to ebl_bss_plt_p and
448         ebl_check_special_symbol.
449         * libeblP.h (struct ebl): Adjust callback functions.
450         * eblopenbackend.c: Adjust dummy functions.
451         * ebl_check_special_symbol.c: Add parameter and pass it on.
452         * eblbsspltp.c: Likewise.
453         * ppc_symbol.c (find_dyn_got): With ehdr passed, simplify search for
454         the dynamic section entry.
455         (ppc_check_special_symbol): Add ehdr parameter.
456         (ppc_bss_plt_p): Likewise.
457         * libebl_ppc.h: Adjust prototypes.
458         * ppc64_symbol.c (ppc_check_special_symbol): Add ehdr parameter.
459         (ppc_bss_plt_p): Likewise.
460         * libebl_ppc64.h: Adjust prototypes.
461
462 2005-08-12  Roland McGrath  <roland@redhat.com>
463
464         * ppc_symbol.c (find_dyn_got): New function, broken out of ...
465         (ppc_bss_plt_p): ... here.  Call that.
466         (ppc_check_special_symbol): Use find_dyn_got to fetch value to check
467         against _GLOBAL_OFFSET_TABLE_.
468
469         * libeblP.h (struct ebl): Add bss_plt_p hook.
470         * eblopenbackend.c (default_bss_plt_p): New function.
471         (fill_defaults): Use it.
472         * eblbsspltp.c: New file.
473         * Makefile.am (gen_SOURCES): Add it.
474         * libebl.h: Declare ebl_bss_plt_p.
475         * ppc_symbol.c (ppc_bss_plt_p): New function.
476         * libebl_ppc.h: Declare it.
477         * ppc_init.c (ppc_init): Use it.
478         * ppc64_symbol.c (ppc64_bss_plt_p): New function.
479         * libebl_ppc64.h: Declare it.
480         * ppc64_init.c (ppc64_init): Use it.
481
482         * ebl_check_special_symbol.c: New file.
483         * Makefile.am (gen_SOURCES): Add it.
484         * libebl.h: Declare ebl_check_special_symbol.
485         * libeblP.h (struct ebl): Add check_special_symbol hook.
486         * eblopenbackend.c (default_check_special_symbol): New function.
487         (fill_defaults): Use it.
488         * ppc_symbol.c (ppc_check_special_symbol): New function.
489         * libebl_ppc.h: Add prototype.
490         * ppc_init.c (ppc_init): Use it.
491         * ppc64_symbol.c (ppc64_check_special_symbol): New function.
492         * libebl_ppc64.h: Add prototype.
493         * ppc64_init.c (ppc64_init): Use it.
494
495 2005-08-07  Ulrich Drepper  <drepper@redhat.com>
496
497         * ppc_init.c: Add support for new DT_PPC_* and R_PPC_* values.
498         * ppc_symbol.c: Likewise.
499         * libebl_ppc.h: Likewise.
500         * ppc64_init.c: There is now also a dynamic_tag_check functions
501         * ppc64_symbol.c: Add dynamic_tag_check.
502         * libebl_ppc64.h: Add prototype.
503         * alpha_init.c: Add support for new DT_ALPHA_* value.
504         * alpha_symbol.c: Likewise.
505         * libebl_alpha.h: Likewise.
506
507 2005-08-03  Ulrich Drepper  <drepper@redhat.com>
508
509         * libebl_alpha.map: Remove unnecessary exports.
510         * libebl_arm.map: Likewise.
511         * libebl_i386.map: Likewise.
512         * libebl_ia64.map: Likewise.
513         * libebl_ppc.map: Likewise.
514         * libebl_ppc64.map: Likewise.
515         * libebl_sh.map: Likewise.
516         * libebl_sparc.map: Likewise.
517         * libebl_x86_64.map: Likewise.
518
519 2005-08-02  Ulrich Drepper  <drepper@redhat.com>
520
521         * Makefile.am (libebl_a_SOURCES): Add eblelfclass.c, eblelfdata.c,
522         and eblelfmachine.c.
523         * elbopenbackend.c (machines): Add class and data fields.  Initialize
524         them.
525         (ebl_openbackend): Initialize machine, class, data fields in result.
526         * libebl.h: Declare Add eblelfclass, eblelfdata, and eblelfmachine.
527         * libeblP.h (Ebl): Add machine, class, data fields.
528
529 2005-07-23  Ulrich Drepper  <drepper@redhat.com>
530
531         * eblsectionstripp.c: New file.
532         * Makefile.am (gen_SOURCES): Add eblsectionstripp.c.
533         * i386_init.c (i386_init): Install specific debugscn_p callback.
534         * i386_symbol.c (i386_debugscn_p): New function.
535         * libebl.h: Declare ebl_section_strip_p.
536         * libebl_i386.h: Declare i386_debugscn_p.
537
538         * libebl.h: Move Ebl definition to...
539         * libeblP.h: ...here.
540
541 2005-07-21  Roland McGrath  <roland@redhat.com>
542
543         * Makefile.am (install-ebl-modules): New target, commands from ...
544         (install): ... here.  Make this depend on it.
545         (LIBEBL_SUBDIR): New variable, substituted by configure.
546         (install-ebl-modules): Install in $(libdir)/$(LIBEBL_SUBDIR).
547         * eblopenbackend.c (openbackend): Use LIBEBL_SUBDIR in module name.
548
549 2005-07-21  Ulrich Drepper  <drepper@redhat.com>
550
551         * eblcopyrelocp.c: New file.
552         * Makefile.am (gen_SOURCES): Add eblcopyrelocp.c.
553         * libebl.h: Declare ebl_copy_reloc_p.
554         * eblopenbackend.c (fill_defaults): Fill in copy_reloc_p.
555         (default_copy_reloc_p): New function.
556         * alpha_init.c: Define and use arch-specific copy_reloc_p function.
557         * alpha_symbol.c: Likewise.
558         * arm_init.c: Likewise.
559         * arm_symbol.c: Likewise.
560         * i386_init.c: Likewise.
561         * i386_symbol.c: Likewise.
562         * ia64_init.c: Likewise.
563         * ia64_symbol.c: Likewise.
564         * ppc64_init.c: Likewise.
565         * ppc64_symbol.c: Likewise.
566         * ppc_init.c: Likewise.
567         * ppc_symbol.c: Likewise.
568         * sh_init.c: Likewise.
569         * sh_symbol.c: Likewise.
570         * sparc_init.c: Likewise.
571         * sparc_symbol.c: Likewise.
572         * x86_64_init.c: Likewise.
573         * x86_64_symbol.c: Likewise.
574         * libebl_alpha.h: Declare the copy_reloc_p function.
575         * libebl_arm.h: Likewise.
576         * libebl_i386.h: Likewise.
577         * libebl_ia64.h: Likewise.
578         * libebl_ppc.h: Likewise.
579         * libebl_ppc64.h: Likewise.
580         * libebl_sh.h: Likewise.
581         * libebl_sparc.h: Likewise.
582         * libebl_x86_64.h: Likewise.
583
584 2005-05-31  Roland McGrath  <roland@redhat.com>
585
586         * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
587         tracking works right.
588
589 2005-05-21  Ulrich Drepper  <drepper@redhat.com>
590
591         * libebl_x86_64.map: Add x86_64_core_note.
592
593 2005-05-19  Roland McGrath  <roland@redhat.com>
594
595         * libebl_i386.map: Add i386_reloc_valid_use, i386_reloc_simple_type.
596         * libebl_ppc.map: Add ppc_reloc_simple_type.
597         * libebl_ppc64.map: Add ppc64_reloc_simple_type.
598         * libebl_x86_64.map: Add x86_64_reloc_simple_type.
599
600 2005-05-11  Ulrich Drepper  <drepper@redhat.com>
601
602         * eblcorenote.c: Handle new AT_* values and files with different
603         endianess.
604         * Makefile.am (x86_64_SRCS): Add x86_64_corenote.c.
605         * x86-64_corenote.c: New file.
606         * x86_64_init.c: Hook in x86_64_corenote.
607         * i386_corenote.c: Make file usable on 64-bit platforms.
608
609         * eblopenbackend.c: If modules version comparison fails, reinitialize
610         hooks.
611
612 2005-05-10  Ulrich Drepper  <drepper@redhat.com>
613
614         * eblopenbackend.c: Require the init function to return a string.
615         Compare it with MODVERSION from config.h.
616         * alpha_init.c: Change return type.  Return MODVERSION or NULL.
617         * arm_init.c: Likewise.
618         * eblopenbackend.c: Likewise.
619         * i386_init.c: Likewise.
620         * ia64_init.c: Likewise.
621         * ppc64_init.c: Likewise.
622         * ppc_init.c: Likewise.
623         * sh_init.c: Likewise.
624         * sparc_init.c: Likewise.
625         * x86_64_init.c: Likewise.
626         * libeblP.h: Adjust ebl_bhinit_t.
627         * libebl_alpha.h: Adjust init function prototype.
628         * libebl_arm.h: Likewise.
629         * libebl_i386.h: Likewise.
630         * libebl_ia64.h: Likewise.
631         * libebl_ppc.h: Likewise.
632         * libebl_ppc64.h: Likewise.
633         * libebl_sh.h: Likewise.
634         * libebl_sparc.h: Likewise.
635         * libebl_x86_64.h: Likewise.
636
637         * mips_destr.c: Removed.
638         * mips_init.c: Removed.
639         * mips_symbol.c: Removed.
640         * libebl_mips.h: Removed.
641         * libebl_mips.map: Removed.
642
643 2005-05-03  Roland McGrath  <roland@redhat.com>
644
645         * libebl.h (Ebl): Add `reloc_simple_type' member.
646         * eblopenbackend.c (default_reloc_simple_type): New function.
647         (openbackend): Use that as default reloc_simple_type callback.
648         * eblrelocsimpletype.c: New file.
649         * Makefile.am (gen_SOURCES): Add it.
650         * i386_symbol.c (i386_reloc_simple_type): New function.
651         * libebl_i386.h: Declare it.
652         * i386_init.c (i386_init): Use it.
653         * x86_64_symbol.c (x86_64_reloc_simple_type): New function.
654         * libebl_x86_64.h: Declare it.
655         * x86_64_init.c (x86_64_init): Use it.
656         * ppc_symbol.c (ppc_reloc_simple_type): New function.
657         * libebl_ppc.h: Declare it.
658         * ppc_init.c (ppc_init): Use it.
659         * ppc64_symbol.c (ppc64_reloc_simple_type): New function.
660         * libebl_ppc64.h: Declare it.
661         * ppc64_init.c (ppc64_init): Use it.
662
663 2005-03-17  Ulrich Drepper  <drepper@redhat.com>
664
665         * eblcorenote.c (ebl_core_note): Add support for AT_SECURE.
666
667 2005-02-15  Ulrich Drepper  <drepper@redhat.com>
668
669         * Makefile.am (AM_CFLAGS): Add -Wformat=2.
670
671 2005-02-14  Ulrich Drepper  <drepper@redhat.com>
672
673         * alpha_destr.c: Add __attribute__((unused)) where needed.
674         * alpha_init.c: Likewise.
675         * alpha_symbol.c: Likewise.
676         * arm_destr.c: Likewise.
677         * arm_init.c: Likewise.
678         * arm_symbol.c: Likewise.
679         * i386_corenote.c: Likewise.
680         * i386_destr.c: Likewise.
681         * i386_init.c: Likewise.
682         * i386_symbol.c: Likewise.
683         * ia64_destr.c: Likewise.
684         * ia64_init.c: Likewise.
685         * ia64_symbol.c: Likewise.
686         * mips_destr.c: Likewise.
687         * mips_init.c: Likewise.
688         * mips_symbol.c: Likewise.
689         * ppc64_destr.c: Likewise.
690         * ppc64_init.c: Likewise.
691         * ppc64_symbol.c: Likewise.
692         * ppc_destr.c: Likewise.
693         * ppc_init.c: Likewise.
694         * ppc_symbol.c: Likewise.
695         * sh_destr.c: Likewise.
696         * sh_init.c: Likewise.
697         * sh_symbol.c: Likewise.
698         * sparc_destr.c: Likewise.
699         * sparc_init.c: Likewise.
700         * sparc_symbol.c: Likewise.
701         * x86_64_destr.c: Likewise.
702         * x86_64_init.c: Likewise.
703         * x86_64_symbol.c: Likewise.
704
705         * x86_64_symbol.c (reloc_map_table): Fix entries for R_X86_64_64
706         and R_X86_64_32..
707
708 2005-02-06  Ulrich Drepper  <drepper@redhat.com>
709
710         * eblstrtab.c: A few cleanups.
711
712         * eblopenbackend.c: Mark unused parameters.
713
714         * eblgstrtab.c: Cleanups a few printf format strings.
715
716         * Makefile.am: Cleanup AM_CFLAGS handling.  Add -Wunused -Wextra.
717
718 2005-02-05  Ulrich Drepper  <drepper@redhat.com>
719
720         * Makefile.am: Check for text relocations in constructed DSOs.
721
722         * eblstrtab.c: Minor cleanups.
723
724         * Makefile.am (AM_CFLAGS): Add -std=gnu99 and -fmudflap for MUDFLAP.
725
726 2004-08-16  Ulrich Drepper  <drepper@redhat.com>
727
728         * Makefile.am (AM_CFLAGS): Add LIBSTR definition with base name of
729         the lib directory.
730         * eblopenbackend.c (openbackend): Use LIBSTR instead of hardcoded
731         lib in path to ebl modules.
732
733 2004-04-01  Ulrich Drepper  <drepper@redhat.com>
734
735         * Makefile.am: Add rules for ppc and ppc64 ebl module.
736         * ppc_init..c: New file.
737         * ppc_destr.c: New file.
738         * ppc_symbol.c: New file.
739         * libebl_ppc.h: New file.
740         * libebl_ppc.map: New file.
741         * ppc64_init..c: New file.
742         * ppc64_destr.c: New file.
743         * ppc64_symbol.c: New file.
744         * libebl_ppc64.h: New file.
745         * libebl_ppc64.map: New file.
746
747 2004-01-20  Ulrich Drepper  <drepper@redhat.com>
748
749         * Makefile.am: Support building with mudflap.
750
751 2004-01-18  Ulrich Drepper  <drepper@redhat.com>
752
753         * libeblP.h (_): Use elfutils domain.
754
755 2004-01-16  Ulrich Drepper  <drepper@redhat.com>
756
757         * eblsectionname.c: Add support for SHN_BEFORE and SHN_AFTER.
758
759 2004-01-13  Ulrich Drepper  <drepper@redhat.com>
760
761         * eblsegmenttypename.c ((ebl_segment_type_name): Add support for
762         PT_GNU_RELRO.
763
764 2004-01-08  Ulrich Drepper  <drepper@redhat.com>
765
766         * libebl.h: Remove last traces of libtool.
767
768 2004-01-05  Ulrich Drepper  <drepper@redhat.com>
769
770         * elf-knowledge.h: Move to libelf subdir.
771
772         * Makefile.am (EXTRA_DIST): Remove libebl.map.
773         * libebl.map: Removed.
774
775 2003-12-08  Ulrich Drepper  <drepper@redhat.com>
776
777         * eblsectiontypename.c (ebl_section_type_name): Add support for
778         SHT_SUNW_move, SHT_CHECKSUM, and SHT_GNU_LIBLIST.
779
780 2003-11-19  Ulrich Drepper  <drepper@redhat.com>
781
782         * ia64_symbol.c (ia64_dynamic_tag_name): New function.
783         * libebl_ia64.h (ia64_dynamic_tag_name): Declare.
784         * ia64_init.c (ia64_init): Register i164_dynamic_tag_name.
785
786 2003-09-24  Ulrich Drepper  <drepper@redhat.com>
787
788         * ia64_init.c (ia64_init): Initialize segment_type_name callback.
789         * ia64_symbol.c (ia64_segment_type_name): Define.
790         * libebl_ia64.h (ia64_segment_type_name): Declare.
791
792 2003-09-22  Ulrich Drepper  <drepper@redhat.com>
793
794         * Makefile.am (AM_CFLAGS): Add -fpic.
795
796 2003-08-14  Ulrich Drepper  <drepper@redhat.com>
797
798         * Makefile.am (install): Remove dependency on libebl.so.
799
800 2003-08-13  Ulrich Drepper  <drepper@redhat.com>
801
802         * eblopenbackend.c: Adjust relative path to arch-specific DSOs
803         assuming the code ends up in the application.  Add second dlopen()
804         try without any path, just the filename.
805         * Makefile.in: Remove rules to build and install libebl.so.
806
807 2003-08-11  Ulrich Drepper  <drepper@redhat.com>
808
809         * Moved to CVS archive.