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