blob: 57ac2c8c9c34dbd6776e9eed18a7652baa4a5825 [file] [log] [blame]
Roland McGrath1d8bb252008-08-07 08:39:41 +000012008-07-28 Roland McGrath <roland@redhat.com>
2
3 * eblauxvinfo.c (AUXV_TYPES): Add EXECFN.
4
5 * eblauxvinfo.c (ebl_auxv_info): Handle missing elements of standard
6 table.
7
82008-07-04 Roland McGrath <roland@redhat.com>
9
10 * libebl.h: Declare ebl_syscall_abi.
11 * ebl_syscall_abi.c: New file.
12 * Makefile.am (gen_SOURCES): Add it.
13 * ebl-hooks.h: New hook syscall_abi.
14 * eblopenbackend.c (default_syscall_abi): New function.
15 (fill_defaults): Use it.
16
Roland McGrath13b69602008-04-01 02:30:05 +0000172008-03-31 Roland McGrath <roland@redhat.com>
18
19 * ebldynamictagname.c (ebl_dynamic_tag_name): Use hex for unknown tag.
20
21 * ebl-hooks.h: Add check_special_section hook.
22 * eblopenbackend.c (fill_defaults): Set new hook to ...
23 (default_check_special_section): ... this, new function.
24 * ebl_check_special_section.c: New file.
25 * Makefile.am (gen_SOURCES): Add it.
26 * libebl.h: Declare it.
27
Roland McGrath059c83e2008-02-21 06:19:39 +0000282008-02-20 Roland McGrath <roland@redhat.com>
29
30 * libebl.h: Declare ebl_check_object_attribute.
31 * eblcheckobjattr.c: New file.
32 * Makefile.am (gen_SOURCES): Add it.
33 * ebl-hooks.h: Add check_object_attribute hook.
34 * eblopenbackend.c (default_check_object_attribute): New function.
35 (fill_defaults): Initialize pointer to it.
36
372008-02-19 Roland McGrath <roland@redhat.com>
38
39 * eblsectiontypename.c (ebl_section_type_name):
40 Handle SHT_GNU_ATTRIBUTES.
41
422008-02-08 Roland McGrath <roland@redhat.com>
43
44 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_SPE.
45
462008-01-30 Roland McGrath <roland@redhat.com>
47
48 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_386_TLS.
49
Roland McGrathe4c22ea2007-10-23 13:07:39 +0000502007-10-18 Roland McGrath <roland@redhat.com>
51
52 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_VMX.
53
Ulrich Drepperb597dfa2007-10-16 05:21:27 +0000542007-10-11 Roland McGrath <roland@redhat.com>
55
56 * eblobjnote.c (ebl_object_note): Translate target format (byte-swap)
57 for NT_GNU_ABI_TAG contents.
58
Roland McGrathcb6d8652007-08-23 08:10:54 +0000592007-08-22 Roland McGrath <roland@redhat.com>
60
61 * libebl.h (Ebl_Core_Item): New member `group'.
62
632007-08-19 Roland McGrath <roland@redhat.com>
64
65 * ebl-hooks.h: Add new hook auxv_info.
66 * eblopenbackend.c (default_auxv_info): New function.
67 (fill_defaults): Initialize auxv_info hook.
68 * eblauxvinfo.c : New file.
69 * Makefile.am (gen_SOURCES): Add it.
70 * libebl.h: Declare ebl_auxv_info.
71
72 * eblcorenote.c: Rewritten with new signature.
73 * Makefile.am (gen_SOURCES): Add it.
74 * libebl.h (Ebl_Register_Location, Ebl_Core_Item): New types.
75 (ebl_core_note_info): Completely revamp signature.
76 * ebl-hooks.h: Update decl.
77 * eblopenbackend.c (default_core_note): Update signature.
78
Roland McGrath87d47802007-07-16 22:23:37 +0000792007-07-09 Roland McGrath <roland@redhat.com>
80
81 * eblobjnotetypename.c (ebl_object_note_type_name): Handle
82 NT_GNU_HWCAP, NT_GNU_BUILD_ID.
83
84 * eblobjnote.c (ebl_object_note): Handle NT_GNU_BUILD_ID.
85
Roland McGrath4be15242007-04-25 03:09:33 +0000862007-04-22 Roland McGrath <roland@redhat.com>
87
88 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PRXFPREG.
89
Ulrich Drepperc07fbb32007-03-30 19:14:59 +0000902007-03-10 Roland McGrath <roland@redhat.com>
91
92 * eblcorenote.c (ebl_core_note): For normally-zero types,
93 print in hex if not zero.
94
Ulrich Drepperaa915fd2007-02-05 07:25:33 +0000952007-01-11 Roland McGrath <roland@redhat.com>
96
97 * ebl-hooks.h (machine_section_flag_check): New hook.
98 * libebl.h: Declare ebl_machine_section_flag_check.
99 * eblmachinesectionflagcheck.c: New file.
100 * Makefile.am (gen_SOURCES): Add it.
101 * eblopenbackend.c (default_machine_section_flag_check): New function.
102 (fill_defaults): Use it.
103
Roland McGrathc373d852006-10-10 00:25:21 +00001042006-09-04 Roland McGrath <roland@redhat.com>
105
106 * ebl-hooks.h: Replace register_name hook with register_info.
107 Also yield natural bit width and base type encoding.
108 * eblopenbackend.c (default_register_name): Renamed
109 default_register_info, new args added.
110 (fill_defaults): Update initialization.
111 * eblregname.c: File renamed ...
112 * eblreginfo.c: ... to this.
113 (ebl_register_name): Renamed to ebl_register_info, new args added.
114 * libebl.h: Update decl.
115
116 * Makefile.am (gen_SOURCES): Update list.
117
Ulrich Drepper28ed8952006-07-07 03:43:47 +00001182006-07-06 Ulrich Drepper <drepper@redhat.com>
119
120 * ebldynamictagname.c: Add support for DT_GNU_HASH.
121 * ebldynamictagcheck.c: Likewise.
122 * eblsectiontypename.c: Add support for SHT_GNU_HASH.
123
1242006-07-05 Ulrich Drepper <drepper@redhat.com>
125
126 * Makefile.am (gen_SOURCES): Add eblsysvhashentrysize.c.
127 * libeblP.h (struct ebl): Add sysvhash_entrysize element.
128 * eblopenbackend.c (fill_defaults): Initialize sysvhash_entrysize.
129
130 * eblopenbackend.c (openbackend): If possible, fill machine, class,
131 and data values in from the ELF file.
132
1332006-07-04 Ulrich Drepper <drepper@redhat.com>
134
135 * Makefile.am (gen_SOURCES): Add eblrelativerelocp.c.
136 * eblrelativerelocp.c: New file.
137 * ebl-hooks.c: Add relative_reloc_p.
138 * eblopenbackend.c (default_relative_reloc_p): New function.
139 (fill_defaults): Hook it up.
140 * libebl.h: Declare ebl_relative_reloc_p.
141
Ulrich Drepper6ca46002006-06-12 22:40:23 +00001422006-06-12 Ulrich Drepper <drepper@redhat.com>
143
144 * Makefile.am (gen_SOURCES): Add eblnonerelocp.c.
145 * eblnonerelocp.c: New file.
146 * ebl-hooks.c: Add none_reloc_p.
147 * eblopenbackend.c (default_none_reloc_p): New function.
148 (fill_defaults): Hook it up.
149 * libebl.h: Declare ebl_none_reloc_p.
150
Ulrich Drepper41cbd762006-05-27 18:19:23 +00001512006-05-27 Ulrich Drepper <drepper@redhat.com>
152
153 * libebl.h: Add extern "C".
154
Roland McGrath994b4892005-12-05 22:46:21 +00001552005-11-25 Roland McGrath <roland@redhat.com>
156
157 * eblregname.c: New file.
158 * Makefile.am (gen_SOURCES): Add it.
159 * ebl-hooks.h: Declare register_name hook.
160 * libebl.h: Declare ebl_register_name.
161 * eblopenbackend.c (default_register_name): New function.
162 (fill_defaults): Use it.
163
Roland McGrath215c6322005-11-16 22:46:04 +00001642005-11-16 Roland McGrath <roland@redhat.com>
165
166 * libebl.h: Use "" for elf-knowledge.h, not <>.
167
Roland McGrathe47ab762005-11-17 03:16:00 +00001682005-11-15 Roland McGrath <roland@redhat.com>
169
170 * Makefile.am: Removed everything for building libebl_*.so modules,
171 now in ../backends/Makefile.am instead.
172 * alpha_init.c: Moved to ../backends.
173 * alpha_reloc.def: Likewise.
174 * alpha_retval.c: Likewise.
175 * alpha_symbol.c: Likewise.
176 * arm_init.c: Likewise.
177 * arm_reloc.def: Likewise.
178 * arm_symbol.c: Likewise.
179 * common-reloc.c: Likewise.
180 * i386_corenote.c: Likewise.
181 * i386_init.c: Likewise.
182 * i386_reloc.def: Likewise.
183 * i386_retval.c: Likewise.
184 * i386_symbol.c: Likewise.
185 * ia64_init.c: Likewise.
186 * ia64_reloc.def: Likewise.
187 * ia64_symbol.c: Likewise.
188 * libebl_CPU.h: Likewise.
189 * ppc64_init.c: Likewise.
190 * ppc64_reloc.def: Likewise.
191 * ppc64_retval.c: Likewise.
192 * ppc64_symbol.c: Likewise.
193 * ppc_init.c: Likewise.
194 * ppc_reloc.def: Likewise.
195 * ppc_retval.c: Likewise.
196 * ppc_symbol.c: Likewise.
197 * s390_init.c: Likewise.
198 * s390_reloc.def: Likewise.
199 * s390_symbol.c: Likewise.
200 * sh_init.c: Likewise.
201 * sh_reloc.def: Likewise.
202 * sh_symbol.c: Likewise.
203 * sparc_init.c: Likewise.
204 * sparc_reloc.def: Likewise.
205 * sparc_symbol.c: Likewise.
206 * x86_64_corenote.c: Likewise.
207 * x86_64_init.c: Likewise.
208 * x86_64_reloc.def: Likewise.
209 * x86_64_retval.c: Likewise.
210 * x86_64_symbol.c: Likewise.
211
212 * libebl.h: Comment fixes.
213
214 * alpha_retval.c: New file.
215 * Makefile.am (alpha_SRCS): Add it.
216 * alpha_init.c (alpha_init): Initialize return_value_location hook.
217
218 * ppc64_retval.c: New file.
219 * Makefile.am (ppc64_SRCS): Add it.
220 * ppc64_init.c (ppc64_init): Initialize return_value_location hook.
221
222 * ppc_retval.c: New file.
223 * Makefile.am (ppc_SRCS): Add it.
224 * ppc_init.c (ppc_init): Initialize return_value_location hook.
225
Roland McGrathcd60ea82005-11-16 01:57:40 +00002262005-11-14 Roland McGrath <roland@redhat.com>
227
228 * ia64_init.c (ia64_init): Initialize EH->reloc_simple_type.
229 * sh_init.c (sh_init): Likewise.
230 * x86_64_init.c (x86_64_init): Likewise.
231
232 * sparc_symbol.c (sparc_reloc_simple_type): New function.
233 * sparc_init.c (sparc_init): Use it.
234
235 * arm_symbol.c (arm_reloc_simple_type): New function.
236 * arm_init.c (arm_init): Use it.
237
238 * alpha_symbol.c (alpha_reloc_simple_type): New function.
239 * alpha_init.c (alpha_init): Use it.
240
241 * ia64_reloc.def: Update bits per H. J. Lu <hjl@lucon.org>.
242
243 * arm_reloc.def: Update bits per Daniel Jacobowitz <drow@false.org>.
244
245 * alpha_reloc.def: Update bits per Richard Henderson <rth@redhat.com>.
246
Roland McGrathe47ab762005-11-17 03:16:00 +00002472005-11-13 Roland McGrath <roland@redhat.com>
248
249 * x86_64_retval.c: New file.
250 * Makefile.am (x86_64_SRCS): Add it.
251 * x86_64_init.c (x86_64_init): Use x86_64_return_value_location.
252
253 * i386_retval.c: New file.
254 * Makefile.am (i386_SRCS): Add it.
255 (libdw): New variable.
256 (libebl_%.so): Use $(libdw) in link; use --as-needed.
257 * i386_init.c (i386_init): Use i386_return_value_location.
258
259 * eblretval.c: New file.
260 * Makefile.am (gen_SOURCES): Add it.
261 (INCLUDES): Search in libdw.
262 * libebl.h: Include <libdw.h>. Declare ebl_return_value_location.
263 * ebl-hooks.h: Declare return_value_location hook.
264 * eblopenbackend.c (default_return_value_location): New function.
265 (fill_defaults): Use it.
266
Roland McGrathcd60ea82005-11-16 01:57:40 +00002672005-11-10 Roland McGrath <roland@redhat.com>
268
269 * s390_init.c: New file.
270 * s390_reloc.def: New file.
271 * s390_symbol.c: New file.
272 * Makefile.am (modules, libebl_pic): Add s390.
273 (s390_SRCS, libebl_s390_pic_a_SOURCES): New variables.
274 (am_libebl_s390_pic_a_OBJECTS): New variable.
275
276 * ppc64_init.c: Use common-reloc.c.
277 * ppc64_symbol.c (ppc64_backend_name): Removed.
278 (ppc64_reloc_type_check, ppc64_reloc_type_name): Likewise.
279 (ppc64_copy_reloc_p, ppc64_reloc_valid_use): Likewise.
280
281 * ppc_init.c: Use common-reloc.c.
282 * ppc_symbol.c (ppc_backend_name): Removed.
283 (ppc_reloc_type_name, ppc_reloc_type_check): Likewise.
284 (ppc_reloc_valid_use, ppc_copy_reloc_p): Likewise.
285
286 * sparc_init.c: Use common-reloc.c.
287 * sparc_symbol.c (sparc_backend_name): Removed.
288 (sparc_reloc_type_name, sparc_reloc_type_check): Likewise.
289 (sparc_copy_reloc_p): Likewise.
290
291 * arm_init.c: Use common-reloc.c.
292 * arm_symbol.c (arm_backend_name): Removed.
293 (arm_reloc_type_name, arm_reloc_type_check, arm_copy_reloc_p): Removed.
294
295 * alpha_init.c: Use common-reloc.c.
296 * alpha_symbol.c (alpha_backend_name): Removed.
297 (alpha_reloc_type_name, alpha_reloc_type_check): Likewise.
298 (alpha_copy_reloc_p): Likewise.
299
300 * ia64_symbol.c (ia64_backend_name): Removed.
301 (ia64_reloc_type_name, ia64_reloc_type_check): Likewise.
302 (ia64_copy_reloc_p): Likewise.
303
304 * x86_64_init.c: Use common-reloc.c.
305 * x86_64_symbol.c (x86_64_backend_name): Removed.
306 (x86_64_copy_reloc_p, x86_64_reloc_valid_use): Likewise.
307 (x86_64_reloc_type_check, x86_64_reloc_type_name): Likewise.
308
309 * sh_init.c: Use common-reloc.c.
310 * sh_symbol.c: All functions removed.
311 (sh_reloc_simple_type): New function.
312 (sh_gotpc_reloc_check): New function.
313
314 * common-reloc.c: New file.
315 * Makefile.am (noinst_HEADERS): Add it.
316 * i386_init.c: Include it.
317
318 * sh_reloc.def: New file.
319 * i386_reloc.def: New file.
320 * alpha_reloc.def: New file.
321 * arm_reloc.def: New file.
322 * i386_reloc.def: New file.
323 * ia64_reloc.def: New file.
324 * ppc64_reloc.def: New file.
325 * ppc_reloc.def: New file.
326 * sh_reloc.def: New file.
327 * sparc_reloc.def: New file.
328 * x86_64_reloc.def: New file.
329 * Makefile.am (EXTRA_DIST): Add $(modules:=_reloc.def).
330
331 * libebl_alpha.map: Removed.
332 * libebl_ia64.map: Removed.
333 * libebl_ppc.map: Removed.
334 * libebl_sparc.map: Removed.
335 * libebl_arm.map: Removed.
336 * libebl_i386.map: Removed.
337 * libebl_ppc64.map: Removed.
338 * libebl_sh.map: Removed.
339 * libebl_x86_64.map: Removed.
340 * Makefile.am (EXTRA_DIST): Remove them.
341 (libebl_%.map, libebl_%.so): New pattern rules.
342
343 * libebl_alpha.h: Removed.
344 * libebl_ia64.h: Removed.
345 * libebl_ppc.h: Removed.
346 * libebl_sparc.h: Removed.
347 * libebl_arm.h: Removed.
348 * libebl_i386.h: Removed.
349 * libebl_ppc64.h: Removed.
350 * libebl_sh.h: Removed.
351 * libebl_x86_64.h: Removed.
352 * Makefile.am (noinst_HEADERS): Remove them.
353
354 * x86_64_corenote.c: Use libebl_CPU.h instead.
355 * x86_64_symbol.c: Likewise.
356 * i386_corenote.c: Likewise.
357
3582005-11-09 Roland McGrath <roland@redhat.com>
359
360 * ia64_symbol.c (ia64_reloc_simple_type): New function.
361
362 * ebl-hooks.h (reloc_simple_type): Take the Ebl handle, not Elf handle.
363 * eblrelocsimpletype.c (ebl_reloc_simple_type): Update caller.
364 * eblopenbackend.c (default_reloc_simple_type): Update signature.
365 * i386_symbol.c (i386_reloc_simple_type): Likewise.
366 * ppc64_symbol.c (ppc64_reloc_simple_type): Likewise.
367 * ppc_symbol.c (ppc_reloc_simple_type): Likewise.
368 * x86_64_symbol.c (x86_64_reloc_simple_type): Likewise.
369
370 * i386_symbol.c (i386_backend_name): Removed.
371 (i386_reloc_type_name, i386_reloc_type_check): Likewise.
372 (i386_reloc_valid_use): Removed.
373 (i386_copy_reloc_p): Removed.
374
375 * alpha_destr.c: Removed.
376 * arm_destr.c: Removed.
377 * i386_destr.c: Removed.
378 * ia64_destr.c: Removed.
379 * ppc64_destr.c: Removed.
380 * ppc_destr.c: Removed.
381 * sh_destr.c: Removed.
382 * sparc_destr.c: Removed.
383 * x86_64_destr.c: Removed.
384
385 * ebl-hooks.h: New file, broken out of ...
386 * libeblP.h (struct ebl): ... here. #include that for hook
387 declarations, after defining EBLHOOK macro.
388 * libebl_CPU.h: New file.
389 * Makefile.am (noinst_HEADERS): Add them.
390
391 * libeblP.h (struct ebl): Use uint_fast16_t for machine,
392 and uint_fast8_t for class and data.
393
3942005-08-14 Roland McGrath <roland@redhat.com>
395
396 * ia64_symbol.c (ia64_section_type_name): New function.
397 (ia64_dynamic_tag_check): New function.
398 (ia64_reloc_valid_use): New function.
399 * libebl_ia64.h: Declare them.
400 * ia64_init.c (ia64_init): Use them.
401 * Makefile.am (libebl_ia64.so): Link with libelf.
402
Ulrich Drepperfbe998a2005-08-29 16:27:10 +00004032005-08-28 Ulrich Drepper <drepper@redhat.com>
404
405 * Makefile.am: Use $(LINK) not $(CC) when creating DSOs.
406
Roland McGrathe53d04a2005-08-13 20:56:07 +00004072005-08-13 Roland McGrath <roland@redhat.com>
408
409 * ia64_symbol.c (ia64_machine_flag_check): New function.
410 * libebl_ia64.h: Declare it.
411 * ia64_init.c (ia64_init): Use it.
412
Ulrich Drepperc5c33a62005-08-13 17:50:47 +00004132005-08-13 Ulrich Drepper <drepper@redhat.com>
414
415 * libebl.h: Add ehdr parameter to ebl_bss_plt_p and
416 ebl_check_special_symbol.
417 * libeblP.h (struct ebl): Adjust callback functions.
418 * eblopenbackend.c: Adjust dummy functions.
419 * ebl_check_special_symbol.c: Add parameter and pass it on.
420 * eblbsspltp.c: Likewise.
421 * ppc_symbol.c (find_dyn_got): With ehdr passed, simplify search for
422 the dynamic section entry.
423 (ppc_check_special_symbol): Add ehdr parameter.
424 (ppc_bss_plt_p): Likewise.
425 * libebl_ppc.h: Adjust prototypes.
426 * ppc64_symbol.c (ppc_check_special_symbol): Add ehdr parameter.
427 (ppc_bss_plt_p): Likewise.
428 * libebl_ppc64.h: Adjust prototypes.
429
Roland McGrath653d3762005-08-13 01:59:10 +00004302005-08-12 Roland McGrath <roland@redhat.com>
431
Roland McGrathf8873cb2005-08-13 03:26:06 +0000432 * ppc_symbol.c (find_dyn_got): New function, broken out of ...
433 (ppc_bss_plt_p): ... here. Call that.
434 (ppc_check_special_symbol): Use find_dyn_got to fetch value to check
435 against _GLOBAL_OFFSET_TABLE_.
436
Roland McGrath653d3762005-08-13 01:59:10 +0000437 * libeblP.h (struct ebl): Add bss_plt_p hook.
438 * eblopenbackend.c (default_bss_plt_p): New function.
439 (fill_defaults): Use it.
440 * eblbsspltp.c: New file.
441 * Makefile.am (gen_SOURCES): Add it.
442 * libebl.h: Declare ebl_bss_plt_p.
443 * ppc_symbol.c (ppc_bss_plt_p): New function.
444 * libebl_ppc.h: Declare it.
445 * ppc_init.c (ppc_init): Use it.
446 * ppc64_symbol.c (ppc64_bss_plt_p): New function.
447 * libebl_ppc64.h: Declare it.
448 * ppc64_init.c (ppc64_init): Use it.
449
450 * ebl_check_special_symbol.c: New file.
451 * Makefile.am (gen_SOURCES): Add it.
452 * libebl.h: Declare ebl_check_special_symbol.
453 * libeblP.h (struct ebl): Add check_special_symbol hook.
454 * eblopenbackend.c (default_check_special_symbol): New function.
455 (fill_defaults): Use it.
456 * ppc_symbol.c (ppc_check_special_symbol): New function.
457 * libebl_ppc.h: Add prototype.
458 * ppc_init.c (ppc_init): Use it.
459 * ppc64_symbol.c (ppc64_check_special_symbol): New function.
460 * libebl_ppc64.h: Add prototype.
461 * ppc64_init.c (ppc64_init): Use it.
462
Ulrich Drepperb03b0572005-08-07 08:12:22 +00004632005-08-07 Ulrich Drepper <drepper@redhat.com>
464
465 * ppc_init.c: Add support for new DT_PPC_* and R_PPC_* values.
466 * ppc_symbol.c: Likewise.
467 * libebl_ppc.h: Likewise.
468 * ppc64_init.c: There is now also a dynamic_tag_check functions
469 * ppc64_symbol.c: Add dynamic_tag_check.
470 * libebl_ppc64.h: Add prototype.
471 * alpha_init.c: Add support for new DT_ALPHA_* value.
472 * alpha_symbol.c: Likewise.
473 * libebl_alpha.h: Likewise.
474
Ulrich Drepper6fcb3832005-08-03 21:10:49 +00004752005-08-03 Ulrich Drepper <drepper@redhat.com>
476
477 * libebl_alpha.map: Remove unnecessary exports.
478 * libebl_arm.map: Likewise.
479 * libebl_i386.map: Likewise.
480 * libebl_ia64.map: Likewise.
481 * libebl_ppc.map: Likewise.
482 * libebl_ppc64.map: Likewise.
483 * libebl_sh.map: Likewise.
484 * libebl_sparc.map: Likewise.
485 * libebl_x86_64.map: Likewise.
486
Ulrich Dreppera38998e2005-08-03 02:05:39 +00004872005-08-02 Ulrich Drepper <drepper@redhat.com>
488
489 * Makefile.am (libebl_a_SOURCES): Add eblelfclass.c, eblelfdata.c,
490 and eblelfmachine.c.
491 * elbopenbackend.c (machines): Add class and data fields. Initialize
492 them.
493 (ebl_openbackend): Initialize machine, class, data fields in result.
494 * libebl.h: Declare Add eblelfclass, eblelfdata, and eblelfmachine.
495 * libeblP.h (Ebl): Add machine, class, data fields.
496
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00004972005-07-23 Ulrich Drepper <drepper@redhat.com>
498
499 * eblsectionstripp.c: New file.
500 * Makefile.am (gen_SOURCES): Add eblsectionstripp.c.
501 * i386_init.c (i386_init): Install specific debugscn_p callback.
502 * i386_symbol.c (i386_debugscn_p): New function.
503 * libebl.h: Declare ebl_section_strip_p.
504 * libebl_i386.h: Declare i386_debugscn_p.
505
506 * libebl.h: Move Ebl definition to...
507 * libeblP.h: ...here.
508
5092005-07-21 Roland McGrath <roland@redhat.com>
510
511 * Makefile.am (install-ebl-modules): New target, commands from ...
512 (install): ... here. Make this depend on it.
513 (LIBEBL_SUBDIR): New variable, substituted by configure.
514 (install-ebl-modules): Install in $(libdir)/$(LIBEBL_SUBDIR).
515 * eblopenbackend.c (openbackend): Use LIBEBL_SUBDIR in module name.
516
5172005-07-21 Ulrich Drepper <drepper@redhat.com>
518
519 * eblcopyrelocp.c: New file.
520 * Makefile.am (gen_SOURCES): Add eblcopyrelocp.c.
521 * libebl.h: Declare ebl_copy_reloc_p.
522 * eblopenbackend.c (fill_defaults): Fill in copy_reloc_p.
523 (default_copy_reloc_p): New function.
524 * alpha_init.c: Define and use arch-specific copy_reloc_p function.
525 * alpha_symbol.c: Likewise.
526 * arm_init.c: Likewise.
527 * arm_symbol.c: Likewise.
528 * i386_init.c: Likewise.
529 * i386_symbol.c: Likewise.
530 * ia64_init.c: Likewise.
531 * ia64_symbol.c: Likewise.
532 * ppc64_init.c: Likewise.
533 * ppc64_symbol.c: Likewise.
534 * ppc_init.c: Likewise.
535 * ppc_symbol.c: Likewise.
536 * sh_init.c: Likewise.
537 * sh_symbol.c: Likewise.
538 * sparc_init.c: Likewise.
539 * sparc_symbol.c: Likewise.
540 * x86_64_init.c: Likewise.
541 * x86_64_symbol.c: Likewise.
542 * libebl_alpha.h: Declare the copy_reloc_p function.
543 * libebl_arm.h: Likewise.
544 * libebl_i386.h: Likewise.
545 * libebl_ia64.h: Likewise.
546 * libebl_ppc.h: Likewise.
547 * libebl_ppc64.h: Likewise.
548 * libebl_sh.h: Likewise.
549 * libebl_sparc.h: Likewise.
550 * libebl_x86_64.h: Likewise.
551
5522005-05-31 Roland McGrath <roland@redhat.com>
553
554 * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
555 tracking works right.
556
5572005-05-21 Ulrich Drepper <drepper@redhat.com>
558
559 * libebl_x86_64.map: Add x86_64_core_note.
560
5612005-05-19 Roland McGrath <roland@redhat.com>
562
563 * libebl_i386.map: Add i386_reloc_valid_use, i386_reloc_simple_type.
564 * libebl_ppc.map: Add ppc_reloc_simple_type.
565 * libebl_ppc64.map: Add ppc64_reloc_simple_type.
566 * libebl_x86_64.map: Add x86_64_reloc_simple_type.
567
5682005-05-11 Ulrich Drepper <drepper@redhat.com>
569
570 * eblcorenote.c: Handle new AT_* values and files with different
571 endianess.
572 * Makefile.am (x86_64_SRCS): Add x86_64_corenote.c.
573 * x86-64_corenote.c: New file.
574 * x86_64_init.c: Hook in x86_64_corenote.
575 * i386_corenote.c: Make file usable on 64-bit platforms.
576
577 * eblopenbackend.c: If modules version comparison fails, reinitialize
578 hooks.
579
5802005-05-10 Ulrich Drepper <drepper@redhat.com>
581
582 * eblopenbackend.c: Require the init function to return a string.
583 Compare it with MODVERSION from config.h.
584 * alpha_init.c: Change return type. Return MODVERSION or NULL.
585 * arm_init.c: Likewise.
586 * eblopenbackend.c: Likewise.
587 * i386_init.c: Likewise.
588 * ia64_init.c: Likewise.
589 * ppc64_init.c: Likewise.
590 * ppc_init.c: Likewise.
591 * sh_init.c: Likewise.
592 * sparc_init.c: Likewise.
593 * x86_64_init.c: Likewise.
594 * libeblP.h: Adjust ebl_bhinit_t.
595 * libebl_alpha.h: Adjust init function prototype.
596 * libebl_arm.h: Likewise.
597 * libebl_i386.h: Likewise.
598 * libebl_ia64.h: Likewise.
599 * libebl_ppc.h: Likewise.
600 * libebl_ppc64.h: Likewise.
601 * libebl_sh.h: Likewise.
602 * libebl_sparc.h: Likewise.
603 * libebl_x86_64.h: Likewise.
604
605 * mips_destr.c: Removed.
606 * mips_init.c: Removed.
607 * mips_symbol.c: Removed.
608 * libebl_mips.h: Removed.
609 * libebl_mips.map: Removed.
610
6112005-05-03 Roland McGrath <roland@redhat.com>
612
613 * libebl.h (Ebl): Add `reloc_simple_type' member.
614 * eblopenbackend.c (default_reloc_simple_type): New function.
615 (openbackend): Use that as default reloc_simple_type callback.
616 * eblrelocsimpletype.c: New file.
617 * Makefile.am (gen_SOURCES): Add it.
618 * i386_symbol.c (i386_reloc_simple_type): New function.
619 * libebl_i386.h: Declare it.
620 * i386_init.c (i386_init): Use it.
621 * x86_64_symbol.c (x86_64_reloc_simple_type): New function.
622 * libebl_x86_64.h: Declare it.
623 * x86_64_init.c (x86_64_init): Use it.
624 * ppc_symbol.c (ppc_reloc_simple_type): New function.
625 * libebl_ppc.h: Declare it.
626 * ppc_init.c (ppc_init): Use it.
627 * ppc64_symbol.c (ppc64_reloc_simple_type): New function.
628 * libebl_ppc64.h: Declare it.
629 * ppc64_init.c (ppc64_init): Use it.
630
6312005-03-17 Ulrich Drepper <drepper@redhat.com>
632
633 * eblcorenote.c (ebl_core_note): Add support for AT_SECURE.
634
6352005-02-15 Ulrich Drepper <drepper@redhat.com>
636
637 * Makefile.am (AM_CFLAGS): Add -Wformat=2.
638
6392005-02-14 Ulrich Drepper <drepper@redhat.com>
640
641 * alpha_destr.c: Add __attribute__((unused)) where needed.
642 * alpha_init.c: Likewise.
643 * alpha_symbol.c: Likewise.
644 * arm_destr.c: Likewise.
645 * arm_init.c: Likewise.
646 * arm_symbol.c: Likewise.
647 * i386_corenote.c: Likewise.
648 * i386_destr.c: Likewise.
649 * i386_init.c: Likewise.
650 * i386_symbol.c: Likewise.
651 * ia64_destr.c: Likewise.
652 * ia64_init.c: Likewise.
653 * ia64_symbol.c: Likewise.
654 * mips_destr.c: Likewise.
655 * mips_init.c: Likewise.
656 * mips_symbol.c: Likewise.
657 * ppc64_destr.c: Likewise.
658 * ppc64_init.c: Likewise.
659 * ppc64_symbol.c: Likewise.
660 * ppc_destr.c: Likewise.
661 * ppc_init.c: Likewise.
662 * ppc_symbol.c: Likewise.
663 * sh_destr.c: Likewise.
664 * sh_init.c: Likewise.
665 * sh_symbol.c: Likewise.
666 * sparc_destr.c: Likewise.
667 * sparc_init.c: Likewise.
668 * sparc_symbol.c: Likewise.
669 * x86_64_destr.c: Likewise.
670 * x86_64_init.c: Likewise.
671 * x86_64_symbol.c: Likewise.
672
673 * x86_64_symbol.c (reloc_map_table): Fix entries for R_X86_64_64
674 and R_X86_64_32..
675
6762005-02-06 Ulrich Drepper <drepper@redhat.com>
677
678 * eblstrtab.c: A few cleanups.
679
680 * eblopenbackend.c: Mark unused parameters.
681
682 * eblgstrtab.c: Cleanups a few printf format strings.
683
684 * Makefile.am: Cleanup AM_CFLAGS handling. Add -Wunused -Wextra.
685
6862005-02-05 Ulrich Drepper <drepper@redhat.com>
687
688 * Makefile.am: Check for text relocations in constructed DSOs.
689
690 * eblstrtab.c: Minor cleanups.
691
692 * Makefile.am (AM_CFLAGS): Add -std=gnu99 and -fmudflap for MUDFLAP.
693
6942004-08-16 Ulrich Drepper <drepper@redhat.com>
695
696 * Makefile.am (AM_CFLAGS): Add LIBSTR definition with base name of
697 the lib directory.
698 * eblopenbackend.c (openbackend): Use LIBSTR instead of hardcoded
699 lib in path to ebl modules.
700
7012004-04-01 Ulrich Drepper <drepper@redhat.com>
702
703 * Makefile.am: Add rules for ppc and ppc64 ebl module.
704 * ppc_init..c: New file.
705 * ppc_destr.c: New file.
706 * ppc_symbol.c: New file.
707 * libebl_ppc.h: New file.
708 * libebl_ppc.map: New file.
709 * ppc64_init..c: New file.
710 * ppc64_destr.c: New file.
711 * ppc64_symbol.c: New file.
712 * libebl_ppc64.h: New file.
713 * libebl_ppc64.map: New file.
714
7152004-01-20 Ulrich Drepper <drepper@redhat.com>
716
717 * Makefile.am: Support building with mudflap.
718
7192004-01-18 Ulrich Drepper <drepper@redhat.com>
720
721 * libeblP.h (_): Use elfutils domain.
722
7232004-01-16 Ulrich Drepper <drepper@redhat.com>
724
725 * eblsectionname.c: Add support for SHN_BEFORE and SHN_AFTER.
726
7272004-01-13 Ulrich Drepper <drepper@redhat.com>
728
729 * eblsegmenttypename.c ((ebl_segment_type_name): Add support for
730 PT_GNU_RELRO.
731
7322004-01-08 Ulrich Drepper <drepper@redhat.com>
733
734 * libebl.h: Remove last traces of libtool.
735
7362004-01-05 Ulrich Drepper <drepper@redhat.com>
737
738 * elf-knowledge.h: Move to libelf subdir.
739
740 * Makefile.am (EXTRA_DIST): Remove libebl.map.
741 * libebl.map: Removed.
742
7432003-12-08 Ulrich Drepper <drepper@redhat.com>
744
745 * eblsectiontypename.c (ebl_section_type_name): Add support for
746 SHT_SUNW_move, SHT_CHECKSUM, and SHT_GNU_LIBLIST.
747
7482003-11-19 Ulrich Drepper <drepper@redhat.com>
749
750 * ia64_symbol.c (ia64_dynamic_tag_name): New function.
751 * libebl_ia64.h (ia64_dynamic_tag_name): Declare.
752 * ia64_init.c (ia64_init): Register i164_dynamic_tag_name.
753
7542003-09-24 Ulrich Drepper <drepper@redhat.com>
755
756 * ia64_init.c (ia64_init): Initialize segment_type_name callback.
757 * ia64_symbol.c (ia64_segment_type_name): Define.
758 * libebl_ia64.h (ia64_segment_type_name): Declare.
759
7602003-09-22 Ulrich Drepper <drepper@redhat.com>
761
762 * Makefile.am (AM_CFLAGS): Add -fpic.
763
7642003-08-14 Ulrich Drepper <drepper@redhat.com>
765
766 * Makefile.am (install): Remove dependency on libebl.so.
767
7682003-08-13 Ulrich Drepper <drepper@redhat.com>
769
770 * eblopenbackend.c: Adjust relative path to arch-specific DSOs
771 assuming the code ends up in the application. Add second dlopen()
772 try without any path, just the filename.
773 * Makefile.in: Remove rules to build and install libebl.so.
774
7752003-08-11 Ulrich Drepper <drepper@redhat.com>
776
777 * Moved to CVS archive.