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