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