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