]> git.ipfire.org Git - thirdparty/elfutils.git/blame - libebl/ChangeLog
Fix spelling typos in NEWS, NOTES, TODO, and in comments of configure.ac
[thirdparty/elfutils.git] / libebl / ChangeLog
CommitLineData
e14a5561
MW
12020-10-19 Mark Wielaard <mark@klomp.org>
2
3 * eblopenbackend.c (tilegx_init): Removed.
4 (machines): Set init to NULL for tilegx.
5
c505ddf9
MW
62020-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
18d64cd8
MW
152020-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
15495182
MW
202020-07-19 Mark Wielaard <mark@klomp.org>
21
22 * libebl.h: Only typedef Ebl if _LIBASM_H is undefined.
23
27a388bd
MW
242020-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
39f22a76
MW
332020-06-04 Mark Wielaard <mark@klomp.org>
34
35 * eblsegmenttypename.c (ebl_segment_type_name): Remove
36 PT_GNU_PROPERTY define.
37
d6185d33
MW
382020-04-17 Mark Wielaard <mark@klomp.org>
39
40 * eblopenbackend.c (default_debugscn_p): Handle .gnu.debuglto_
41 prefix.
42
c4600ae0
MW
432020-02-08 Mark Wielaard <mark@klomp.org>
44
45 * eblsegmenttypename.c (ebl_segment_type_name): Handle
46 PT_GNU_PROPERTY.
47
b833c731
MW
482019-08-29 Mark Wielaard <mark@klomp.org>
49
50 * Makefile.am (noinst_LIBRARIES): Add libebl.a.
51 (noinst_HEADERS): Add libebl.h.
52
3a409a89
OS
532019-07-05 Omar Sandoval <osandov@fb.com>
54
823ee0c4
OS
55 * Makefile.am: Make libebl.a non-PIC by default.
56 Add libebl_pic.a.
4f937e24 57 Remove LIBEBL_SUBDIR definition.
823ee0c4 58 (gen_SOURCES): Remove.
4f937e24
OS
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.
3a409a89 64
1b1433d5
MH
652019-04-29 Mao Han <han_mao@c-sky.com>
66
67 * eblopenbackend.c: Add C-SKY.
68
b3233914
MW
692019-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
bfcf8b1f
MW
752019-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
7190c204
MW
832019-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
cd7ded3d
MW
902019-01-29 Mark Wielaard <mark@klomp.org>
91
92 * eblobjnote.c (ebl_object_note): Check pr_datasz padding doesn't
93 overflow descsz.
94
de01cc6f
MW
952019-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
01201890
MW
1012019-01-16 Mark Wielaard <mark@klomp.org>
102
103 * eblobjnte.c (ebl_object_note): Check pr_datasz isn't too large.
104
e8b9832a
MW
1052018-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
c338a054
MW
1102018-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
72e30c2e
MW
1152018-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
7a3f6fe6
MW
1232018-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
5199e158
MW
1322018-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
2876b3b6
AS
1382018-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
68e8b847
MW
1452018-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
ba2a7f4f
MW
1512018-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
e893aab0
RB
1582018-07-04 Ross Burton <ross.burton@intel.com>
159
160 * eblopenbackend.c: Remove error.h include.
161
ce50fccb
MW
1622018-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
470aba95
AS
1682018-04-19 Andreas Schwab <schwab@suse.de>
169
170 * eblopenbackend.c (machines): Add entries for RISC-V.
171
92581d7e
MW
1722018-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
ebc1768e
MW
1782018-02-21 Mark Wielaard <mark@klomp.org>
179
180 * eblcheckreloctargettype.c (ebl_check_reloc_target_type): Accept
181 SHT_NOTE.
182
555e15eb
JW
1832018-02-09 Joshua Watt <JPEWhacker@gmail.com>
184
185 * eblobjnote.c (ebl_object_note): Use FALLTHROUGH macro instead of
186 comment.
187
07737584
UH
1882017-04-27 Ulf Hermann <ulf.hermann@qt.io>
189
190 * Makefile.am: Use fpic_CFLAGS.
191
55a471f5
GR
1922017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com>
193
194 * eblcorenotetypename.c: Add ppc64 HTM SPRs note as known type.
195
55cb7dfa
MW
1962017-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
c73a00d8
UH
2052017-04-20 Ulf Hermann <ulf.hermann@qt.io>
206
207 * libebl.h: Use __pure_attribute__.
208
b3248e68
UH
2092017-02-15 Ulf Hermann <ulf.hermann@qt.io>
210
211 * eblmachineflagname.c: Include system.h.
212 * eblopenbackend.c: Likewise.
213
dd906c1b
MW
2142016-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
e6ca75dd
MW
2272016-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
9a36c922
RH
2452016-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
37bb3fcd
AS
2502016-05-20 Andreas Schwab <schwab@linux-m68k.org>
251
252 * eblopenbackend.c (machines) [EM_68K]: Set class and data.
253
6e723c78
MW
2542016-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
c5da7c9e
MW
2602016-01-09 Mark Wielaard <mjw@redhat.com>
261
262 * eblobjnote.c (ebl_object_note): Add brackets around if statement
263 body.
264
d22cb049
MW
2652015-12-18 Mark Wielaard <mjw@redhat.com>
266
267 * eblopenbackend.c (default_debugscn_p): Also match .zdebug sections.
268
42f0df13
JM
2692015-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
133509fa
JM
2752015-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
1ccdfb68
MW
2802015-09-22 Mark Wielaard <mjw@redhat.com>
281
282 * *.c: Remove old-style function definitions.
283
2d982861
CHH
2842015-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
aa1c2ca8
CHH
2922015-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
65dc8001
MW
2982015-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
390dd3d2
MW
3032015-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
df1708a2
MW
3082015-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
858dc653
MW
3132015-01-27 Mark Wielaard <mjw@redhat.com>
314
315 * libebl.h: Add comment from README that this is completely
316 UNSUPPORTED.
317
712c8fad
MW
3182014-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
5c1a45c2
MW
3252014-11-17 Mark Wielaard <mjw@redhat.com>
326
327 * ebldebugscnp.c (ebl_debugscn_p): Check name is not NULL.
328
c1c1c06e
MW
3292014-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
028d0ab0
MW
3352014-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
159ac52b
MW
3452013-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
c6a41483
JK
3542013-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
5cbf42aa
JK
3662013-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
98c8a739
PM
3762013-11-25 Petr Machata <pmachata@redhat.com>
377
378 * eblopenbackend.c (machines): Add entry for AArch64.
379
1c1a53b6
JK
3802013-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
0b867460
JK
3852013-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
3dec3e11
MW
3952013-10-06 Mark Wielaard <mjw@redhat.com>
396
397 * libebl.h (ebl_abi_cfi): Document restrictions using register
398 rules.
399
b43bcfe4
PM
4002013-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
2cfec294
MW
4052013-09-25 Mark Wielaard <mjw@redhat.com>
406
407 * eblsectionstripp.c (ebl_section_strip_p): Check shdr_l is not NULL.
408
cdaaf215
MW
4092013-04-24 Mark Wielaard <mjw@redhat.com>
410
411 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
412
0631d1fb
JK
4132012-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
96896017
PM
4192012-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
257dcf47
JK
4252012-08-22 Jeff Kenton <jkenton@tilera.com>
426
427 * eblopenbackend.c (machines): Add tilegx.
428
a0172d75
MW
4292011-06-26 Mark Wielaard <mjw@redhat.com>
430
431 * eblopenbackend.c (default_debugscn_p): Add .debug_macro.
432
bb9d1b4b
MW
4332011-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
cde0b270
MP
4422011-03-21 Marek Polacek <mpolacek@redhat.com>
443
444 * ebldynamictagname.c: Fix typo in TLSDESC_GOT.
445
a062b6bc
MW
4462011-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
804e9ca4
RM
4552010-07-07 Roland McGrath <roland@redhat.com>
456
457 * eblopenbackend.c (default_debugscn_p): Match .gdb_index section.
458
22359e26
RM
4592010-02-15 Roland McGrath <roland@redhat.com>
460
461 * Makefile.am: Use config/eu.am for common stuff.
462
0ccbbcd1
RM
4632010-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
f80c9078
RM
4712009-10-14 Roland McGrath <roland@redhat.com>
472
473 * eblobjnote.c (ebl_object_note): Clean up NT_GNU_GOLD_VERSION printing.
474
a14b4eb4
RM
4752009-10-05 Roland McGrath <roland@redhat.com>
476
477 * eblopenbackend.c (default_debugscn_p): Match .debug_pubtypes and
478 .debug_types too.
479
d3a8b2d3
PM
4802009-09-02 Petr Machata <pmachata@redhat.com>
481
482 * libebl/eblstrtab.c (morememory): Allocate memory in multiples of
483 pagesize.
484
077a7085
PM
4852009-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
bc1b92e9
MW
4902009-07-26 Mark Wielaard <mjw@redhat.com>
491
2f5b79e9
MW
492 * eblobjnote.c (ebl_object_note): Handle NT_GNU_GOLD_VERSION.
493
bc1b92e9
MW
494 * eblobjnotetypename.c (ebl_object_note_type_name): Recognize
495 NT_GNU_GOLD_VERSION.
496
3c84db3b
RM
4972009-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
70c442ca
UD
5062009-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
d5ff6678
RM
5142009-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
95fa15e7
UD
5202009-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
a845f68b
RM
5252008-08-01 Roland McGrath <roland@redhat.com>
526
527 * eblcorenotetypename.c: Handle NT_386_IOPERM.
528
1d8bb25c
RM
5292008-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
5362008-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
13b69609
RM
5452008-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
059c83e5
RM
5562008-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
5652008-02-19 Roland McGrath <roland@redhat.com>
566
567 * eblsectiontypename.c (ebl_section_type_name):
568 Handle SHT_GNU_ATTRIBUTES.
569
5702008-02-08 Roland McGrath <roland@redhat.com>
571
572 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_SPE.
573
5742008-01-30 Roland McGrath <roland@redhat.com>
575
576 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_386_TLS.
577
e4c22ea0
RM
5782007-10-18 Roland McGrath <roland@redhat.com>
579
580 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_VMX.
581
b597dfad
UD
5822007-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
cb6d8650
RM
5872007-08-22 Roland McGrath <roland@redhat.com>
588
589 * libebl.h (Ebl_Core_Item): New member `group'.
590
5912007-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
87d4780b
RM
6072007-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
4be15243
RM
6142007-04-22 Roland McGrath <roland@redhat.com>
615
616 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PRXFPREG.
617
c07fbb3f
UD
6182007-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
aa915fd3
UD
6232007-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
c373d850
RM
6322006-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
28ed895f
UD
6462006-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
6522006-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
6612006-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
6ca4600f
UD
6702006-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
41cbd762
UD
6792006-05-27 Ulrich Drepper <drepper@redhat.com>
680
681 * libebl.h: Add extern "C".
682
994b4899
RM
6832005-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
215c6321
RM
6922005-11-16 Roland McGrath <roland@redhat.com>
693
694 * libebl.h: Use "" for elf-knowledge.h, not <>.
695
e47ab76f
RM
6962005-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
cd60ea83
RM
7542005-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
e47ab76f
RM
7752005-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
cd60ea83
RM
7952005-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
8862005-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
9222005-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
fbe998a0
UD
9312005-08-28 Ulrich Drepper <drepper@redhat.com>
932
933 * Makefile.am: Use $(LINK) not $(CC) when creating DSOs.
934
e53d04af
RM
9352005-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
c5c33a6a
UD
9412005-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
653d3763
RM
9582005-08-12 Roland McGrath <roland@redhat.com>
959
f8873cb8
RM
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
653d3763
RM
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
b03b0578
UD
9912005-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
6fcb3833
UD
10032005-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
a38998e8
UD
10152005-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
b08d5a8f
UD
10252005-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
10372005-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
10452005-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
10802005-05-31 Roland McGrath <roland@redhat.com>
1081
1082 * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
1083 tracking works right.
1084
10852005-05-21 Ulrich Drepper <drepper@redhat.com>
1086
1087 * libebl_x86_64.map: Add x86_64_core_note.
1088
10892005-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
10962005-05-11 Ulrich Drepper <drepper@redhat.com>
1097
1098 * eblcorenote.c: Handle new AT_* values and files with different
98b69a97 1099 endianness.
b08d5a8f
UD
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
11082005-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
11392005-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
11592005-03-17 Ulrich Drepper <drepper@redhat.com>
1160
1161 * eblcorenote.c (ebl_core_note): Add support for AT_SECURE.
1162
11632005-02-15 Ulrich Drepper <drepper@redhat.com>
1164
1165 * Makefile.am (AM_CFLAGS): Add -Wformat=2.
1166
11672005-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
12042005-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
12142005-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
12222004-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
12292004-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
12432004-01-20 Ulrich Drepper <drepper@redhat.com>
1244
1245 * Makefile.am: Support building with mudflap.
1246
12472004-01-18 Ulrich Drepper <drepper@redhat.com>
1248
1249 * libeblP.h (_): Use elfutils domain.
1250
12512004-01-16 Ulrich Drepper <drepper@redhat.com>
1252
1253 * eblsectionname.c: Add support for SHN_BEFORE and SHN_AFTER.
1254
12552004-01-13 Ulrich Drepper <drepper@redhat.com>
1256
1257 * eblsegmenttypename.c ((ebl_segment_type_name): Add support for
1258 PT_GNU_RELRO.
1259
12602004-01-08 Ulrich Drepper <drepper@redhat.com>
1261
1262 * libebl.h: Remove last traces of libtool.
1263
12642004-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
12712003-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
12762003-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
12822003-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
12882003-09-22 Ulrich Drepper <drepper@redhat.com>
1289
1290 * Makefile.am (AM_CFLAGS): Add -fpic.
1291
12922003-08-14 Ulrich Drepper <drepper@redhat.com>
1293
1294 * Makefile.am (install): Remove dependency on libebl.so.
1295
12962003-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
13032003-08-11 Ulrich Drepper <drepper@redhat.com>
1304
1305 * Moved to CVS archive.