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