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