libdwelf: Add dwelf_elf_e_machine_string and use it in readelf.
[platform/upstream/elfutils.git] / libebl / ChangeLog
1 2019-06-28  Mark Wielaard  <mark@klomp.org>
2
3         * eblopenbackend.c (try_dlopen): Remove result->name check.
4         (openbackend): Remove result->name assignment.
5         (struct ebl): Remove name.
6
7 2019-05-30  Mark Wielaard  <mark@klomp.org>
8
9         * eblopenbackend.c (try_dlopen): New function extracted from
10         openbackend.
11         (openbackend): Replace ORIGINDIR define with BINORIGINDIR and
12         LIBORIGINDIR defines. Use tryopen to open backend in bin origin
13         path, lib origin path and without an explicit path.
14
15 2019-04-28  Mark Wielaard  <mark@klomp.org>
16
17         * eblsymbolbindingname.c (ebl_symbol_binding_name): Check ebl is
18         not NULL for STB_GNU_UNIQUE.
19         * eblsymboltypename.c (ebl_symbol_type_name): Check ebl is not
20         NULL for STT_GNU_IFUNC.
21
22 2019-01-29  Mark Wielaard  <mark@klomp.org>
23
24         * eblobjnote.c (ebl_object_note): Check pr_datasz padding doesn't
25         overflow descsz.
26
27 2019-01-16  Mark Wielaard  <mark@klomp.org>
28
29         * libebl.h (ebl_core_note): Add desc as argument.
30         * eblcorenote.c (ebl_core_note): Take desc as an argument, check
31         it contains a zero terminated string if it is an NT_PLATFORM note.
32
33 2019-01-16  Mark Wielaard  <mark@klomp.org>
34
35         * eblobjnte.c (ebl_object_note): Check pr_datasz isn't too large.
36
37 2018-12-02  Mark Wielaard  <mark@klomp.org>
38
39         * eblobjnte.c (ebl_object_note): For GNU_PROPERTY_STACK_SIZE use
40         an Elf32_Addr or Elf64_Addr to read and print the size.
41
42 2018-11-15  Mark Wielaard  <mark@klomp.org>
43
44         * eblobjnotetypename.c (ebl_object_note_type_name): Don't update
45         w, t and len unnecessarily.
46
47 2018-11-12  Mark Wielaard  <mark@klomp.org>
48
49         * libebl.h (ebl_object_note): Add new argument namesz.
50         * eblobjnote.c (ebl_object_note): Likewise and handle GNU Build
51         Attribute notes.
52         * eblobjnotetypename.c (ebl_object_note_type_name): Handle GNU
53         Build Attribute notes.
54
55 2018-11-11  Mark Wielaard  <mark@klomp.org>
56
57         * eblobjnote.c (ebl_object_note): Recognize NT_VERSION with zero
58         descriptor. Add explicit "GNU" name check.
59         * eblobjnotetypename.c (ebl_object_note_type_name): Add extra
60         argument descsz. Recognize NT_VERSION using descsz. With "GNU"
61         name it is  NT_GNU_ABI_TAG.
62         * libebl.h (ebl_object_note_type_name): Add extra argument descsz.
63
64 2018-10-18  Mark Wielaard  <mark@klomp.org>
65
66         * eblobjnote.c (ebl_object_note): Handle NT_GNU_PROPERTY_TYPE_0.
67         * eblobjnotetypename.c (ebl_object_note_type_name): Add
68         GNU_PROPERTY_TYPE_0.
69
70 2018-10-02  Andreas Schwab  <schwab@suse.de>
71
72         * ebl-hooks.h (EBLHOOK(reloc_simple_type)): Add third parameter.
73         * libebl.h (ebl_reloc_simple_type): Likewise.
74         * eblopenbackend.c (default_reloc_simple_type): Likewise.
75         * eblrelocsimpletype.c (ebl_reloc_simple_type): Pass it down.
76
77 2018-09-12  Mark Wielaard  <mark@klomp.org>
78
79         * eblsectionstripp.c (ebl_section_strip_p): Drop ehdr argument.
80         Use elf_getshdrstrndx.
81         * libebl.h (ebl_section_strip_p): Drop ehdr argument.
82
83 2018-09-12  Mark Wielaard  <mark@klomp.org>
84
85         * ebl-hooks.h (check_special_symbol): Drop ehdr argument.
86         * ebl_check_special_symbol.c (ebl_check_special_symbol): Likewise.
87         * eblopenbackend.c (default_check_special_symbol): Likewise.
88         * libebl.h (ebl_check_special_symbol): Likewise.
89
90 2018-07-04  Ross Burton <ross.burton@intel.com>
91
92         * eblopenbackend.c: Remove error.h include.
93
94 2018-04-25  Mark Wielaard  <mark@klomp.org>
95
96         * eblopenbackend.c (default_debugscn_p): Add new DWARF5 sections
97         .debug_addr, .debug_line_str, .debug_loclists, .debug_names,
98         .debug_rnglists and .debug_str_offsets.
99
100 2018-04-19  Andreas Schwab  <schwab@suse.de>
101
102         * eblopenbackend.c (machines): Add entries for RISC-V.
103
104 2018-03-16  Mark Wielaard  <mark@klomp.org>
105
106         * ebldynamictagname.c (ebl_dynamic_tag_name): Add SYMTAB_SHNDX to
107         stdtags. Add a eu_static_assert to make sure stdtags contains all
108         DT_NUM entries.
109
110 2018-02-21  Mark Wielaard  <mark@klomp.org>
111
112         * eblcheckreloctargettype.c (ebl_check_reloc_target_type): Accept
113         SHT_NOTE.
114
115 2018-02-09  Joshua Watt  <JPEWhacker@gmail.com>
116
117         * eblobjnote.c (ebl_object_note): Use FALLTHROUGH macro instead of
118         comment.
119
120 2017-04-27  Ulf Hermann  <ulf.hermann@qt.io>
121
122         * Makefile.am: Use fpic_CFLAGS.
123
124 2017-07-19  Gustavo Romero <gromero@linux.vnet.ibm.com>
125
126         * eblcorenotetypename.c: Add ppc64 HTM SPRs note as known type.
127
128 2017-07-20  Mark Wielaard  <mark@klomp.org>
129
130         * Makefile.am (gen_SOURCES): Add ebl_data_marker_symbol.c.
131         * ebl-hooks.h (data_marker_symbol): New hook.
132         * ebl_data_marker_symbol.c: New file.
133         * eblopenbackend.c (default_data_marker_symbol): New function.
134         (fill_defaults): Add default_data_marker_symbol.
135         * libebl.h (ebl_data_marker_symbol): New function.
136
137 2017-04-20  Ulf Hermann  <ulf.hermann@qt.io>
138
139         * libebl.h: Use __pure_attribute__.
140
141 2017-02-15  Ulf Hermann  <ulf.hermann@qt.io>
142
143         * eblmachineflagname.c: Include system.h.
144         * eblopenbackend.c: Likewise.
145
146 2016-07-08  Mark Wielaard  <mjw@redhat.com>
147
148         * Makefile.am (gen_SOURCES): Remove eblstrtab.c.
149         * eblstrtab.c: Removed.
150         * libebl.h (Ebl_Strtab): Removed.
151         (Ebl_Strent): Removed.
152         (ebl_strtabinit): Removed.
153         (ebl_strtabfree): Removed.
154         (ebl_strtabadd): Removed.
155         (ebl_strtabfinalize): Removed.
156         (ebl_strtaboffset): Removed.
157         (ebl_string): Removed.
158
159 2016-07-06  Mark Wielaard  <mjw@redhat.com>
160
161         * Makefile.am (gen_SOURCES): Remove eblobjecttypename.c,
162         eblshflagscombine.c, eblwstrtab.c and eblgstrtab.c.
163         * ebl-hooks.h (object_type_name): Removed.
164         (sh_flags_combine): Likewise.
165         * eblgstrtab.c: Removed.
166         * eblobjecttypename.c: Removed.
167         * eblopenbackend.c (default_object_type_name): Removed.
168         (default_sh_flags_combine): Likewise.
169         (fill_defaults): Removed object_type_name and sh_flags_combine.
170         * eblshflagscombine.c: Removed.
171         * eblwstrtab.c: Removed.
172         * libebl.h (ebl_object_type_name): Removed.
173         (ebl_sh_flags_combine): Likewise.
174         (ebl_wstrtab*): Removed.
175         (ebl_gstrtab*): Likewise.
176
177 2016-06-28  Richard Henderson <rth@redhat.com>
178
179         * ebl-hooks.h (EBLHOOK(disasm)): Add ebl parameter.
180         * eblopenbackend.c (machines): Add EM_BPF entry.
181
182 2016-05-20  Andreas Schwab  <schwab@linux-m68k.org>
183
184         * eblopenbackend.c (machines) [EM_68K]: Set class and data.
185
186 2016-02-12  Mark Wielaard  <mjw@redhat.com>
187
188         * eblobjnotetypename.c (ebl_object_note_type_name): Check name is
189         "Go" and use new goknowntypes then. Otherwise check name is not
190         "GNU" and return "unknown".
191
192 2016-01-09  Mark Wielaard  <mjw@redhat.com>
193
194         * eblobjnote.c (ebl_object_note): Add brackets around if statement
195         body.
196
197 2015-12-18  Mark Wielaard  <mjw@redhat.com>
198
199         * eblopenbackend.c (default_debugscn_p): Also match .zdebug sections.
200
201 2015-12-08  Jose E. Marchesi  <jose.marchesi@oracle.com>
202
203         * libebl.h: Prototype for ebl_ra_offset.
204         * eblabicfi.c (ebl_ra_offset): New function.
205         * libeblP.h (struct ebl): new field ra_offset;
206
207 2015-09-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
208
209         * Makefile.am (AM_CFLAGS): Use -fPIC instead of -fpic to avoid
210         relocation overflows in some platforms.
211
212 2015-09-22  Mark Wielaard  <mjw@redhat.com>
213
214         * *.c: Remove old-style function definitions.
215
216 2015-09-09  Chih-Hung Hsieh  <chh@google.com>
217
218         * ebldwarftoregno.c (ebl_dwarf_to_regno): Remove redundant NULL tests
219         on parameters declared with __nonnull_attribute__.
220         * eblinitreg.c (ebl_frame_nregs): Likewise.
221         * eblnormalizepc.c (ebl_normalize_pc): Likewise.
222         * eblunwind.c (ebl_unwind): Likewise.
223
224 2015-09-04  Chih-Hung Hsieh  <chh@google.com>
225
226         * eblopenbackend.c (ebl_openbackend_machine): Replace K&R function
227         definition with ansi-C definitions.
228         * eblstother.c (ebl_check_st_other_bits): Likewise.
229
230 2015-06-12  Mark Wielaard  <mjw@redhat.com>
231
232         * eblcheckreloctargettype.c (ebl_check_reloc_target_type): Allow
233         SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY.
234
235 2015-05-17  Mark Wielaard  <mjw@redhat.com>
236
237         * eblobjnote.c (ebl_object_note): If allocation buf is large, then
238         allocate it with malloc.
239
240 2015-05-17  Mark Wielaard  <mjw@redhat.com>
241
242         * eblopenbackend.c (MAX_PREFIX_LEN): New define (16).
243         (openbackend): Stack allocate symname array using MAX_PREFIX_LEN.
244
245 2015-01-27  Mark Wielaard  <mjw@redhat.com>
246
247         * libebl.h: Add comment from README that this is completely
248         UNSUPPORTED.
249
250 2014-11-22  Mark Wielaard  <mjw@redhat.com>
251
252         * ebl-hooks.h (bss_plt_p): Remove ehdr argument.
253         * eblbsspltp.c (ebl_bss_plt_p): Likewise.
254         * eblopenbackend.c (default_bss_plt_p): Likewise.
255         * libebl.h (ebl_bss_plt_p): Likewise.
256
257 2014-11-17  Mark Wielaard  <mjw@redhat.com>
258
259         * ebldebugscnp.c (ebl_debugscn_p): Check name is not NULL.
260
261 2014-06-17  Mark Wielaard  <mjw@redhat.com>
262
263         * eblinitreg.c (ebl_func_addr_mask): New function.
264         * libebl.h (ebl_func_addr_mask): Define.
265         * libeblP.h (struct ebl): Add func_addr_mask.
266
267 2014-05-19  Mark Wielaard  <mjw@redhat.com>
268
269         * Makefile.am (gen_SOURCES): Add eblcheckreloctargettype.c.
270         * eblcheckreloctargettype.c: New file.
271         * ebl-hooks.h (check_reloc_target_type): New hook.
272         * eblopenbackend.c (default_check_reloc_target_type): New function.
273         (fill_defaults): Assign default_check_reloc_target_type to
274         check_reloc_target_type.
275         * libebl.h (ebl_check_reloc_target_type): New function definition.
276
277 2013-12-18  Mark Wielaard  <mjw@redhat.com>
278
279         * Makefile.am (gen_SOURCES): Add eblresolvesym.c.
280         * ebl-hooks.h (resolve_sym_value): New entry.
281         * eblresolvesym.c: New file.
282         * libebl.h (ebl_resolve_sym_value): New definition.
283         * libeblP.h (fd_addr): New field.
284         (fd_data): Likewise.
285
286 2013-12-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
287
288         unwinder: s390 and s390x
289         * Makefile.am (gen_SOURCES): Add eblnormalizepc.c and eblunwind.c.
290         * ebl-hooks.h (normalize_pc, unwind): New.
291         * eblnormalizepc.c: New file.
292         * eblunwind.c: New file.
293         * libebl.h (Ebl_Register_Location): Add field pc_register.
294         (ebl_normalize_pc): New declaration.
295         (ebl_tid_registers_get_t, ebl_pid_memory_read_t): New definitions.
296         (ebl_unwind): New declaration.
297
298 2013-12-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
299
300         unwinder: ppc and ppc64
301         * Makefile.am (gen_SOURCES): Add ebldwarftoregno.c.
302         * ebl-hooks.h (dwarf_to_regno): New.
303         * ebldwarftoregno.c: New file.
304         * libebl.h (Ebl_Core_Item): New field pc_register.
305         (ebl_tid_registers_t): Add FIRSTREG -1 to the comment.
306         (ebl_dwarf_to_regno): New.
307
308 2013-11-25  Petr Machata  <pmachata@redhat.com>
309
310         * eblopenbackend.c (machines): Add entry for AArch64.
311
312 2013-11-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
313
314         Code cleanup: Remove const in prototype
315         * libebl.h (ebl_tid_registers_t): Remove const from firstreg.
316
317 2013-11-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
318             Mark Wielaard  <mjw@redhat.com>
319
320         * Makefile.am (gen_SOURCES): Add eblinitreg.c.
321         * ebl-hooks.h (set_initial_registers_tid): New entry.
322         * eblinitreg.c: New file.
323         * libebl.h (ebl_tid_registers_t): New definition.
324         (ebl_set_initial_registers_tid, ebl_frame_nregs): New declarations.
325         * libeblP.h (struct ebl): New entry frame_nregs.
326
327 2013-10-06  Mark Wielaard  <mjw@redhat.com>
328
329         * libebl.h (ebl_abi_cfi): Document restrictions using register
330         rules.
331
332 2013-09-26  Petr Machata  <pmachata@redhat.com>
333
334         * eblcorenotetypename.c: Handle NT_ARM_TLS, NT_ARM_HW_BREAK,
335         NT_ARM_HW_WATCH, NT_SIGINFO, NT_FILE.
336
337 2013-09-25  Mark Wielaard  <mjw@redhat.com>
338
339         * eblsectionstripp.c (ebl_section_strip_p): Check shdr_l is not NULL.
340
341 2013-04-24  Mark Wielaard  <mjw@redhat.com>
342
343         * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
344
345 2012-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
346
347         * ebl-hooks.h (abi_cfi): Extend its comment for return value.
348         * eblopenbackend.c (default_abi_cfi): Return -1.
349         * libebl.h (ebl_abi_cfi): Extend its comment for return value.
350
351 2012-08-30  Petr Machata  <pmachata@redhat.com>
352
353         * eblcorenotetypename.c: Handle PPC_VSX, X86_XSTATE,
354         S390_HIGH_GPRS, S390_TIMER, S390_TODCMP, S390_TODPREG, S390_CTRS,
355         S390_PREFIX, S390_LAST_BREAK, S390_SYSTEM_CALL, and ARM_VFP.
356
357 2012-08-22  Jeff Kenton  <jkenton@tilera.com>
358
359         * eblopenbackend.c (machines): Add tilegx.
360
361 2011-06-26  Mark Wielaard  <mjw@redhat.com>
362
363         * eblopenbackend.c (default_debugscn_p): Add .debug_macro.
364
365 2011-04-26  Mark Wielaard  <mjw@redhat.com>
366
367         * libebl.h (ebl_object_note_type_name): Add const char *name arg.
368         * eblhooks.h (object_note_type_name): Likewise.
369         * eblopenbackend.c (default_object_note_type_name): Likewise.
370         * eblobjnotetypename.c (ebl_object_note_type_name): Likewise.
371         And print version if name is "stapsdt".
372         * eblobjnote.c (ebl_object_note): Add output for "stapsdt" notes.
373
374 2011-03-21  Marek Polacek  <mpolacek@redhat.com>
375
376         * ebldynamictagname.c: Fix typo in TLSDESC_GOT.
377
378 2011-03-10  Mark Wielaard  <mjw@redhat.com>
379
380         * Makefile.am (gen_SOURCES): Add eblstother.c.
381         * eblstother.c: New file.
382         * ebl-hooks.h: Add check_st_other_bits hook.
383         * eblopenbackend.c (default_check_st_other_bits): New function.
384         (fill_defaults): Hook default_check_st_other_bits.
385         * libebl.h (ebl_check_st_other_bits): New prototype.
386
387 2010-07-07  Roland McGrath  <roland@redhat.com>
388
389         * eblopenbackend.c (default_debugscn_p): Match .gdb_index section.
390
391 2010-02-15  Roland McGrath  <roland@redhat.com>
392
393         * Makefile.am: Use config/eu.am for common stuff.
394
395 2010-01-04  Roland McGrath  <roland@redhat.com>
396
397         * eblcorenote.c (ebl_core_note): Take GElf_Nhdr * and name data
398         pointer instead of only n_type and n_descsz.
399         * libebl.h: Update declaration.
400         * ebl-hooks.h: Update core_note hook signature.
401         * eblopenbackend.c (default_core_note): Likewise.
402
403 2009-10-14  Roland McGrath  <roland@redhat.com>
404
405         * eblobjnote.c (ebl_object_note): Clean up NT_GNU_GOLD_VERSION printing.
406
407 2009-10-05  Roland McGrath  <roland@redhat.com>
408
409         * eblopenbackend.c (default_debugscn_p): Match .debug_pubtypes and
410         .debug_types too.
411
412 2009-09-02  Petr Machata  <pmachata@redhat.com>
413
414         * libebl/eblstrtab.c (morememory): Allocate memory in multiples of
415         pagesize.
416
417 2009-08-06  Petr Machata  <pmachata@redhat.com>
418
419         * libebl/eblstrtab.c (ebl_strtabfinalize): Only call copystrings
420         if we have any strings to copy.
421
422 2009-07-26  Mark Wielaard  <mjw@redhat.com>
423
424         * eblobjnote.c (ebl_object_note): Handle NT_GNU_GOLD_VERSION.
425
426         * eblobjnotetypename.c (ebl_object_note_type_name): Recognize
427         NT_GNU_GOLD_VERSION.
428
429 2009-07-08  Roland McGrath  <roland@redhat.com>
430
431         * ebl-hooks.h: Add abi_cfi hook.
432         * eblopenbackend.c (default_abi_cfi): New function.
433         (fill_defaults): Add initializer.
434         * eblabicfi.c: New file.
435         * Makefile.am (gen_SOURCES): Add it.
436         * libebl.h: Declare ebl_abi_cfi.
437
438 2009-07-08  Ulrich Drepper  <drepper@redhat.com>
439
440         * eblsymbolbindingname.c (ebl_symbol_binding_name): Handle
441         STB_GNU_UNIQUE.
442
443         * eblsymboltypename.c (ebl_symbol_type_name): Only handle STT_GNU_IFUNC
444         if the binary is marked as being for Linux.
445
446 2009-04-01  Roland McGrath  <roland@redhat.com>
447
448         * eblsymboltypename.c (ebl_symbol_type_name): Add STT_GNU_IFUNC.
449
450         * eblauxvinfo.c (AUXV_TYPES): Add RANDOM and BASE_PLATFORM.
451
452 2009-02-01  Ulrich Drepper  <drepper@redhat.com>
453
454         * eblreloctypename.c (ebl_reloc_type_name): Return "<INVALID RELOC>"
455         instead of "???" for invalid relocations.
456
457 2008-08-01  Roland McGrath  <roland@redhat.com>
458
459         * eblcorenotetypename.c: Handle NT_386_IOPERM.
460
461 2008-07-28  Roland McGrath  <roland@redhat.com>
462
463         * eblauxvinfo.c (AUXV_TYPES): Add EXECFN.
464
465         * eblauxvinfo.c (ebl_auxv_info): Handle missing elements of standard
466         table.
467
468 2008-07-04  Roland McGrath  <roland@redhat.com>
469
470         * libebl.h: Declare ebl_syscall_abi.
471         * ebl_syscall_abi.c: New file.
472         * Makefile.am (gen_SOURCES): Add it.
473         * ebl-hooks.h: New hook syscall_abi.
474         * eblopenbackend.c (default_syscall_abi): New function.
475         (fill_defaults): Use it.
476
477 2008-03-31  Roland McGrath  <roland@redhat.com>
478
479         * ebldynamictagname.c (ebl_dynamic_tag_name): Use hex for unknown tag.
480
481         * ebl-hooks.h: Add check_special_section hook.
482         * eblopenbackend.c (fill_defaults): Set new hook to ...
483         (default_check_special_section): ... this, new function.
484         * ebl_check_special_section.c: New file.
485         * Makefile.am (gen_SOURCES): Add it.
486         * libebl.h: Declare it.
487
488 2008-02-20  Roland McGrath  <roland@redhat.com>
489
490         * libebl.h: Declare ebl_check_object_attribute.
491         * eblcheckobjattr.c: New file.
492         * Makefile.am (gen_SOURCES): Add it.
493         * ebl-hooks.h: Add check_object_attribute hook.
494         * eblopenbackend.c (default_check_object_attribute): New function.
495         (fill_defaults): Initialize pointer to it.
496
497 2008-02-19  Roland McGrath  <roland@redhat.com>
498
499         * eblsectiontypename.c (ebl_section_type_name):
500         Handle SHT_GNU_ATTRIBUTES.
501
502 2008-02-08  Roland McGrath  <roland@redhat.com>
503
504         * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_SPE.
505
506 2008-01-30  Roland McGrath  <roland@redhat.com>
507
508         * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_386_TLS.
509
510 2007-10-18  Roland McGrath  <roland@redhat.com>
511
512         * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_VMX.
513
514 2007-10-11  Roland McGrath  <roland@redhat.com>
515
516         * eblobjnote.c (ebl_object_note): Translate target format (byte-swap)
517         for NT_GNU_ABI_TAG contents.
518
519 2007-08-22  Roland McGrath  <roland@redhat.com>
520
521         * libebl.h (Ebl_Core_Item): New member `group'.
522
523 2007-08-19  Roland McGrath  <roland@redhat.com>
524
525         * ebl-hooks.h: Add new hook auxv_info.
526         * eblopenbackend.c (default_auxv_info): New function.
527         (fill_defaults): Initialize auxv_info hook.
528         * eblauxvinfo.c : New file.
529         * Makefile.am (gen_SOURCES): Add it.
530         * libebl.h: Declare ebl_auxv_info.
531
532         * eblcorenote.c: Rewritten with new signature.
533         * Makefile.am (gen_SOURCES): Add it.
534         * libebl.h (Ebl_Register_Location, Ebl_Core_Item): New types.
535         (ebl_core_note_info): Completely revamp signature.
536         * ebl-hooks.h: Update decl.
537         * eblopenbackend.c (default_core_note): Update signature.
538
539 2007-07-09  Roland McGrath  <roland@redhat.com>
540
541         * eblobjnotetypename.c (ebl_object_note_type_name): Handle
542         NT_GNU_HWCAP, NT_GNU_BUILD_ID.
543
544         * eblobjnote.c (ebl_object_note): Handle NT_GNU_BUILD_ID.
545
546 2007-04-22  Roland McGrath  <roland@redhat.com>
547
548         * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PRXFPREG.
549
550 2007-03-10  Roland McGrath  <roland@redhat.com>
551
552         * eblcorenote.c (ebl_core_note): For normally-zero types,
553         print in hex if not zero.
554
555 2007-01-11  Roland McGrath  <roland@redhat.com>
556
557         * ebl-hooks.h (machine_section_flag_check): New hook.
558         * libebl.h: Declare ebl_machine_section_flag_check.
559         * eblmachinesectionflagcheck.c: New file.
560         * Makefile.am (gen_SOURCES): Add it.
561         * eblopenbackend.c (default_machine_section_flag_check): New function.
562         (fill_defaults): Use it.
563
564 2006-09-04  Roland McGrath  <roland@redhat.com>
565
566         * ebl-hooks.h: Replace register_name hook with register_info.
567         Also yield natural bit width and base type encoding.
568         * eblopenbackend.c (default_register_name): Renamed
569         default_register_info, new args added.
570         (fill_defaults): Update initialization.
571         * eblregname.c: File renamed ...
572         * eblreginfo.c: ... to this.
573         (ebl_register_name): Renamed to ebl_register_info, new args added.
574         * libebl.h: Update decl.
575
576         * Makefile.am (gen_SOURCES): Update list.
577
578 2006-07-06  Ulrich Drepper  <drepper@redhat.com>
579
580         * ebldynamictagname.c: Add support for DT_GNU_HASH.
581         * ebldynamictagcheck.c: Likewise.
582         * eblsectiontypename.c: Add support for SHT_GNU_HASH.
583
584 2006-07-05  Ulrich Drepper  <drepper@redhat.com>
585
586         * Makefile.am (gen_SOURCES): Add eblsysvhashentrysize.c.
587         * libeblP.h (struct ebl): Add sysvhash_entrysize element.
588         * eblopenbackend.c (fill_defaults): Initialize sysvhash_entrysize.
589
590         * eblopenbackend.c (openbackend): If possible, fill machine, class,
591         and data values in from the ELF file.
592
593 2006-07-04  Ulrich Drepper  <drepper@redhat.com>
594
595         * Makefile.am (gen_SOURCES): Add eblrelativerelocp.c.
596         * eblrelativerelocp.c: New file.
597         * ebl-hooks.c: Add relative_reloc_p.
598         * eblopenbackend.c (default_relative_reloc_p): New function.
599         (fill_defaults): Hook it up.
600         * libebl.h: Declare ebl_relative_reloc_p.
601
602 2006-06-12  Ulrich Drepper  <drepper@redhat.com>
603
604         * Makefile.am (gen_SOURCES): Add eblnonerelocp.c.
605         * eblnonerelocp.c: New file.
606         * ebl-hooks.c: Add none_reloc_p.
607         * eblopenbackend.c (default_none_reloc_p): New function.
608         (fill_defaults): Hook it up.
609         * libebl.h: Declare ebl_none_reloc_p.
610
611 2006-05-27  Ulrich Drepper  <drepper@redhat.com>
612
613         * libebl.h: Add extern "C".
614
615 2005-11-25  Roland McGrath  <roland@redhat.com>
616
617         * eblregname.c: New file.
618         * Makefile.am (gen_SOURCES): Add it.
619         * ebl-hooks.h: Declare register_name hook.
620         * libebl.h: Declare ebl_register_name.
621         * eblopenbackend.c (default_register_name): New function.
622         (fill_defaults): Use it.
623
624 2005-11-16  Roland McGrath  <roland@redhat.com>
625
626         * libebl.h: Use "" for elf-knowledge.h, not <>.
627
628 2005-11-15  Roland McGrath  <roland@redhat.com>
629
630         * Makefile.am: Removed everything for building libebl_*.so modules,
631         now in ../backends/Makefile.am instead.
632         * alpha_init.c: Moved to ../backends.
633         * alpha_reloc.def: Likewise.
634         * alpha_retval.c: Likewise.
635         * alpha_symbol.c: Likewise.
636         * arm_init.c: Likewise.
637         * arm_reloc.def: Likewise.
638         * arm_symbol.c: Likewise.
639         * common-reloc.c: Likewise.
640         * i386_corenote.c: Likewise.
641         * i386_init.c: Likewise.
642         * i386_reloc.def: Likewise.
643         * i386_retval.c: Likewise.
644         * i386_symbol.c: Likewise.
645         * ia64_init.c: Likewise.
646         * ia64_reloc.def: Likewise.
647         * ia64_symbol.c: Likewise.
648         * libebl_CPU.h: Likewise.
649         * ppc64_init.c: Likewise.
650         * ppc64_reloc.def: Likewise.
651         * ppc64_retval.c: Likewise.
652         * ppc64_symbol.c: Likewise.
653         * ppc_init.c: Likewise.
654         * ppc_reloc.def: Likewise.
655         * ppc_retval.c: Likewise.
656         * ppc_symbol.c: Likewise.
657         * s390_init.c: Likewise.
658         * s390_reloc.def: Likewise.
659         * s390_symbol.c: Likewise.
660         * sh_init.c: Likewise.
661         * sh_reloc.def: Likewise.
662         * sh_symbol.c: Likewise.
663         * sparc_init.c: Likewise.
664         * sparc_reloc.def: Likewise.
665         * sparc_symbol.c: Likewise.
666         * x86_64_corenote.c: Likewise.
667         * x86_64_init.c: Likewise.
668         * x86_64_reloc.def: Likewise.
669         * x86_64_retval.c: Likewise.
670         * x86_64_symbol.c: Likewise.
671
672         * libebl.h: Comment fixes.
673
674         * alpha_retval.c: New file.
675         * Makefile.am (alpha_SRCS): Add it.
676         * alpha_init.c (alpha_init): Initialize return_value_location hook.
677
678         * ppc64_retval.c: New file.
679         * Makefile.am (ppc64_SRCS): Add it.
680         * ppc64_init.c (ppc64_init): Initialize return_value_location hook.
681
682         * ppc_retval.c: New file.
683         * Makefile.am (ppc_SRCS): Add it.
684         * ppc_init.c (ppc_init): Initialize return_value_location hook.
685
686 2005-11-14  Roland McGrath  <roland@redhat.com>
687
688         * ia64_init.c (ia64_init): Initialize EH->reloc_simple_type.
689         * sh_init.c (sh_init): Likewise.
690         * x86_64_init.c (x86_64_init): Likewise.
691
692         * sparc_symbol.c (sparc_reloc_simple_type): New function.
693         * sparc_init.c (sparc_init): Use it.
694
695         * arm_symbol.c (arm_reloc_simple_type): New function.
696         * arm_init.c (arm_init): Use it.
697
698         * alpha_symbol.c (alpha_reloc_simple_type): New function.
699         * alpha_init.c (alpha_init): Use it.
700
701         * ia64_reloc.def: Update bits per H. J. Lu <hjl@lucon.org>.
702
703         * arm_reloc.def: Update bits per Daniel Jacobowitz <drow@false.org>.
704
705         * alpha_reloc.def: Update bits per Richard Henderson <rth@redhat.com>.
706
707 2005-11-13  Roland McGrath  <roland@redhat.com>
708
709         * x86_64_retval.c: New file.
710         * Makefile.am (x86_64_SRCS): Add it.
711         * x86_64_init.c (x86_64_init): Use x86_64_return_value_location.
712
713         * i386_retval.c: New file.
714         * Makefile.am (i386_SRCS): Add it.
715         (libdw): New variable.
716         (libebl_%.so): Use $(libdw) in link; use --as-needed.
717         * i386_init.c (i386_init): Use i386_return_value_location.
718
719         * eblretval.c: New file.
720         * Makefile.am (gen_SOURCES): Add it.
721         (INCLUDES): Search in libdw.
722         * libebl.h: Include <libdw.h>.   Declare ebl_return_value_location.
723         * ebl-hooks.h: Declare return_value_location hook.
724         * eblopenbackend.c (default_return_value_location): New function.
725         (fill_defaults): Use it.
726
727 2005-11-10  Roland McGrath  <roland@redhat.com>
728
729         * s390_init.c: New file.
730         * s390_reloc.def: New file.
731         * s390_symbol.c: New file.
732         * Makefile.am (modules, libebl_pic): Add s390.
733         (s390_SRCS, libebl_s390_pic_a_SOURCES): New variables.
734         (am_libebl_s390_pic_a_OBJECTS): New variable.
735
736         * ppc64_init.c: Use common-reloc.c.
737         * ppc64_symbol.c (ppc64_backend_name): Removed.
738         (ppc64_reloc_type_check, ppc64_reloc_type_name): Likewise.
739         (ppc64_copy_reloc_p, ppc64_reloc_valid_use): Likewise.
740
741         * ppc_init.c: Use common-reloc.c.
742         * ppc_symbol.c (ppc_backend_name): Removed.
743         (ppc_reloc_type_name, ppc_reloc_type_check): Likewise.
744         (ppc_reloc_valid_use, ppc_copy_reloc_p): Likewise.
745
746         * sparc_init.c: Use common-reloc.c.
747         * sparc_symbol.c (sparc_backend_name): Removed.
748         (sparc_reloc_type_name, sparc_reloc_type_check): Likewise.
749         (sparc_copy_reloc_p): Likewise.
750
751         * arm_init.c: Use common-reloc.c.
752         * arm_symbol.c (arm_backend_name): Removed.
753         (arm_reloc_type_name, arm_reloc_type_check, arm_copy_reloc_p): Removed.
754
755         * alpha_init.c: Use common-reloc.c.
756         * alpha_symbol.c (alpha_backend_name): Removed.
757         (alpha_reloc_type_name, alpha_reloc_type_check): Likewise.
758         (alpha_copy_reloc_p): Likewise.
759
760         * ia64_symbol.c (ia64_backend_name): Removed.
761         (ia64_reloc_type_name, ia64_reloc_type_check): Likewise.
762         (ia64_copy_reloc_p): Likewise.
763
764         * x86_64_init.c: Use common-reloc.c.
765         * x86_64_symbol.c (x86_64_backend_name): Removed.
766         (x86_64_copy_reloc_p, x86_64_reloc_valid_use): Likewise.
767         (x86_64_reloc_type_check, x86_64_reloc_type_name): Likewise.
768
769         * sh_init.c: Use common-reloc.c.
770         * sh_symbol.c: All functions removed.
771         (sh_reloc_simple_type): New function.
772         (sh_gotpc_reloc_check): New function.
773
774         * common-reloc.c: New file.
775         * Makefile.am (noinst_HEADERS): Add it.
776         * i386_init.c: Include it.
777
778         * sh_reloc.def: New file.
779         * i386_reloc.def: New file.
780         * alpha_reloc.def: New file.
781         * arm_reloc.def: New file.
782         * i386_reloc.def: New file.
783         * ia64_reloc.def: New file.
784         * ppc64_reloc.def: New file.
785         * ppc_reloc.def: New file.
786         * sh_reloc.def: New file.
787         * sparc_reloc.def: New file.
788         * x86_64_reloc.def: New file.
789         * Makefile.am (EXTRA_DIST): Add $(modules:=_reloc.def).
790
791         * libebl_alpha.map: Removed.
792         * libebl_ia64.map: Removed.
793         * libebl_ppc.map: Removed.
794         * libebl_sparc.map: Removed.
795         * libebl_arm.map: Removed.
796         * libebl_i386.map: Removed.
797         * libebl_ppc64.map: Removed.
798         * libebl_sh.map: Removed.
799         * libebl_x86_64.map: Removed.
800         * Makefile.am (EXTRA_DIST): Remove them.
801         (libebl_%.map, libebl_%.so): New pattern rules.
802
803         * libebl_alpha.h: Removed.
804         * libebl_ia64.h: Removed.
805         * libebl_ppc.h: Removed.
806         * libebl_sparc.h: Removed.
807         * libebl_arm.h: Removed.
808         * libebl_i386.h: Removed.
809         * libebl_ppc64.h: Removed.
810         * libebl_sh.h: Removed.
811         * libebl_x86_64.h: Removed.
812         * Makefile.am (noinst_HEADERS): Remove them.
813
814         * x86_64_corenote.c: Use libebl_CPU.h instead.
815         * x86_64_symbol.c: Likewise.
816         * i386_corenote.c: Likewise.
817
818 2005-11-09  Roland McGrath  <roland@redhat.com>
819
820         * ia64_symbol.c (ia64_reloc_simple_type): New function.
821
822         * ebl-hooks.h (reloc_simple_type): Take the Ebl handle, not Elf handle.
823         * eblrelocsimpletype.c (ebl_reloc_simple_type): Update caller.
824         * eblopenbackend.c (default_reloc_simple_type): Update signature.
825         * i386_symbol.c (i386_reloc_simple_type): Likewise.
826         * ppc64_symbol.c (ppc64_reloc_simple_type): Likewise.
827         * ppc_symbol.c (ppc_reloc_simple_type): Likewise.
828         * x86_64_symbol.c (x86_64_reloc_simple_type): Likewise.
829
830         * i386_symbol.c (i386_backend_name): Removed.
831         (i386_reloc_type_name, i386_reloc_type_check): Likewise.
832         (i386_reloc_valid_use): Removed.
833         (i386_copy_reloc_p): Removed.
834
835         * alpha_destr.c: Removed.
836         * arm_destr.c: Removed.
837         * i386_destr.c: Removed.
838         * ia64_destr.c: Removed.
839         * ppc64_destr.c: Removed.
840         * ppc_destr.c: Removed.
841         * sh_destr.c: Removed.
842         * sparc_destr.c: Removed.
843         * x86_64_destr.c: Removed.
844
845         * ebl-hooks.h: New file, broken out of ...
846         * libeblP.h (struct ebl): ... here.  #include that for hook
847         declarations, after defining EBLHOOK macro.
848         * libebl_CPU.h: New file.
849         * Makefile.am (noinst_HEADERS): Add them.
850
851         * libeblP.h (struct ebl): Use uint_fast16_t for machine,
852         and uint_fast8_t for class and data.
853
854 2005-08-14  Roland McGrath  <roland@redhat.com>
855
856         * ia64_symbol.c (ia64_section_type_name): New function.
857         (ia64_dynamic_tag_check): New function.
858         (ia64_reloc_valid_use): New function.
859         * libebl_ia64.h: Declare them.
860         * ia64_init.c (ia64_init): Use them.
861         * Makefile.am (libebl_ia64.so): Link with libelf.
862
863 2005-08-28  Ulrich Drepper  <drepper@redhat.com>
864
865         * Makefile.am: Use $(LINK) not $(CC) when creating DSOs.
866
867 2005-08-13  Roland McGrath  <roland@redhat.com>
868
869         * ia64_symbol.c (ia64_machine_flag_check): New function.
870         * libebl_ia64.h: Declare it.
871         * ia64_init.c (ia64_init): Use it.
872
873 2005-08-13  Ulrich Drepper  <drepper@redhat.com>
874
875         * libebl.h: Add ehdr parameter to ebl_bss_plt_p and
876         ebl_check_special_symbol.
877         * libeblP.h (struct ebl): Adjust callback functions.
878         * eblopenbackend.c: Adjust dummy functions.
879         * ebl_check_special_symbol.c: Add parameter and pass it on.
880         * eblbsspltp.c: Likewise.
881         * ppc_symbol.c (find_dyn_got): With ehdr passed, simplify search for
882         the dynamic section entry.
883         (ppc_check_special_symbol): Add ehdr parameter.
884         (ppc_bss_plt_p): Likewise.
885         * libebl_ppc.h: Adjust prototypes.
886         * ppc64_symbol.c (ppc_check_special_symbol): Add ehdr parameter.
887         (ppc_bss_plt_p): Likewise.
888         * libebl_ppc64.h: Adjust prototypes.
889
890 2005-08-12  Roland McGrath  <roland@redhat.com>
891
892         * ppc_symbol.c (find_dyn_got): New function, broken out of ...
893         (ppc_bss_plt_p): ... here.  Call that.
894         (ppc_check_special_symbol): Use find_dyn_got to fetch value to check
895         against _GLOBAL_OFFSET_TABLE_.
896
897         * libeblP.h (struct ebl): Add bss_plt_p hook.
898         * eblopenbackend.c (default_bss_plt_p): New function.
899         (fill_defaults): Use it.
900         * eblbsspltp.c: New file.
901         * Makefile.am (gen_SOURCES): Add it.
902         * libebl.h: Declare ebl_bss_plt_p.
903         * ppc_symbol.c (ppc_bss_plt_p): New function.
904         * libebl_ppc.h: Declare it.
905         * ppc_init.c (ppc_init): Use it.
906         * ppc64_symbol.c (ppc64_bss_plt_p): New function.
907         * libebl_ppc64.h: Declare it.
908         * ppc64_init.c (ppc64_init): Use it.
909
910         * ebl_check_special_symbol.c: New file.
911         * Makefile.am (gen_SOURCES): Add it.
912         * libebl.h: Declare ebl_check_special_symbol.
913         * libeblP.h (struct ebl): Add check_special_symbol hook.
914         * eblopenbackend.c (default_check_special_symbol): New function.
915         (fill_defaults): Use it.
916         * ppc_symbol.c (ppc_check_special_symbol): New function.
917         * libebl_ppc.h: Add prototype.
918         * ppc_init.c (ppc_init): Use it.
919         * ppc64_symbol.c (ppc64_check_special_symbol): New function.
920         * libebl_ppc64.h: Add prototype.
921         * ppc64_init.c (ppc64_init): Use it.
922
923 2005-08-07  Ulrich Drepper  <drepper@redhat.com>
924
925         * ppc_init.c: Add support for new DT_PPC_* and R_PPC_* values.
926         * ppc_symbol.c: Likewise.
927         * libebl_ppc.h: Likewise.
928         * ppc64_init.c: There is now also a dynamic_tag_check functions
929         * ppc64_symbol.c: Add dynamic_tag_check.
930         * libebl_ppc64.h: Add prototype.
931         * alpha_init.c: Add support for new DT_ALPHA_* value.
932         * alpha_symbol.c: Likewise.
933         * libebl_alpha.h: Likewise.
934
935 2005-08-03  Ulrich Drepper  <drepper@redhat.com>
936
937         * libebl_alpha.map: Remove unnecessary exports.
938         * libebl_arm.map: Likewise.
939         * libebl_i386.map: Likewise.
940         * libebl_ia64.map: Likewise.
941         * libebl_ppc.map: Likewise.
942         * libebl_ppc64.map: Likewise.
943         * libebl_sh.map: Likewise.
944         * libebl_sparc.map: Likewise.
945         * libebl_x86_64.map: Likewise.
946
947 2005-08-02  Ulrich Drepper  <drepper@redhat.com>
948
949         * Makefile.am (libebl_a_SOURCES): Add eblelfclass.c, eblelfdata.c,
950         and eblelfmachine.c.
951         * elbopenbackend.c (machines): Add class and data fields.  Initialize
952         them.
953         (ebl_openbackend): Initialize machine, class, data fields in result.
954         * libebl.h: Declare Add eblelfclass, eblelfdata, and eblelfmachine.
955         * libeblP.h (Ebl): Add machine, class, data fields.
956
957 2005-07-23  Ulrich Drepper  <drepper@redhat.com>
958
959         * eblsectionstripp.c: New file.
960         * Makefile.am (gen_SOURCES): Add eblsectionstripp.c.
961         * i386_init.c (i386_init): Install specific debugscn_p callback.
962         * i386_symbol.c (i386_debugscn_p): New function.
963         * libebl.h: Declare ebl_section_strip_p.
964         * libebl_i386.h: Declare i386_debugscn_p.
965
966         * libebl.h: Move Ebl definition to...
967         * libeblP.h: ...here.
968
969 2005-07-21  Roland McGrath  <roland@redhat.com>
970
971         * Makefile.am (install-ebl-modules): New target, commands from ...
972         (install): ... here.  Make this depend on it.
973         (LIBEBL_SUBDIR): New variable, substituted by configure.
974         (install-ebl-modules): Install in $(libdir)/$(LIBEBL_SUBDIR).
975         * eblopenbackend.c (openbackend): Use LIBEBL_SUBDIR in module name.
976
977 2005-07-21  Ulrich Drepper  <drepper@redhat.com>
978
979         * eblcopyrelocp.c: New file.
980         * Makefile.am (gen_SOURCES): Add eblcopyrelocp.c.
981         * libebl.h: Declare ebl_copy_reloc_p.
982         * eblopenbackend.c (fill_defaults): Fill in copy_reloc_p.
983         (default_copy_reloc_p): New function.
984         * alpha_init.c: Define and use arch-specific copy_reloc_p function.
985         * alpha_symbol.c: Likewise.
986         * arm_init.c: Likewise.
987         * arm_symbol.c: Likewise.
988         * i386_init.c: Likewise.
989         * i386_symbol.c: Likewise.
990         * ia64_init.c: Likewise.
991         * ia64_symbol.c: Likewise.
992         * ppc64_init.c: Likewise.
993         * ppc64_symbol.c: Likewise.
994         * ppc_init.c: Likewise.
995         * ppc_symbol.c: Likewise.
996         * sh_init.c: Likewise.
997         * sh_symbol.c: Likewise.
998         * sparc_init.c: Likewise.
999         * sparc_symbol.c: Likewise.
1000         * x86_64_init.c: Likewise.
1001         * x86_64_symbol.c: Likewise.
1002         * libebl_alpha.h: Declare the copy_reloc_p function.
1003         * libebl_arm.h: Likewise.
1004         * libebl_i386.h: Likewise.
1005         * libebl_ia64.h: Likewise.
1006         * libebl_ppc.h: Likewise.
1007         * libebl_ppc64.h: Likewise.
1008         * libebl_sh.h: Likewise.
1009         * libebl_sparc.h: Likewise.
1010         * libebl_x86_64.h: Likewise.
1011
1012 2005-05-31  Roland McGrath  <roland@redhat.com>
1013
1014         * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
1015         tracking works right.
1016
1017 2005-05-21  Ulrich Drepper  <drepper@redhat.com>
1018
1019         * libebl_x86_64.map: Add x86_64_core_note.
1020
1021 2005-05-19  Roland McGrath  <roland@redhat.com>
1022
1023         * libebl_i386.map: Add i386_reloc_valid_use, i386_reloc_simple_type.
1024         * libebl_ppc.map: Add ppc_reloc_simple_type.
1025         * libebl_ppc64.map: Add ppc64_reloc_simple_type.
1026         * libebl_x86_64.map: Add x86_64_reloc_simple_type.
1027
1028 2005-05-11  Ulrich Drepper  <drepper@redhat.com>
1029
1030         * eblcorenote.c: Handle new AT_* values and files with different
1031         endianess.
1032         * Makefile.am (x86_64_SRCS): Add x86_64_corenote.c.
1033         * x86-64_corenote.c: New file.
1034         * x86_64_init.c: Hook in x86_64_corenote.
1035         * i386_corenote.c: Make file usable on 64-bit platforms.
1036
1037         * eblopenbackend.c: If modules version comparison fails, reinitialize
1038         hooks.
1039
1040 2005-05-10  Ulrich Drepper  <drepper@redhat.com>
1041
1042         * eblopenbackend.c: Require the init function to return a string.
1043         Compare it with MODVERSION from config.h.
1044         * alpha_init.c: Change return type.  Return MODVERSION or NULL.
1045         * arm_init.c: Likewise.
1046         * eblopenbackend.c: Likewise.
1047         * i386_init.c: Likewise.
1048         * ia64_init.c: Likewise.
1049         * ppc64_init.c: Likewise.
1050         * ppc_init.c: Likewise.
1051         * sh_init.c: Likewise.
1052         * sparc_init.c: Likewise.
1053         * x86_64_init.c: Likewise.
1054         * libeblP.h: Adjust ebl_bhinit_t.
1055         * libebl_alpha.h: Adjust init function prototype.
1056         * libebl_arm.h: Likewise.
1057         * libebl_i386.h: Likewise.
1058         * libebl_ia64.h: Likewise.
1059         * libebl_ppc.h: Likewise.
1060         * libebl_ppc64.h: Likewise.
1061         * libebl_sh.h: Likewise.
1062         * libebl_sparc.h: Likewise.
1063         * libebl_x86_64.h: Likewise.
1064
1065         * mips_destr.c: Removed.
1066         * mips_init.c: Removed.
1067         * mips_symbol.c: Removed.
1068         * libebl_mips.h: Removed.
1069         * libebl_mips.map: Removed.
1070
1071 2005-05-03  Roland McGrath  <roland@redhat.com>
1072
1073         * libebl.h (Ebl): Add `reloc_simple_type' member.
1074         * eblopenbackend.c (default_reloc_simple_type): New function.
1075         (openbackend): Use that as default reloc_simple_type callback.
1076         * eblrelocsimpletype.c: New file.
1077         * Makefile.am (gen_SOURCES): Add it.
1078         * i386_symbol.c (i386_reloc_simple_type): New function.
1079         * libebl_i386.h: Declare it.
1080         * i386_init.c (i386_init): Use it.
1081         * x86_64_symbol.c (x86_64_reloc_simple_type): New function.
1082         * libebl_x86_64.h: Declare it.
1083         * x86_64_init.c (x86_64_init): Use it.
1084         * ppc_symbol.c (ppc_reloc_simple_type): New function.
1085         * libebl_ppc.h: Declare it.
1086         * ppc_init.c (ppc_init): Use it.
1087         * ppc64_symbol.c (ppc64_reloc_simple_type): New function.
1088         * libebl_ppc64.h: Declare it.
1089         * ppc64_init.c (ppc64_init): Use it.
1090
1091 2005-03-17  Ulrich Drepper  <drepper@redhat.com>
1092
1093         * eblcorenote.c (ebl_core_note): Add support for AT_SECURE.
1094
1095 2005-02-15  Ulrich Drepper  <drepper@redhat.com>
1096
1097         * Makefile.am (AM_CFLAGS): Add -Wformat=2.
1098
1099 2005-02-14  Ulrich Drepper  <drepper@redhat.com>
1100
1101         * alpha_destr.c: Add __attribute__((unused)) where needed.
1102         * alpha_init.c: Likewise.
1103         * alpha_symbol.c: Likewise.
1104         * arm_destr.c: Likewise.
1105         * arm_init.c: Likewise.
1106         * arm_symbol.c: Likewise.
1107         * i386_corenote.c: Likewise.
1108         * i386_destr.c: Likewise.
1109         * i386_init.c: Likewise.
1110         * i386_symbol.c: Likewise.
1111         * ia64_destr.c: Likewise.
1112         * ia64_init.c: Likewise.
1113         * ia64_symbol.c: Likewise.
1114         * mips_destr.c: Likewise.
1115         * mips_init.c: Likewise.
1116         * mips_symbol.c: Likewise.
1117         * ppc64_destr.c: Likewise.
1118         * ppc64_init.c: Likewise.
1119         * ppc64_symbol.c: Likewise.
1120         * ppc_destr.c: Likewise.
1121         * ppc_init.c: Likewise.
1122         * ppc_symbol.c: Likewise.
1123         * sh_destr.c: Likewise.
1124         * sh_init.c: Likewise.
1125         * sh_symbol.c: Likewise.
1126         * sparc_destr.c: Likewise.
1127         * sparc_init.c: Likewise.
1128         * sparc_symbol.c: Likewise.
1129         * x86_64_destr.c: Likewise.
1130         * x86_64_init.c: Likewise.
1131         * x86_64_symbol.c: Likewise.
1132
1133         * x86_64_symbol.c (reloc_map_table): Fix entries for R_X86_64_64
1134         and R_X86_64_32..
1135
1136 2005-02-06  Ulrich Drepper  <drepper@redhat.com>
1137
1138         * eblstrtab.c: A few cleanups.
1139
1140         * eblopenbackend.c: Mark unused parameters.
1141
1142         * eblgstrtab.c: Cleanups a few printf format strings.
1143
1144         * Makefile.am: Cleanup AM_CFLAGS handling.  Add -Wunused -Wextra.
1145
1146 2005-02-05  Ulrich Drepper  <drepper@redhat.com>
1147
1148         * Makefile.am: Check for text relocations in constructed DSOs.
1149
1150         * eblstrtab.c: Minor cleanups.
1151
1152         * Makefile.am (AM_CFLAGS): Add -std=gnu99 and -fmudflap for MUDFLAP.
1153
1154 2004-08-16  Ulrich Drepper  <drepper@redhat.com>
1155
1156         * Makefile.am (AM_CFLAGS): Add LIBSTR definition with base name of
1157         the lib directory.
1158         * eblopenbackend.c (openbackend): Use LIBSTR instead of hardcoded
1159         lib in path to ebl modules.
1160
1161 2004-04-01  Ulrich Drepper  <drepper@redhat.com>
1162
1163         * Makefile.am: Add rules for ppc and ppc64 ebl module.
1164         * ppc_init..c: New file.
1165         * ppc_destr.c: New file.
1166         * ppc_symbol.c: New file.
1167         * libebl_ppc.h: New file.
1168         * libebl_ppc.map: New file.
1169         * ppc64_init..c: New file.
1170         * ppc64_destr.c: New file.
1171         * ppc64_symbol.c: New file.
1172         * libebl_ppc64.h: New file.
1173         * libebl_ppc64.map: New file.
1174
1175 2004-01-20  Ulrich Drepper  <drepper@redhat.com>
1176
1177         * Makefile.am: Support building with mudflap.
1178
1179 2004-01-18  Ulrich Drepper  <drepper@redhat.com>
1180
1181         * libeblP.h (_): Use elfutils domain.
1182
1183 2004-01-16  Ulrich Drepper  <drepper@redhat.com>
1184
1185         * eblsectionname.c: Add support for SHN_BEFORE and SHN_AFTER.
1186
1187 2004-01-13  Ulrich Drepper  <drepper@redhat.com>
1188
1189         * eblsegmenttypename.c ((ebl_segment_type_name): Add support for
1190         PT_GNU_RELRO.
1191
1192 2004-01-08  Ulrich Drepper  <drepper@redhat.com>
1193
1194         * libebl.h: Remove last traces of libtool.
1195
1196 2004-01-05  Ulrich Drepper  <drepper@redhat.com>
1197
1198         * elf-knowledge.h: Move to libelf subdir.
1199
1200         * Makefile.am (EXTRA_DIST): Remove libebl.map.
1201         * libebl.map: Removed.
1202
1203 2003-12-08  Ulrich Drepper  <drepper@redhat.com>
1204
1205         * eblsectiontypename.c (ebl_section_type_name): Add support for
1206         SHT_SUNW_move, SHT_CHECKSUM, and SHT_GNU_LIBLIST.
1207
1208 2003-11-19  Ulrich Drepper  <drepper@redhat.com>
1209
1210         * ia64_symbol.c (ia64_dynamic_tag_name): New function.
1211         * libebl_ia64.h (ia64_dynamic_tag_name): Declare.
1212         * ia64_init.c (ia64_init): Register i164_dynamic_tag_name.
1213
1214 2003-09-24  Ulrich Drepper  <drepper@redhat.com>
1215
1216         * ia64_init.c (ia64_init): Initialize segment_type_name callback.
1217         * ia64_symbol.c (ia64_segment_type_name): Define.
1218         * libebl_ia64.h (ia64_segment_type_name): Declare.
1219
1220 2003-09-22  Ulrich Drepper  <drepper@redhat.com>
1221
1222         * Makefile.am (AM_CFLAGS): Add -fpic.
1223
1224 2003-08-14  Ulrich Drepper  <drepper@redhat.com>
1225
1226         * Makefile.am (install): Remove dependency on libebl.so.
1227
1228 2003-08-13  Ulrich Drepper  <drepper@redhat.com>
1229
1230         * eblopenbackend.c: Adjust relative path to arch-specific DSOs
1231         assuming the code ends up in the application.  Add second dlopen()
1232         try without any path, just the filename.
1233         * Makefile.in: Remove rules to build and install libebl.so.
1234
1235 2003-08-11  Ulrich Drepper  <drepper@redhat.com>
1236
1237         * Moved to CVS archive.