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