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