blob: e81fae905c5c932605008917ee0a9fd05608281d [file] [log] [blame]
Petr Machatab43bcfe2013-09-26 00:38:37 +020012013-09-26 Petr Machata <pmachata@redhat.com>
2
3 * eblcorenotetypename.c: Handle NT_ARM_TLS, NT_ARM_HW_BREAK,
4 NT_ARM_HW_WATCH, NT_SIGINFO, NT_FILE.
5
Mark Wielaard2cfec292013-09-25 13:02:53 +020062013-09-25 Mark Wielaard <mjw@redhat.com>
7
8 * eblsectionstripp.c (ebl_section_strip_p): Check shdr_l is not NULL.
9
Mark Wielaardcdaaf212013-04-25 16:50:11 -0400102013-04-24 Mark Wielaard <mjw@redhat.com>
11
12 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
13
Jan Kratochvil0631d1f2012-10-12 20:43:21 +0200142012-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15
16 * ebl-hooks.h (abi_cfi): Extend its comment for return value.
17 * eblopenbackend.c (default_abi_cfi): Return -1.
18 * libebl.h (ebl_abi_cfi): Extend its comment for return value.
19
Petr Machata96896012012-08-30 16:01:02 +0200202012-08-30 Petr Machata <pmachata@redhat.com>
21
22 * eblcorenotetypename.c: Handle PPC_VSX, X86_XSTATE,
23 S390_HIGH_GPRS, S390_TIMER, S390_TODCMP, S390_TODPREG, S390_CTRS,
24 S390_PREFIX, S390_LAST_BREAK, S390_SYSTEM_CALL, and ARM_VFP.
25
Jeff Kenton257dcf42012-08-22 09:00:03 -0400262012-08-22 Jeff Kenton <jkenton@tilera.com>
27
28 * eblopenbackend.c (machines): Add tilegx.
29
Mark Wielaarda0172d72012-06-25 17:18:53 +0200302011-06-26 Mark Wielaard <mjw@redhat.com>
31
32 * eblopenbackend.c (default_debugscn_p): Add .debug_macro.
33
Mark Wielaardbb9d1b42011-04-24 17:53:38 +0200342011-04-26 Mark Wielaard <mjw@redhat.com>
35
36 * libebl.h (ebl_object_note_type_name): Add const char *name arg.
37 * eblhooks.h (object_note_type_name): Likewise.
38 * eblopenbackend.c (default_object_note_type_name): Likewise.
39 * eblobjnotetypename.c (ebl_object_note_type_name): Likewise.
40 And print version if name is "stapsdt".
41 * eblobjnote.c (ebl_object_note): Add output for "stapsdt" notes.
42
Marek Polacekcde0b272011-03-21 23:46:56 +0100432011-03-21 Marek Polacek <mpolacek@redhat.com>
44
45 * ebldynamictagname.c: Fix typo in TLSDESC_GOT.
46
Mark Wielaarda062b6b2011-03-10 13:02:32 +0100472011-03-10 Mark Wielaard <mjw@redhat.com>
48
49 * Makefile.am (gen_SOURCES): Add eblstother.c.
50 * eblstother.c: New file.
51 * ebl-hooks.h: Add check_st_other_bits hook.
52 * eblopenbackend.c (default_check_st_other_bits): New function.
53 (fill_defaults): Hook default_check_st_other_bits.
54 * libebl.h (ebl_check_st_other_bits): New prototype.
55
Roland McGrath804e9ca2010-07-07 16:06:12 -0700562010-07-07 Roland McGrath <roland@redhat.com>
57
58 * eblopenbackend.c (default_debugscn_p): Match .gdb_index section.
59
Roland McGrath22359e22010-02-15 15:57:03 -0800602010-02-15 Roland McGrath <roland@redhat.com>
61
62 * Makefile.am: Use config/eu.am for common stuff.
63
Roland McGrath0ccbbcd2010-01-04 21:59:07 -0800642010-01-04 Roland McGrath <roland@redhat.com>
65
66 * eblcorenote.c (ebl_core_note): Take GElf_Nhdr * and name data
67 pointer instead of only n_type and n_descsz.
68 * libebl.h: Update declaration.
69 * ebl-hooks.h: Update core_note hook signature.
70 * eblopenbackend.c (default_core_note): Likewise.
71
Roland McGrathf80c9072009-10-14 12:35:47 -0700722009-10-14 Roland McGrath <roland@redhat.com>
73
74 * eblobjnote.c (ebl_object_note): Clean up NT_GNU_GOLD_VERSION printing.
75
Roland McGratha14b4eb2009-10-05 11:32:26 -0700762009-10-05 Roland McGrath <roland@redhat.com>
77
78 * eblopenbackend.c (default_debugscn_p): Match .debug_pubtypes and
79 .debug_types too.
80
Petr Machatad3a8b2d2009-09-02 20:46:08 +0200812009-09-02 Petr Machata <pmachata@redhat.com>
82
83 * libebl/eblstrtab.c (morememory): Allocate memory in multiples of
84 pagesize.
85
Petr Machata077a7082009-08-06 18:45:08 +0200862009-08-06 Petr Machata <pmachata@redhat.com>
87
88 * libebl/eblstrtab.c (ebl_strtabfinalize): Only call copystrings
89 if we have any strings to copy.
90
Mark Wielaardbc1b92e2009-07-26 08:33:18 -0700912009-07-26 Mark Wielaard <mjw@redhat.com>
92
Mark Wielaard2f5b79e2009-07-26 14:49:26 -070093 * eblobjnote.c (ebl_object_note): Handle NT_GNU_GOLD_VERSION.
94
Mark Wielaardbc1b92e2009-07-26 08:33:18 -070095 * eblobjnotetypename.c (ebl_object_note_type_name): Recognize
96 NT_GNU_GOLD_VERSION.
97
Roland McGrath3c84db32009-06-24 17:41:40 -0700982009-07-08 Roland McGrath <roland@redhat.com>
99
100 * ebl-hooks.h: Add abi_cfi hook.
101 * eblopenbackend.c (default_abi_cfi): New function.
102 (fill_defaults): Add initializer.
103 * eblabicfi.c: New file.
104 * Makefile.am (gen_SOURCES): Add it.
105 * libebl.h: Declare ebl_abi_cfi.
106
Ulrich Drepper70c442c2009-07-08 00:53:24 -07001072009-07-08 Ulrich Drepper <drepper@redhat.com>
108
109 * eblsymbolbindingname.c (ebl_symbol_binding_name): Handle
110 STB_GNU_UNIQUE.
111
112 * eblsymboltypename.c (ebl_symbol_type_name): Only handle STT_GNU_IFUNC
113 if the binary is marked as being for Linux.
114
Roland McGrathd5ff6672009-04-01 18:28:41 -07001152009-04-01 Roland McGrath <roland@redhat.com>
116
117 * eblsymboltypename.c (ebl_symbol_type_name): Add STT_GNU_IFUNC.
118
119 * eblauxvinfo.c (AUXV_TYPES): Add RANDOM and BASE_PLATFORM.
120
Ulrich Drepper95fa15e2009-02-01 19:06:10 -08001212009-02-01 Ulrich Drepper <drepper@redhat.com>
122
123 * eblreloctypename.c (ebl_reloc_type_name): Return "<INVALID RELOC>"
124 instead of "???" for invalid relocations.
125
Roland McGratha845f682008-12-03 03:41:58 +00001262008-08-01 Roland McGrath <roland@redhat.com>
127
128 * eblcorenotetypename.c: Handle NT_386_IOPERM.
129
Roland McGrath1d8bb252008-08-07 08:39:41 +00001302008-07-28 Roland McGrath <roland@redhat.com>
131
132 * eblauxvinfo.c (AUXV_TYPES): Add EXECFN.
133
134 * eblauxvinfo.c (ebl_auxv_info): Handle missing elements of standard
135 table.
136
1372008-07-04 Roland McGrath <roland@redhat.com>
138
139 * libebl.h: Declare ebl_syscall_abi.
140 * ebl_syscall_abi.c: New file.
141 * Makefile.am (gen_SOURCES): Add it.
142 * ebl-hooks.h: New hook syscall_abi.
143 * eblopenbackend.c (default_syscall_abi): New function.
144 (fill_defaults): Use it.
145
Roland McGrath13b69602008-04-01 02:30:05 +00001462008-03-31 Roland McGrath <roland@redhat.com>
147
148 * ebldynamictagname.c (ebl_dynamic_tag_name): Use hex for unknown tag.
149
150 * ebl-hooks.h: Add check_special_section hook.
151 * eblopenbackend.c (fill_defaults): Set new hook to ...
152 (default_check_special_section): ... this, new function.
153 * ebl_check_special_section.c: New file.
154 * Makefile.am (gen_SOURCES): Add it.
155 * libebl.h: Declare it.
156
Roland McGrath059c83e2008-02-21 06:19:39 +00001572008-02-20 Roland McGrath <roland@redhat.com>
158
159 * libebl.h: Declare ebl_check_object_attribute.
160 * eblcheckobjattr.c: New file.
161 * Makefile.am (gen_SOURCES): Add it.
162 * ebl-hooks.h: Add check_object_attribute hook.
163 * eblopenbackend.c (default_check_object_attribute): New function.
164 (fill_defaults): Initialize pointer to it.
165
1662008-02-19 Roland McGrath <roland@redhat.com>
167
168 * eblsectiontypename.c (ebl_section_type_name):
169 Handle SHT_GNU_ATTRIBUTES.
170
1712008-02-08 Roland McGrath <roland@redhat.com>
172
173 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_SPE.
174
1752008-01-30 Roland McGrath <roland@redhat.com>
176
177 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_386_TLS.
178
Roland McGrathe4c22ea2007-10-23 13:07:39 +00001792007-10-18 Roland McGrath <roland@redhat.com>
180
181 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_VMX.
182
Ulrich Drepperb597dfa2007-10-16 05:21:27 +00001832007-10-11 Roland McGrath <roland@redhat.com>
184
185 * eblobjnote.c (ebl_object_note): Translate target format (byte-swap)
186 for NT_GNU_ABI_TAG contents.
187
Roland McGrathcb6d8652007-08-23 08:10:54 +00001882007-08-22 Roland McGrath <roland@redhat.com>
189
190 * libebl.h (Ebl_Core_Item): New member `group'.
191
1922007-08-19 Roland McGrath <roland@redhat.com>
193
194 * ebl-hooks.h: Add new hook auxv_info.
195 * eblopenbackend.c (default_auxv_info): New function.
196 (fill_defaults): Initialize auxv_info hook.
197 * eblauxvinfo.c : New file.
198 * Makefile.am (gen_SOURCES): Add it.
199 * libebl.h: Declare ebl_auxv_info.
200
201 * eblcorenote.c: Rewritten with new signature.
202 * Makefile.am (gen_SOURCES): Add it.
203 * libebl.h (Ebl_Register_Location, Ebl_Core_Item): New types.
204 (ebl_core_note_info): Completely revamp signature.
205 * ebl-hooks.h: Update decl.
206 * eblopenbackend.c (default_core_note): Update signature.
207
Roland McGrath87d47802007-07-16 22:23:37 +00002082007-07-09 Roland McGrath <roland@redhat.com>
209
210 * eblobjnotetypename.c (ebl_object_note_type_name): Handle
211 NT_GNU_HWCAP, NT_GNU_BUILD_ID.
212
213 * eblobjnote.c (ebl_object_note): Handle NT_GNU_BUILD_ID.
214
Roland McGrath4be15242007-04-25 03:09:33 +00002152007-04-22 Roland McGrath <roland@redhat.com>
216
217 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PRXFPREG.
218
Ulrich Drepperc07fbb32007-03-30 19:14:59 +00002192007-03-10 Roland McGrath <roland@redhat.com>
220
221 * eblcorenote.c (ebl_core_note): For normally-zero types,
222 print in hex if not zero.
223
Ulrich Drepperaa915fd2007-02-05 07:25:33 +00002242007-01-11 Roland McGrath <roland@redhat.com>
225
226 * ebl-hooks.h (machine_section_flag_check): New hook.
227 * libebl.h: Declare ebl_machine_section_flag_check.
228 * eblmachinesectionflagcheck.c: New file.
229 * Makefile.am (gen_SOURCES): Add it.
230 * eblopenbackend.c (default_machine_section_flag_check): New function.
231 (fill_defaults): Use it.
232
Roland McGrathc373d852006-10-10 00:25:21 +00002332006-09-04 Roland McGrath <roland@redhat.com>
234
235 * ebl-hooks.h: Replace register_name hook with register_info.
236 Also yield natural bit width and base type encoding.
237 * eblopenbackend.c (default_register_name): Renamed
238 default_register_info, new args added.
239 (fill_defaults): Update initialization.
240 * eblregname.c: File renamed ...
241 * eblreginfo.c: ... to this.
242 (ebl_register_name): Renamed to ebl_register_info, new args added.
243 * libebl.h: Update decl.
244
245 * Makefile.am (gen_SOURCES): Update list.
246
Ulrich Drepper28ed8952006-07-07 03:43:47 +00002472006-07-06 Ulrich Drepper <drepper@redhat.com>
248
249 * ebldynamictagname.c: Add support for DT_GNU_HASH.
250 * ebldynamictagcheck.c: Likewise.
251 * eblsectiontypename.c: Add support for SHT_GNU_HASH.
252
2532006-07-05 Ulrich Drepper <drepper@redhat.com>
254
255 * Makefile.am (gen_SOURCES): Add eblsysvhashentrysize.c.
256 * libeblP.h (struct ebl): Add sysvhash_entrysize element.
257 * eblopenbackend.c (fill_defaults): Initialize sysvhash_entrysize.
258
259 * eblopenbackend.c (openbackend): If possible, fill machine, class,
260 and data values in from the ELF file.
261
2622006-07-04 Ulrich Drepper <drepper@redhat.com>
263
264 * Makefile.am (gen_SOURCES): Add eblrelativerelocp.c.
265 * eblrelativerelocp.c: New file.
266 * ebl-hooks.c: Add relative_reloc_p.
267 * eblopenbackend.c (default_relative_reloc_p): New function.
268 (fill_defaults): Hook it up.
269 * libebl.h: Declare ebl_relative_reloc_p.
270
Ulrich Drepper6ca46002006-06-12 22:40:23 +00002712006-06-12 Ulrich Drepper <drepper@redhat.com>
272
273 * Makefile.am (gen_SOURCES): Add eblnonerelocp.c.
274 * eblnonerelocp.c: New file.
275 * ebl-hooks.c: Add none_reloc_p.
276 * eblopenbackend.c (default_none_reloc_p): New function.
277 (fill_defaults): Hook it up.
278 * libebl.h: Declare ebl_none_reloc_p.
279
Ulrich Drepper41cbd762006-05-27 18:19:23 +00002802006-05-27 Ulrich Drepper <drepper@redhat.com>
281
282 * libebl.h: Add extern "C".
283
Roland McGrath994b4892005-12-05 22:46:21 +00002842005-11-25 Roland McGrath <roland@redhat.com>
285
286 * eblregname.c: New file.
287 * Makefile.am (gen_SOURCES): Add it.
288 * ebl-hooks.h: Declare register_name hook.
289 * libebl.h: Declare ebl_register_name.
290 * eblopenbackend.c (default_register_name): New function.
291 (fill_defaults): Use it.
292
Roland McGrath215c6322005-11-16 22:46:04 +00002932005-11-16 Roland McGrath <roland@redhat.com>
294
295 * libebl.h: Use "" for elf-knowledge.h, not <>.
296
Roland McGrathe47ab762005-11-17 03:16:00 +00002972005-11-15 Roland McGrath <roland@redhat.com>
298
299 * Makefile.am: Removed everything for building libebl_*.so modules,
300 now in ../backends/Makefile.am instead.
301 * alpha_init.c: Moved to ../backends.
302 * alpha_reloc.def: Likewise.
303 * alpha_retval.c: Likewise.
304 * alpha_symbol.c: Likewise.
305 * arm_init.c: Likewise.
306 * arm_reloc.def: Likewise.
307 * arm_symbol.c: Likewise.
308 * common-reloc.c: Likewise.
309 * i386_corenote.c: Likewise.
310 * i386_init.c: Likewise.
311 * i386_reloc.def: Likewise.
312 * i386_retval.c: Likewise.
313 * i386_symbol.c: Likewise.
314 * ia64_init.c: Likewise.
315 * ia64_reloc.def: Likewise.
316 * ia64_symbol.c: Likewise.
317 * libebl_CPU.h: Likewise.
318 * ppc64_init.c: Likewise.
319 * ppc64_reloc.def: Likewise.
320 * ppc64_retval.c: Likewise.
321 * ppc64_symbol.c: Likewise.
322 * ppc_init.c: Likewise.
323 * ppc_reloc.def: Likewise.
324 * ppc_retval.c: Likewise.
325 * ppc_symbol.c: Likewise.
326 * s390_init.c: Likewise.
327 * s390_reloc.def: Likewise.
328 * s390_symbol.c: Likewise.
329 * sh_init.c: Likewise.
330 * sh_reloc.def: Likewise.
331 * sh_symbol.c: Likewise.
332 * sparc_init.c: Likewise.
333 * sparc_reloc.def: Likewise.
334 * sparc_symbol.c: Likewise.
335 * x86_64_corenote.c: Likewise.
336 * x86_64_init.c: Likewise.
337 * x86_64_reloc.def: Likewise.
338 * x86_64_retval.c: Likewise.
339 * x86_64_symbol.c: Likewise.
340
341 * libebl.h: Comment fixes.
342
343 * alpha_retval.c: New file.
344 * Makefile.am (alpha_SRCS): Add it.
345 * alpha_init.c (alpha_init): Initialize return_value_location hook.
346
347 * ppc64_retval.c: New file.
348 * Makefile.am (ppc64_SRCS): Add it.
349 * ppc64_init.c (ppc64_init): Initialize return_value_location hook.
350
351 * ppc_retval.c: New file.
352 * Makefile.am (ppc_SRCS): Add it.
353 * ppc_init.c (ppc_init): Initialize return_value_location hook.
354
Roland McGrathcd60ea82005-11-16 01:57:40 +00003552005-11-14 Roland McGrath <roland@redhat.com>
356
357 * ia64_init.c (ia64_init): Initialize EH->reloc_simple_type.
358 * sh_init.c (sh_init): Likewise.
359 * x86_64_init.c (x86_64_init): Likewise.
360
361 * sparc_symbol.c (sparc_reloc_simple_type): New function.
362 * sparc_init.c (sparc_init): Use it.
363
364 * arm_symbol.c (arm_reloc_simple_type): New function.
365 * arm_init.c (arm_init): Use it.
366
367 * alpha_symbol.c (alpha_reloc_simple_type): New function.
368 * alpha_init.c (alpha_init): Use it.
369
370 * ia64_reloc.def: Update bits per H. J. Lu <hjl@lucon.org>.
371
372 * arm_reloc.def: Update bits per Daniel Jacobowitz <drow@false.org>.
373
374 * alpha_reloc.def: Update bits per Richard Henderson <rth@redhat.com>.
375
Roland McGrathe47ab762005-11-17 03:16:00 +00003762005-11-13 Roland McGrath <roland@redhat.com>
377
378 * x86_64_retval.c: New file.
379 * Makefile.am (x86_64_SRCS): Add it.
380 * x86_64_init.c (x86_64_init): Use x86_64_return_value_location.
381
382 * i386_retval.c: New file.
383 * Makefile.am (i386_SRCS): Add it.
384 (libdw): New variable.
385 (libebl_%.so): Use $(libdw) in link; use --as-needed.
386 * i386_init.c (i386_init): Use i386_return_value_location.
387
388 * eblretval.c: New file.
389 * Makefile.am (gen_SOURCES): Add it.
390 (INCLUDES): Search in libdw.
391 * libebl.h: Include <libdw.h>. Declare ebl_return_value_location.
392 * ebl-hooks.h: Declare return_value_location hook.
393 * eblopenbackend.c (default_return_value_location): New function.
394 (fill_defaults): Use it.
395
Roland McGrathcd60ea82005-11-16 01:57:40 +00003962005-11-10 Roland McGrath <roland@redhat.com>
397
398 * s390_init.c: New file.
399 * s390_reloc.def: New file.
400 * s390_symbol.c: New file.
401 * Makefile.am (modules, libebl_pic): Add s390.
402 (s390_SRCS, libebl_s390_pic_a_SOURCES): New variables.
403 (am_libebl_s390_pic_a_OBJECTS): New variable.
404
405 * ppc64_init.c: Use common-reloc.c.
406 * ppc64_symbol.c (ppc64_backend_name): Removed.
407 (ppc64_reloc_type_check, ppc64_reloc_type_name): Likewise.
408 (ppc64_copy_reloc_p, ppc64_reloc_valid_use): Likewise.
409
410 * ppc_init.c: Use common-reloc.c.
411 * ppc_symbol.c (ppc_backend_name): Removed.
412 (ppc_reloc_type_name, ppc_reloc_type_check): Likewise.
413 (ppc_reloc_valid_use, ppc_copy_reloc_p): Likewise.
414
415 * sparc_init.c: Use common-reloc.c.
416 * sparc_symbol.c (sparc_backend_name): Removed.
417 (sparc_reloc_type_name, sparc_reloc_type_check): Likewise.
418 (sparc_copy_reloc_p): Likewise.
419
420 * arm_init.c: Use common-reloc.c.
421 * arm_symbol.c (arm_backend_name): Removed.
422 (arm_reloc_type_name, arm_reloc_type_check, arm_copy_reloc_p): Removed.
423
424 * alpha_init.c: Use common-reloc.c.
425 * alpha_symbol.c (alpha_backend_name): Removed.
426 (alpha_reloc_type_name, alpha_reloc_type_check): Likewise.
427 (alpha_copy_reloc_p): Likewise.
428
429 * ia64_symbol.c (ia64_backend_name): Removed.
430 (ia64_reloc_type_name, ia64_reloc_type_check): Likewise.
431 (ia64_copy_reloc_p): Likewise.
432
433 * x86_64_init.c: Use common-reloc.c.
434 * x86_64_symbol.c (x86_64_backend_name): Removed.
435 (x86_64_copy_reloc_p, x86_64_reloc_valid_use): Likewise.
436 (x86_64_reloc_type_check, x86_64_reloc_type_name): Likewise.
437
438 * sh_init.c: Use common-reloc.c.
439 * sh_symbol.c: All functions removed.
440 (sh_reloc_simple_type): New function.
441 (sh_gotpc_reloc_check): New function.
442
443 * common-reloc.c: New file.
444 * Makefile.am (noinst_HEADERS): Add it.
445 * i386_init.c: Include it.
446
447 * sh_reloc.def: New file.
448 * i386_reloc.def: New file.
449 * alpha_reloc.def: New file.
450 * arm_reloc.def: New file.
451 * i386_reloc.def: New file.
452 * ia64_reloc.def: New file.
453 * ppc64_reloc.def: New file.
454 * ppc_reloc.def: New file.
455 * sh_reloc.def: New file.
456 * sparc_reloc.def: New file.
457 * x86_64_reloc.def: New file.
458 * Makefile.am (EXTRA_DIST): Add $(modules:=_reloc.def).
459
460 * libebl_alpha.map: Removed.
461 * libebl_ia64.map: Removed.
462 * libebl_ppc.map: Removed.
463 * libebl_sparc.map: Removed.
464 * libebl_arm.map: Removed.
465 * libebl_i386.map: Removed.
466 * libebl_ppc64.map: Removed.
467 * libebl_sh.map: Removed.
468 * libebl_x86_64.map: Removed.
469 * Makefile.am (EXTRA_DIST): Remove them.
470 (libebl_%.map, libebl_%.so): New pattern rules.
471
472 * libebl_alpha.h: Removed.
473 * libebl_ia64.h: Removed.
474 * libebl_ppc.h: Removed.
475 * libebl_sparc.h: Removed.
476 * libebl_arm.h: Removed.
477 * libebl_i386.h: Removed.
478 * libebl_ppc64.h: Removed.
479 * libebl_sh.h: Removed.
480 * libebl_x86_64.h: Removed.
481 * Makefile.am (noinst_HEADERS): Remove them.
482
483 * x86_64_corenote.c: Use libebl_CPU.h instead.
484 * x86_64_symbol.c: Likewise.
485 * i386_corenote.c: Likewise.
486
4872005-11-09 Roland McGrath <roland@redhat.com>
488
489 * ia64_symbol.c (ia64_reloc_simple_type): New function.
490
491 * ebl-hooks.h (reloc_simple_type): Take the Ebl handle, not Elf handle.
492 * eblrelocsimpletype.c (ebl_reloc_simple_type): Update caller.
493 * eblopenbackend.c (default_reloc_simple_type): Update signature.
494 * i386_symbol.c (i386_reloc_simple_type): Likewise.
495 * ppc64_symbol.c (ppc64_reloc_simple_type): Likewise.
496 * ppc_symbol.c (ppc_reloc_simple_type): Likewise.
497 * x86_64_symbol.c (x86_64_reloc_simple_type): Likewise.
498
499 * i386_symbol.c (i386_backend_name): Removed.
500 (i386_reloc_type_name, i386_reloc_type_check): Likewise.
501 (i386_reloc_valid_use): Removed.
502 (i386_copy_reloc_p): Removed.
503
504 * alpha_destr.c: Removed.
505 * arm_destr.c: Removed.
506 * i386_destr.c: Removed.
507 * ia64_destr.c: Removed.
508 * ppc64_destr.c: Removed.
509 * ppc_destr.c: Removed.
510 * sh_destr.c: Removed.
511 * sparc_destr.c: Removed.
512 * x86_64_destr.c: Removed.
513
514 * ebl-hooks.h: New file, broken out of ...
515 * libeblP.h (struct ebl): ... here. #include that for hook
516 declarations, after defining EBLHOOK macro.
517 * libebl_CPU.h: New file.
518 * Makefile.am (noinst_HEADERS): Add them.
519
520 * libeblP.h (struct ebl): Use uint_fast16_t for machine,
521 and uint_fast8_t for class and data.
522
5232005-08-14 Roland McGrath <roland@redhat.com>
524
525 * ia64_symbol.c (ia64_section_type_name): New function.
526 (ia64_dynamic_tag_check): New function.
527 (ia64_reloc_valid_use): New function.
528 * libebl_ia64.h: Declare them.
529 * ia64_init.c (ia64_init): Use them.
530 * Makefile.am (libebl_ia64.so): Link with libelf.
531
Ulrich Drepperfbe998a2005-08-29 16:27:10 +00005322005-08-28 Ulrich Drepper <drepper@redhat.com>
533
534 * Makefile.am: Use $(LINK) not $(CC) when creating DSOs.
535
Roland McGrathe53d04a2005-08-13 20:56:07 +00005362005-08-13 Roland McGrath <roland@redhat.com>
537
538 * ia64_symbol.c (ia64_machine_flag_check): New function.
539 * libebl_ia64.h: Declare it.
540 * ia64_init.c (ia64_init): Use it.
541
Ulrich Drepperc5c33a62005-08-13 17:50:47 +00005422005-08-13 Ulrich Drepper <drepper@redhat.com>
543
544 * libebl.h: Add ehdr parameter to ebl_bss_plt_p and
545 ebl_check_special_symbol.
546 * libeblP.h (struct ebl): Adjust callback functions.
547 * eblopenbackend.c: Adjust dummy functions.
548 * ebl_check_special_symbol.c: Add parameter and pass it on.
549 * eblbsspltp.c: Likewise.
550 * ppc_symbol.c (find_dyn_got): With ehdr passed, simplify search for
551 the dynamic section entry.
552 (ppc_check_special_symbol): Add ehdr parameter.
553 (ppc_bss_plt_p): Likewise.
554 * libebl_ppc.h: Adjust prototypes.
555 * ppc64_symbol.c (ppc_check_special_symbol): Add ehdr parameter.
556 (ppc_bss_plt_p): Likewise.
557 * libebl_ppc64.h: Adjust prototypes.
558
Roland McGrath653d3762005-08-13 01:59:10 +00005592005-08-12 Roland McGrath <roland@redhat.com>
560
Roland McGrathf8873cb2005-08-13 03:26:06 +0000561 * ppc_symbol.c (find_dyn_got): New function, broken out of ...
562 (ppc_bss_plt_p): ... here. Call that.
563 (ppc_check_special_symbol): Use find_dyn_got to fetch value to check
564 against _GLOBAL_OFFSET_TABLE_.
565
Roland McGrath653d3762005-08-13 01:59:10 +0000566 * libeblP.h (struct ebl): Add bss_plt_p hook.
567 * eblopenbackend.c (default_bss_plt_p): New function.
568 (fill_defaults): Use it.
569 * eblbsspltp.c: New file.
570 * Makefile.am (gen_SOURCES): Add it.
571 * libebl.h: Declare ebl_bss_plt_p.
572 * ppc_symbol.c (ppc_bss_plt_p): New function.
573 * libebl_ppc.h: Declare it.
574 * ppc_init.c (ppc_init): Use it.
575 * ppc64_symbol.c (ppc64_bss_plt_p): New function.
576 * libebl_ppc64.h: Declare it.
577 * ppc64_init.c (ppc64_init): Use it.
578
579 * ebl_check_special_symbol.c: New file.
580 * Makefile.am (gen_SOURCES): Add it.
581 * libebl.h: Declare ebl_check_special_symbol.
582 * libeblP.h (struct ebl): Add check_special_symbol hook.
583 * eblopenbackend.c (default_check_special_symbol): New function.
584 (fill_defaults): Use it.
585 * ppc_symbol.c (ppc_check_special_symbol): New function.
586 * libebl_ppc.h: Add prototype.
587 * ppc_init.c (ppc_init): Use it.
588 * ppc64_symbol.c (ppc64_check_special_symbol): New function.
589 * libebl_ppc64.h: Add prototype.
590 * ppc64_init.c (ppc64_init): Use it.
591
Ulrich Drepperb03b0572005-08-07 08:12:22 +00005922005-08-07 Ulrich Drepper <drepper@redhat.com>
593
594 * ppc_init.c: Add support for new DT_PPC_* and R_PPC_* values.
595 * ppc_symbol.c: Likewise.
596 * libebl_ppc.h: Likewise.
597 * ppc64_init.c: There is now also a dynamic_tag_check functions
598 * ppc64_symbol.c: Add dynamic_tag_check.
599 * libebl_ppc64.h: Add prototype.
600 * alpha_init.c: Add support for new DT_ALPHA_* value.
601 * alpha_symbol.c: Likewise.
602 * libebl_alpha.h: Likewise.
603
Ulrich Drepper6fcb3832005-08-03 21:10:49 +00006042005-08-03 Ulrich Drepper <drepper@redhat.com>
605
606 * libebl_alpha.map: Remove unnecessary exports.
607 * libebl_arm.map: Likewise.
608 * libebl_i386.map: Likewise.
609 * libebl_ia64.map: Likewise.
610 * libebl_ppc.map: Likewise.
611 * libebl_ppc64.map: Likewise.
612 * libebl_sh.map: Likewise.
613 * libebl_sparc.map: Likewise.
614 * libebl_x86_64.map: Likewise.
615
Ulrich Dreppera38998e2005-08-03 02:05:39 +00006162005-08-02 Ulrich Drepper <drepper@redhat.com>
617
618 * Makefile.am (libebl_a_SOURCES): Add eblelfclass.c, eblelfdata.c,
619 and eblelfmachine.c.
620 * elbopenbackend.c (machines): Add class and data fields. Initialize
621 them.
622 (ebl_openbackend): Initialize machine, class, data fields in result.
623 * libebl.h: Declare Add eblelfclass, eblelfdata, and eblelfmachine.
624 * libeblP.h (Ebl): Add machine, class, data fields.
625
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00006262005-07-23 Ulrich Drepper <drepper@redhat.com>
627
628 * eblsectionstripp.c: New file.
629 * Makefile.am (gen_SOURCES): Add eblsectionstripp.c.
630 * i386_init.c (i386_init): Install specific debugscn_p callback.
631 * i386_symbol.c (i386_debugscn_p): New function.
632 * libebl.h: Declare ebl_section_strip_p.
633 * libebl_i386.h: Declare i386_debugscn_p.
634
635 * libebl.h: Move Ebl definition to...
636 * libeblP.h: ...here.
637
6382005-07-21 Roland McGrath <roland@redhat.com>
639
640 * Makefile.am (install-ebl-modules): New target, commands from ...
641 (install): ... here. Make this depend on it.
642 (LIBEBL_SUBDIR): New variable, substituted by configure.
643 (install-ebl-modules): Install in $(libdir)/$(LIBEBL_SUBDIR).
644 * eblopenbackend.c (openbackend): Use LIBEBL_SUBDIR in module name.
645
6462005-07-21 Ulrich Drepper <drepper@redhat.com>
647
648 * eblcopyrelocp.c: New file.
649 * Makefile.am (gen_SOURCES): Add eblcopyrelocp.c.
650 * libebl.h: Declare ebl_copy_reloc_p.
651 * eblopenbackend.c (fill_defaults): Fill in copy_reloc_p.
652 (default_copy_reloc_p): New function.
653 * alpha_init.c: Define and use arch-specific copy_reloc_p function.
654 * alpha_symbol.c: Likewise.
655 * arm_init.c: Likewise.
656 * arm_symbol.c: Likewise.
657 * i386_init.c: Likewise.
658 * i386_symbol.c: Likewise.
659 * ia64_init.c: Likewise.
660 * ia64_symbol.c: Likewise.
661 * ppc64_init.c: Likewise.
662 * ppc64_symbol.c: Likewise.
663 * ppc_init.c: Likewise.
664 * ppc_symbol.c: Likewise.
665 * sh_init.c: Likewise.
666 * sh_symbol.c: Likewise.
667 * sparc_init.c: Likewise.
668 * sparc_symbol.c: Likewise.
669 * x86_64_init.c: Likewise.
670 * x86_64_symbol.c: Likewise.
671 * libebl_alpha.h: Declare the copy_reloc_p function.
672 * libebl_arm.h: Likewise.
673 * libebl_i386.h: Likewise.
674 * libebl_ia64.h: Likewise.
675 * libebl_ppc.h: Likewise.
676 * libebl_ppc64.h: Likewise.
677 * libebl_sh.h: Likewise.
678 * libebl_sparc.h: Likewise.
679 * libebl_x86_64.h: Likewise.
680
6812005-05-31 Roland McGrath <roland@redhat.com>
682
683 * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
684 tracking works right.
685
6862005-05-21 Ulrich Drepper <drepper@redhat.com>
687
688 * libebl_x86_64.map: Add x86_64_core_note.
689
6902005-05-19 Roland McGrath <roland@redhat.com>
691
692 * libebl_i386.map: Add i386_reloc_valid_use, i386_reloc_simple_type.
693 * libebl_ppc.map: Add ppc_reloc_simple_type.
694 * libebl_ppc64.map: Add ppc64_reloc_simple_type.
695 * libebl_x86_64.map: Add x86_64_reloc_simple_type.
696
6972005-05-11 Ulrich Drepper <drepper@redhat.com>
698
699 * eblcorenote.c: Handle new AT_* values and files with different
700 endianess.
701 * Makefile.am (x86_64_SRCS): Add x86_64_corenote.c.
702 * x86-64_corenote.c: New file.
703 * x86_64_init.c: Hook in x86_64_corenote.
704 * i386_corenote.c: Make file usable on 64-bit platforms.
705
706 * eblopenbackend.c: If modules version comparison fails, reinitialize
707 hooks.
708
7092005-05-10 Ulrich Drepper <drepper@redhat.com>
710
711 * eblopenbackend.c: Require the init function to return a string.
712 Compare it with MODVERSION from config.h.
713 * alpha_init.c: Change return type. Return MODVERSION or NULL.
714 * arm_init.c: Likewise.
715 * eblopenbackend.c: Likewise.
716 * i386_init.c: Likewise.
717 * ia64_init.c: Likewise.
718 * ppc64_init.c: Likewise.
719 * ppc_init.c: Likewise.
720 * sh_init.c: Likewise.
721 * sparc_init.c: Likewise.
722 * x86_64_init.c: Likewise.
723 * libeblP.h: Adjust ebl_bhinit_t.
724 * libebl_alpha.h: Adjust init function prototype.
725 * libebl_arm.h: Likewise.
726 * libebl_i386.h: Likewise.
727 * libebl_ia64.h: Likewise.
728 * libebl_ppc.h: Likewise.
729 * libebl_ppc64.h: Likewise.
730 * libebl_sh.h: Likewise.
731 * libebl_sparc.h: Likewise.
732 * libebl_x86_64.h: Likewise.
733
734 * mips_destr.c: Removed.
735 * mips_init.c: Removed.
736 * mips_symbol.c: Removed.
737 * libebl_mips.h: Removed.
738 * libebl_mips.map: Removed.
739
7402005-05-03 Roland McGrath <roland@redhat.com>
741
742 * libebl.h (Ebl): Add `reloc_simple_type' member.
743 * eblopenbackend.c (default_reloc_simple_type): New function.
744 (openbackend): Use that as default reloc_simple_type callback.
745 * eblrelocsimpletype.c: New file.
746 * Makefile.am (gen_SOURCES): Add it.
747 * i386_symbol.c (i386_reloc_simple_type): New function.
748 * libebl_i386.h: Declare it.
749 * i386_init.c (i386_init): Use it.
750 * x86_64_symbol.c (x86_64_reloc_simple_type): New function.
751 * libebl_x86_64.h: Declare it.
752 * x86_64_init.c (x86_64_init): Use it.
753 * ppc_symbol.c (ppc_reloc_simple_type): New function.
754 * libebl_ppc.h: Declare it.
755 * ppc_init.c (ppc_init): Use it.
756 * ppc64_symbol.c (ppc64_reloc_simple_type): New function.
757 * libebl_ppc64.h: Declare it.
758 * ppc64_init.c (ppc64_init): Use it.
759
7602005-03-17 Ulrich Drepper <drepper@redhat.com>
761
762 * eblcorenote.c (ebl_core_note): Add support for AT_SECURE.
763
7642005-02-15 Ulrich Drepper <drepper@redhat.com>
765
766 * Makefile.am (AM_CFLAGS): Add -Wformat=2.
767
7682005-02-14 Ulrich Drepper <drepper@redhat.com>
769
770 * alpha_destr.c: Add __attribute__((unused)) where needed.
771 * alpha_init.c: Likewise.
772 * alpha_symbol.c: Likewise.
773 * arm_destr.c: Likewise.
774 * arm_init.c: Likewise.
775 * arm_symbol.c: Likewise.
776 * i386_corenote.c: Likewise.
777 * i386_destr.c: Likewise.
778 * i386_init.c: Likewise.
779 * i386_symbol.c: Likewise.
780 * ia64_destr.c: Likewise.
781 * ia64_init.c: Likewise.
782 * ia64_symbol.c: Likewise.
783 * mips_destr.c: Likewise.
784 * mips_init.c: Likewise.
785 * mips_symbol.c: Likewise.
786 * ppc64_destr.c: Likewise.
787 * ppc64_init.c: Likewise.
788 * ppc64_symbol.c: Likewise.
789 * ppc_destr.c: Likewise.
790 * ppc_init.c: Likewise.
791 * ppc_symbol.c: Likewise.
792 * sh_destr.c: Likewise.
793 * sh_init.c: Likewise.
794 * sh_symbol.c: Likewise.
795 * sparc_destr.c: Likewise.
796 * sparc_init.c: Likewise.
797 * sparc_symbol.c: Likewise.
798 * x86_64_destr.c: Likewise.
799 * x86_64_init.c: Likewise.
800 * x86_64_symbol.c: Likewise.
801
802 * x86_64_symbol.c (reloc_map_table): Fix entries for R_X86_64_64
803 and R_X86_64_32..
804
8052005-02-06 Ulrich Drepper <drepper@redhat.com>
806
807 * eblstrtab.c: A few cleanups.
808
809 * eblopenbackend.c: Mark unused parameters.
810
811 * eblgstrtab.c: Cleanups a few printf format strings.
812
813 * Makefile.am: Cleanup AM_CFLAGS handling. Add -Wunused -Wextra.
814
8152005-02-05 Ulrich Drepper <drepper@redhat.com>
816
817 * Makefile.am: Check for text relocations in constructed DSOs.
818
819 * eblstrtab.c: Minor cleanups.
820
821 * Makefile.am (AM_CFLAGS): Add -std=gnu99 and -fmudflap for MUDFLAP.
822
8232004-08-16 Ulrich Drepper <drepper@redhat.com>
824
825 * Makefile.am (AM_CFLAGS): Add LIBSTR definition with base name of
826 the lib directory.
827 * eblopenbackend.c (openbackend): Use LIBSTR instead of hardcoded
828 lib in path to ebl modules.
829
8302004-04-01 Ulrich Drepper <drepper@redhat.com>
831
832 * Makefile.am: Add rules for ppc and ppc64 ebl module.
833 * ppc_init..c: New file.
834 * ppc_destr.c: New file.
835 * ppc_symbol.c: New file.
836 * libebl_ppc.h: New file.
837 * libebl_ppc.map: New file.
838 * ppc64_init..c: New file.
839 * ppc64_destr.c: New file.
840 * ppc64_symbol.c: New file.
841 * libebl_ppc64.h: New file.
842 * libebl_ppc64.map: New file.
843
8442004-01-20 Ulrich Drepper <drepper@redhat.com>
845
846 * Makefile.am: Support building with mudflap.
847
8482004-01-18 Ulrich Drepper <drepper@redhat.com>
849
850 * libeblP.h (_): Use elfutils domain.
851
8522004-01-16 Ulrich Drepper <drepper@redhat.com>
853
854 * eblsectionname.c: Add support for SHN_BEFORE and SHN_AFTER.
855
8562004-01-13 Ulrich Drepper <drepper@redhat.com>
857
858 * eblsegmenttypename.c ((ebl_segment_type_name): Add support for
859 PT_GNU_RELRO.
860
8612004-01-08 Ulrich Drepper <drepper@redhat.com>
862
863 * libebl.h: Remove last traces of libtool.
864
8652004-01-05 Ulrich Drepper <drepper@redhat.com>
866
867 * elf-knowledge.h: Move to libelf subdir.
868
869 * Makefile.am (EXTRA_DIST): Remove libebl.map.
870 * libebl.map: Removed.
871
8722003-12-08 Ulrich Drepper <drepper@redhat.com>
873
874 * eblsectiontypename.c (ebl_section_type_name): Add support for
875 SHT_SUNW_move, SHT_CHECKSUM, and SHT_GNU_LIBLIST.
876
8772003-11-19 Ulrich Drepper <drepper@redhat.com>
878
879 * ia64_symbol.c (ia64_dynamic_tag_name): New function.
880 * libebl_ia64.h (ia64_dynamic_tag_name): Declare.
881 * ia64_init.c (ia64_init): Register i164_dynamic_tag_name.
882
8832003-09-24 Ulrich Drepper <drepper@redhat.com>
884
885 * ia64_init.c (ia64_init): Initialize segment_type_name callback.
886 * ia64_symbol.c (ia64_segment_type_name): Define.
887 * libebl_ia64.h (ia64_segment_type_name): Declare.
888
8892003-09-22 Ulrich Drepper <drepper@redhat.com>
890
891 * Makefile.am (AM_CFLAGS): Add -fpic.
892
8932003-08-14 Ulrich Drepper <drepper@redhat.com>
894
895 * Makefile.am (install): Remove dependency on libebl.so.
896
8972003-08-13 Ulrich Drepper <drepper@redhat.com>
898
899 * eblopenbackend.c: Adjust relative path to arch-specific DSOs
900 assuming the code ends up in the application. Add second dlopen()
901 try without any path, just the filename.
902 * Makefile.in: Remove rules to build and install libebl.so.
903
9042003-08-11 Ulrich Drepper <drepper@redhat.com>
905
906 * Moved to CVS archive.