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