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