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