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