blob: 97315f0084af7f27c3e4acac4b4d5f3f9b37d20c [file] [log] [blame]
Marek Polacekcde0b272011-03-21 23:46:56 +010012011-03-21 Marek Polacek <mpolacek@redhat.com>
2
3 * ebldynamictagname.c: Fix typo in TLSDESC_GOT.
4
Mark Wielaarda062b6b2011-03-10 13:02:32 +010052011-03-10 Mark Wielaard <mjw@redhat.com>
6
7 * Makefile.am (gen_SOURCES): Add eblstother.c.
8 * eblstother.c: New file.
9 * ebl-hooks.h: Add check_st_other_bits hook.
10 * eblopenbackend.c (default_check_st_other_bits): New function.
11 (fill_defaults): Hook default_check_st_other_bits.
12 * libebl.h (ebl_check_st_other_bits): New prototype.
13
Roland McGrath804e9ca2010-07-07 16:06:12 -0700142010-07-07 Roland McGrath <roland@redhat.com>
15
16 * eblopenbackend.c (default_debugscn_p): Match .gdb_index section.
17
Roland McGrath22359e22010-02-15 15:57:03 -0800182010-02-15 Roland McGrath <roland@redhat.com>
19
20 * Makefile.am: Use config/eu.am for common stuff.
21
Roland McGrath0ccbbcd2010-01-04 21:59:07 -0800222010-01-04 Roland McGrath <roland@redhat.com>
23
24 * eblcorenote.c (ebl_core_note): Take GElf_Nhdr * and name data
25 pointer instead of only n_type and n_descsz.
26 * libebl.h: Update declaration.
27 * ebl-hooks.h: Update core_note hook signature.
28 * eblopenbackend.c (default_core_note): Likewise.
29
Roland McGrathf80c9072009-10-14 12:35:47 -0700302009-10-14 Roland McGrath <roland@redhat.com>
31
32 * eblobjnote.c (ebl_object_note): Clean up NT_GNU_GOLD_VERSION printing.
33
Roland McGratha14b4eb2009-10-05 11:32:26 -0700342009-10-05 Roland McGrath <roland@redhat.com>
35
36 * eblopenbackend.c (default_debugscn_p): Match .debug_pubtypes and
37 .debug_types too.
38
Petr Machatad3a8b2d2009-09-02 20:46:08 +0200392009-09-02 Petr Machata <pmachata@redhat.com>
40
41 * libebl/eblstrtab.c (morememory): Allocate memory in multiples of
42 pagesize.
43
Petr Machata077a7082009-08-06 18:45:08 +0200442009-08-06 Petr Machata <pmachata@redhat.com>
45
46 * libebl/eblstrtab.c (ebl_strtabfinalize): Only call copystrings
47 if we have any strings to copy.
48
Mark Wielaardbc1b92e2009-07-26 08:33:18 -0700492009-07-26 Mark Wielaard <mjw@redhat.com>
50
Mark Wielaard2f5b79e2009-07-26 14:49:26 -070051 * eblobjnote.c (ebl_object_note): Handle NT_GNU_GOLD_VERSION.
52
Mark Wielaardbc1b92e2009-07-26 08:33:18 -070053 * eblobjnotetypename.c (ebl_object_note_type_name): Recognize
54 NT_GNU_GOLD_VERSION.
55
Roland McGrath3c84db32009-06-24 17:41:40 -0700562009-07-08 Roland McGrath <roland@redhat.com>
57
58 * ebl-hooks.h: Add abi_cfi hook.
59 * eblopenbackend.c (default_abi_cfi): New function.
60 (fill_defaults): Add initializer.
61 * eblabicfi.c: New file.
62 * Makefile.am (gen_SOURCES): Add it.
63 * libebl.h: Declare ebl_abi_cfi.
64
Ulrich Drepper70c442c2009-07-08 00:53:24 -0700652009-07-08 Ulrich Drepper <drepper@redhat.com>
66
67 * eblsymbolbindingname.c (ebl_symbol_binding_name): Handle
68 STB_GNU_UNIQUE.
69
70 * eblsymboltypename.c (ebl_symbol_type_name): Only handle STT_GNU_IFUNC
71 if the binary is marked as being for Linux.
72
Roland McGrathd5ff6672009-04-01 18:28:41 -0700732009-04-01 Roland McGrath <roland@redhat.com>
74
75 * eblsymboltypename.c (ebl_symbol_type_name): Add STT_GNU_IFUNC.
76
77 * eblauxvinfo.c (AUXV_TYPES): Add RANDOM and BASE_PLATFORM.
78
Ulrich Drepper95fa15e2009-02-01 19:06:10 -0800792009-02-01 Ulrich Drepper <drepper@redhat.com>
80
81 * eblreloctypename.c (ebl_reloc_type_name): Return "<INVALID RELOC>"
82 instead of "???" for invalid relocations.
83
Roland McGratha845f682008-12-03 03:41:58 +0000842008-08-01 Roland McGrath <roland@redhat.com>
85
86 * eblcorenotetypename.c: Handle NT_386_IOPERM.
87
Roland McGrath1d8bb252008-08-07 08:39:41 +0000882008-07-28 Roland McGrath <roland@redhat.com>
89
90 * eblauxvinfo.c (AUXV_TYPES): Add EXECFN.
91
92 * eblauxvinfo.c (ebl_auxv_info): Handle missing elements of standard
93 table.
94
952008-07-04 Roland McGrath <roland@redhat.com>
96
97 * libebl.h: Declare ebl_syscall_abi.
98 * ebl_syscall_abi.c: New file.
99 * Makefile.am (gen_SOURCES): Add it.
100 * ebl-hooks.h: New hook syscall_abi.
101 * eblopenbackend.c (default_syscall_abi): New function.
102 (fill_defaults): Use it.
103
Roland McGrath13b69602008-04-01 02:30:05 +00001042008-03-31 Roland McGrath <roland@redhat.com>
105
106 * ebldynamictagname.c (ebl_dynamic_tag_name): Use hex for unknown tag.
107
108 * ebl-hooks.h: Add check_special_section hook.
109 * eblopenbackend.c (fill_defaults): Set new hook to ...
110 (default_check_special_section): ... this, new function.
111 * ebl_check_special_section.c: New file.
112 * Makefile.am (gen_SOURCES): Add it.
113 * libebl.h: Declare it.
114
Roland McGrath059c83e2008-02-21 06:19:39 +00001152008-02-20 Roland McGrath <roland@redhat.com>
116
117 * libebl.h: Declare ebl_check_object_attribute.
118 * eblcheckobjattr.c: New file.
119 * Makefile.am (gen_SOURCES): Add it.
120 * ebl-hooks.h: Add check_object_attribute hook.
121 * eblopenbackend.c (default_check_object_attribute): New function.
122 (fill_defaults): Initialize pointer to it.
123
1242008-02-19 Roland McGrath <roland@redhat.com>
125
126 * eblsectiontypename.c (ebl_section_type_name):
127 Handle SHT_GNU_ATTRIBUTES.
128
1292008-02-08 Roland McGrath <roland@redhat.com>
130
131 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_SPE.
132
1332008-01-30 Roland McGrath <roland@redhat.com>
134
135 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_386_TLS.
136
Roland McGrathe4c22ea2007-10-23 13:07:39 +00001372007-10-18 Roland McGrath <roland@redhat.com>
138
139 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_VMX.
140
Ulrich Drepperb597dfa2007-10-16 05:21:27 +00001412007-10-11 Roland McGrath <roland@redhat.com>
142
143 * eblobjnote.c (ebl_object_note): Translate target format (byte-swap)
144 for NT_GNU_ABI_TAG contents.
145
Roland McGrathcb6d8652007-08-23 08:10:54 +00001462007-08-22 Roland McGrath <roland@redhat.com>
147
148 * libebl.h (Ebl_Core_Item): New member `group'.
149
1502007-08-19 Roland McGrath <roland@redhat.com>
151
152 * ebl-hooks.h: Add new hook auxv_info.
153 * eblopenbackend.c (default_auxv_info): New function.
154 (fill_defaults): Initialize auxv_info hook.
155 * eblauxvinfo.c : New file.
156 * Makefile.am (gen_SOURCES): Add it.
157 * libebl.h: Declare ebl_auxv_info.
158
159 * eblcorenote.c: Rewritten with new signature.
160 * Makefile.am (gen_SOURCES): Add it.
161 * libebl.h (Ebl_Register_Location, Ebl_Core_Item): New types.
162 (ebl_core_note_info): Completely revamp signature.
163 * ebl-hooks.h: Update decl.
164 * eblopenbackend.c (default_core_note): Update signature.
165
Roland McGrath87d47802007-07-16 22:23:37 +00001662007-07-09 Roland McGrath <roland@redhat.com>
167
168 * eblobjnotetypename.c (ebl_object_note_type_name): Handle
169 NT_GNU_HWCAP, NT_GNU_BUILD_ID.
170
171 * eblobjnote.c (ebl_object_note): Handle NT_GNU_BUILD_ID.
172
Roland McGrath4be15242007-04-25 03:09:33 +00001732007-04-22 Roland McGrath <roland@redhat.com>
174
175 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PRXFPREG.
176
Ulrich Drepperc07fbb32007-03-30 19:14:59 +00001772007-03-10 Roland McGrath <roland@redhat.com>
178
179 * eblcorenote.c (ebl_core_note): For normally-zero types,
180 print in hex if not zero.
181
Ulrich Drepperaa915fd2007-02-05 07:25:33 +00001822007-01-11 Roland McGrath <roland@redhat.com>
183
184 * ebl-hooks.h (machine_section_flag_check): New hook.
185 * libebl.h: Declare ebl_machine_section_flag_check.
186 * eblmachinesectionflagcheck.c: New file.
187 * Makefile.am (gen_SOURCES): Add it.
188 * eblopenbackend.c (default_machine_section_flag_check): New function.
189 (fill_defaults): Use it.
190
Roland McGrathc373d852006-10-10 00:25:21 +00001912006-09-04 Roland McGrath <roland@redhat.com>
192
193 * ebl-hooks.h: Replace register_name hook with register_info.
194 Also yield natural bit width and base type encoding.
195 * eblopenbackend.c (default_register_name): Renamed
196 default_register_info, new args added.
197 (fill_defaults): Update initialization.
198 * eblregname.c: File renamed ...
199 * eblreginfo.c: ... to this.
200 (ebl_register_name): Renamed to ebl_register_info, new args added.
201 * libebl.h: Update decl.
202
203 * Makefile.am (gen_SOURCES): Update list.
204
Ulrich Drepper28ed8952006-07-07 03:43:47 +00002052006-07-06 Ulrich Drepper <drepper@redhat.com>
206
207 * ebldynamictagname.c: Add support for DT_GNU_HASH.
208 * ebldynamictagcheck.c: Likewise.
209 * eblsectiontypename.c: Add support for SHT_GNU_HASH.
210
2112006-07-05 Ulrich Drepper <drepper@redhat.com>
212
213 * Makefile.am (gen_SOURCES): Add eblsysvhashentrysize.c.
214 * libeblP.h (struct ebl): Add sysvhash_entrysize element.
215 * eblopenbackend.c (fill_defaults): Initialize sysvhash_entrysize.
216
217 * eblopenbackend.c (openbackend): If possible, fill machine, class,
218 and data values in from the ELF file.
219
2202006-07-04 Ulrich Drepper <drepper@redhat.com>
221
222 * Makefile.am (gen_SOURCES): Add eblrelativerelocp.c.
223 * eblrelativerelocp.c: New file.
224 * ebl-hooks.c: Add relative_reloc_p.
225 * eblopenbackend.c (default_relative_reloc_p): New function.
226 (fill_defaults): Hook it up.
227 * libebl.h: Declare ebl_relative_reloc_p.
228
Ulrich Drepper6ca46002006-06-12 22:40:23 +00002292006-06-12 Ulrich Drepper <drepper@redhat.com>
230
231 * Makefile.am (gen_SOURCES): Add eblnonerelocp.c.
232 * eblnonerelocp.c: New file.
233 * ebl-hooks.c: Add none_reloc_p.
234 * eblopenbackend.c (default_none_reloc_p): New function.
235 (fill_defaults): Hook it up.
236 * libebl.h: Declare ebl_none_reloc_p.
237
Ulrich Drepper41cbd762006-05-27 18:19:23 +00002382006-05-27 Ulrich Drepper <drepper@redhat.com>
239
240 * libebl.h: Add extern "C".
241
Roland McGrath994b4892005-12-05 22:46:21 +00002422005-11-25 Roland McGrath <roland@redhat.com>
243
244 * eblregname.c: New file.
245 * Makefile.am (gen_SOURCES): Add it.
246 * ebl-hooks.h: Declare register_name hook.
247 * libebl.h: Declare ebl_register_name.
248 * eblopenbackend.c (default_register_name): New function.
249 (fill_defaults): Use it.
250
Roland McGrath215c6322005-11-16 22:46:04 +00002512005-11-16 Roland McGrath <roland@redhat.com>
252
253 * libebl.h: Use "" for elf-knowledge.h, not <>.
254
Roland McGrathe47ab762005-11-17 03:16:00 +00002552005-11-15 Roland McGrath <roland@redhat.com>
256
257 * Makefile.am: Removed everything for building libebl_*.so modules,
258 now in ../backends/Makefile.am instead.
259 * alpha_init.c: Moved to ../backends.
260 * alpha_reloc.def: Likewise.
261 * alpha_retval.c: Likewise.
262 * alpha_symbol.c: Likewise.
263 * arm_init.c: Likewise.
264 * arm_reloc.def: Likewise.
265 * arm_symbol.c: Likewise.
266 * common-reloc.c: Likewise.
267 * i386_corenote.c: Likewise.
268 * i386_init.c: Likewise.
269 * i386_reloc.def: Likewise.
270 * i386_retval.c: Likewise.
271 * i386_symbol.c: Likewise.
272 * ia64_init.c: Likewise.
273 * ia64_reloc.def: Likewise.
274 * ia64_symbol.c: Likewise.
275 * libebl_CPU.h: Likewise.
276 * ppc64_init.c: Likewise.
277 * ppc64_reloc.def: Likewise.
278 * ppc64_retval.c: Likewise.
279 * ppc64_symbol.c: Likewise.
280 * ppc_init.c: Likewise.
281 * ppc_reloc.def: Likewise.
282 * ppc_retval.c: Likewise.
283 * ppc_symbol.c: Likewise.
284 * s390_init.c: Likewise.
285 * s390_reloc.def: Likewise.
286 * s390_symbol.c: Likewise.
287 * sh_init.c: Likewise.
288 * sh_reloc.def: Likewise.
289 * sh_symbol.c: Likewise.
290 * sparc_init.c: Likewise.
291 * sparc_reloc.def: Likewise.
292 * sparc_symbol.c: Likewise.
293 * x86_64_corenote.c: Likewise.
294 * x86_64_init.c: Likewise.
295 * x86_64_reloc.def: Likewise.
296 * x86_64_retval.c: Likewise.
297 * x86_64_symbol.c: Likewise.
298
299 * libebl.h: Comment fixes.
300
301 * alpha_retval.c: New file.
302 * Makefile.am (alpha_SRCS): Add it.
303 * alpha_init.c (alpha_init): Initialize return_value_location hook.
304
305 * ppc64_retval.c: New file.
306 * Makefile.am (ppc64_SRCS): Add it.
307 * ppc64_init.c (ppc64_init): Initialize return_value_location hook.
308
309 * ppc_retval.c: New file.
310 * Makefile.am (ppc_SRCS): Add it.
311 * ppc_init.c (ppc_init): Initialize return_value_location hook.
312
Roland McGrathcd60ea82005-11-16 01:57:40 +00003132005-11-14 Roland McGrath <roland@redhat.com>
314
315 * ia64_init.c (ia64_init): Initialize EH->reloc_simple_type.
316 * sh_init.c (sh_init): Likewise.
317 * x86_64_init.c (x86_64_init): Likewise.
318
319 * sparc_symbol.c (sparc_reloc_simple_type): New function.
320 * sparc_init.c (sparc_init): Use it.
321
322 * arm_symbol.c (arm_reloc_simple_type): New function.
323 * arm_init.c (arm_init): Use it.
324
325 * alpha_symbol.c (alpha_reloc_simple_type): New function.
326 * alpha_init.c (alpha_init): Use it.
327
328 * ia64_reloc.def: Update bits per H. J. Lu <hjl@lucon.org>.
329
330 * arm_reloc.def: Update bits per Daniel Jacobowitz <drow@false.org>.
331
332 * alpha_reloc.def: Update bits per Richard Henderson <rth@redhat.com>.
333
Roland McGrathe47ab762005-11-17 03:16:00 +00003342005-11-13 Roland McGrath <roland@redhat.com>
335
336 * x86_64_retval.c: New file.
337 * Makefile.am (x86_64_SRCS): Add it.
338 * x86_64_init.c (x86_64_init): Use x86_64_return_value_location.
339
340 * i386_retval.c: New file.
341 * Makefile.am (i386_SRCS): Add it.
342 (libdw): New variable.
343 (libebl_%.so): Use $(libdw) in link; use --as-needed.
344 * i386_init.c (i386_init): Use i386_return_value_location.
345
346 * eblretval.c: New file.
347 * Makefile.am (gen_SOURCES): Add it.
348 (INCLUDES): Search in libdw.
349 * libebl.h: Include <libdw.h>. Declare ebl_return_value_location.
350 * ebl-hooks.h: Declare return_value_location hook.
351 * eblopenbackend.c (default_return_value_location): New function.
352 (fill_defaults): Use it.
353
Roland McGrathcd60ea82005-11-16 01:57:40 +00003542005-11-10 Roland McGrath <roland@redhat.com>
355
356 * s390_init.c: New file.
357 * s390_reloc.def: New file.
358 * s390_symbol.c: New file.
359 * Makefile.am (modules, libebl_pic): Add s390.
360 (s390_SRCS, libebl_s390_pic_a_SOURCES): New variables.
361 (am_libebl_s390_pic_a_OBJECTS): New variable.
362
363 * ppc64_init.c: Use common-reloc.c.
364 * ppc64_symbol.c (ppc64_backend_name): Removed.
365 (ppc64_reloc_type_check, ppc64_reloc_type_name): Likewise.
366 (ppc64_copy_reloc_p, ppc64_reloc_valid_use): Likewise.
367
368 * ppc_init.c: Use common-reloc.c.
369 * ppc_symbol.c (ppc_backend_name): Removed.
370 (ppc_reloc_type_name, ppc_reloc_type_check): Likewise.
371 (ppc_reloc_valid_use, ppc_copy_reloc_p): Likewise.
372
373 * sparc_init.c: Use common-reloc.c.
374 * sparc_symbol.c (sparc_backend_name): Removed.
375 (sparc_reloc_type_name, sparc_reloc_type_check): Likewise.
376 (sparc_copy_reloc_p): Likewise.
377
378 * arm_init.c: Use common-reloc.c.
379 * arm_symbol.c (arm_backend_name): Removed.
380 (arm_reloc_type_name, arm_reloc_type_check, arm_copy_reloc_p): Removed.
381
382 * alpha_init.c: Use common-reloc.c.
383 * alpha_symbol.c (alpha_backend_name): Removed.
384 (alpha_reloc_type_name, alpha_reloc_type_check): Likewise.
385 (alpha_copy_reloc_p): Likewise.
386
387 * ia64_symbol.c (ia64_backend_name): Removed.
388 (ia64_reloc_type_name, ia64_reloc_type_check): Likewise.
389 (ia64_copy_reloc_p): Likewise.
390
391 * x86_64_init.c: Use common-reloc.c.
392 * x86_64_symbol.c (x86_64_backend_name): Removed.
393 (x86_64_copy_reloc_p, x86_64_reloc_valid_use): Likewise.
394 (x86_64_reloc_type_check, x86_64_reloc_type_name): Likewise.
395
396 * sh_init.c: Use common-reloc.c.
397 * sh_symbol.c: All functions removed.
398 (sh_reloc_simple_type): New function.
399 (sh_gotpc_reloc_check): New function.
400
401 * common-reloc.c: New file.
402 * Makefile.am (noinst_HEADERS): Add it.
403 * i386_init.c: Include it.
404
405 * sh_reloc.def: New file.
406 * i386_reloc.def: New file.
407 * alpha_reloc.def: New file.
408 * arm_reloc.def: New file.
409 * i386_reloc.def: New file.
410 * ia64_reloc.def: New file.
411 * ppc64_reloc.def: New file.
412 * ppc_reloc.def: New file.
413 * sh_reloc.def: New file.
414 * sparc_reloc.def: New file.
415 * x86_64_reloc.def: New file.
416 * Makefile.am (EXTRA_DIST): Add $(modules:=_reloc.def).
417
418 * libebl_alpha.map: Removed.
419 * libebl_ia64.map: Removed.
420 * libebl_ppc.map: Removed.
421 * libebl_sparc.map: Removed.
422 * libebl_arm.map: Removed.
423 * libebl_i386.map: Removed.
424 * libebl_ppc64.map: Removed.
425 * libebl_sh.map: Removed.
426 * libebl_x86_64.map: Removed.
427 * Makefile.am (EXTRA_DIST): Remove them.
428 (libebl_%.map, libebl_%.so): New pattern rules.
429
430 * libebl_alpha.h: Removed.
431 * libebl_ia64.h: Removed.
432 * libebl_ppc.h: Removed.
433 * libebl_sparc.h: Removed.
434 * libebl_arm.h: Removed.
435 * libebl_i386.h: Removed.
436 * libebl_ppc64.h: Removed.
437 * libebl_sh.h: Removed.
438 * libebl_x86_64.h: Removed.
439 * Makefile.am (noinst_HEADERS): Remove them.
440
441 * x86_64_corenote.c: Use libebl_CPU.h instead.
442 * x86_64_symbol.c: Likewise.
443 * i386_corenote.c: Likewise.
444
4452005-11-09 Roland McGrath <roland@redhat.com>
446
447 * ia64_symbol.c (ia64_reloc_simple_type): New function.
448
449 * ebl-hooks.h (reloc_simple_type): Take the Ebl handle, not Elf handle.
450 * eblrelocsimpletype.c (ebl_reloc_simple_type): Update caller.
451 * eblopenbackend.c (default_reloc_simple_type): Update signature.
452 * i386_symbol.c (i386_reloc_simple_type): Likewise.
453 * ppc64_symbol.c (ppc64_reloc_simple_type): Likewise.
454 * ppc_symbol.c (ppc_reloc_simple_type): Likewise.
455 * x86_64_symbol.c (x86_64_reloc_simple_type): Likewise.
456
457 * i386_symbol.c (i386_backend_name): Removed.
458 (i386_reloc_type_name, i386_reloc_type_check): Likewise.
459 (i386_reloc_valid_use): Removed.
460 (i386_copy_reloc_p): Removed.
461
462 * alpha_destr.c: Removed.
463 * arm_destr.c: Removed.
464 * i386_destr.c: Removed.
465 * ia64_destr.c: Removed.
466 * ppc64_destr.c: Removed.
467 * ppc_destr.c: Removed.
468 * sh_destr.c: Removed.
469 * sparc_destr.c: Removed.
470 * x86_64_destr.c: Removed.
471
472 * ebl-hooks.h: New file, broken out of ...
473 * libeblP.h (struct ebl): ... here. #include that for hook
474 declarations, after defining EBLHOOK macro.
475 * libebl_CPU.h: New file.
476 * Makefile.am (noinst_HEADERS): Add them.
477
478 * libeblP.h (struct ebl): Use uint_fast16_t for machine,
479 and uint_fast8_t for class and data.
480
4812005-08-14 Roland McGrath <roland@redhat.com>
482
483 * ia64_symbol.c (ia64_section_type_name): New function.
484 (ia64_dynamic_tag_check): New function.
485 (ia64_reloc_valid_use): New function.
486 * libebl_ia64.h: Declare them.
487 * ia64_init.c (ia64_init): Use them.
488 * Makefile.am (libebl_ia64.so): Link with libelf.
489
Ulrich Drepperfbe998a2005-08-29 16:27:10 +00004902005-08-28 Ulrich Drepper <drepper@redhat.com>
491
492 * Makefile.am: Use $(LINK) not $(CC) when creating DSOs.
493
Roland McGrathe53d04a2005-08-13 20:56:07 +00004942005-08-13 Roland McGrath <roland@redhat.com>
495
496 * ia64_symbol.c (ia64_machine_flag_check): New function.
497 * libebl_ia64.h: Declare it.
498 * ia64_init.c (ia64_init): Use it.
499
Ulrich Drepperc5c33a62005-08-13 17:50:47 +00005002005-08-13 Ulrich Drepper <drepper@redhat.com>
501
502 * libebl.h: Add ehdr parameter to ebl_bss_plt_p and
503 ebl_check_special_symbol.
504 * libeblP.h (struct ebl): Adjust callback functions.
505 * eblopenbackend.c: Adjust dummy functions.
506 * ebl_check_special_symbol.c: Add parameter and pass it on.
507 * eblbsspltp.c: Likewise.
508 * ppc_symbol.c (find_dyn_got): With ehdr passed, simplify search for
509 the dynamic section entry.
510 (ppc_check_special_symbol): Add ehdr parameter.
511 (ppc_bss_plt_p): Likewise.
512 * libebl_ppc.h: Adjust prototypes.
513 * ppc64_symbol.c (ppc_check_special_symbol): Add ehdr parameter.
514 (ppc_bss_plt_p): Likewise.
515 * libebl_ppc64.h: Adjust prototypes.
516
Roland McGrath653d3762005-08-13 01:59:10 +00005172005-08-12 Roland McGrath <roland@redhat.com>
518
Roland McGrathf8873cb2005-08-13 03:26:06 +0000519 * ppc_symbol.c (find_dyn_got): New function, broken out of ...
520 (ppc_bss_plt_p): ... here. Call that.
521 (ppc_check_special_symbol): Use find_dyn_got to fetch value to check
522 against _GLOBAL_OFFSET_TABLE_.
523
Roland McGrath653d3762005-08-13 01:59:10 +0000524 * libeblP.h (struct ebl): Add bss_plt_p hook.
525 * eblopenbackend.c (default_bss_plt_p): New function.
526 (fill_defaults): Use it.
527 * eblbsspltp.c: New file.
528 * Makefile.am (gen_SOURCES): Add it.
529 * libebl.h: Declare ebl_bss_plt_p.
530 * ppc_symbol.c (ppc_bss_plt_p): New function.
531 * libebl_ppc.h: Declare it.
532 * ppc_init.c (ppc_init): Use it.
533 * ppc64_symbol.c (ppc64_bss_plt_p): New function.
534 * libebl_ppc64.h: Declare it.
535 * ppc64_init.c (ppc64_init): Use it.
536
537 * ebl_check_special_symbol.c: New file.
538 * Makefile.am (gen_SOURCES): Add it.
539 * libebl.h: Declare ebl_check_special_symbol.
540 * libeblP.h (struct ebl): Add check_special_symbol hook.
541 * eblopenbackend.c (default_check_special_symbol): New function.
542 (fill_defaults): Use it.
543 * ppc_symbol.c (ppc_check_special_symbol): New function.
544 * libebl_ppc.h: Add prototype.
545 * ppc_init.c (ppc_init): Use it.
546 * ppc64_symbol.c (ppc64_check_special_symbol): New function.
547 * libebl_ppc64.h: Add prototype.
548 * ppc64_init.c (ppc64_init): Use it.
549
Ulrich Drepperb03b0572005-08-07 08:12:22 +00005502005-08-07 Ulrich Drepper <drepper@redhat.com>
551
552 * ppc_init.c: Add support for new DT_PPC_* and R_PPC_* values.
553 * ppc_symbol.c: Likewise.
554 * libebl_ppc.h: Likewise.
555 * ppc64_init.c: There is now also a dynamic_tag_check functions
556 * ppc64_symbol.c: Add dynamic_tag_check.
557 * libebl_ppc64.h: Add prototype.
558 * alpha_init.c: Add support for new DT_ALPHA_* value.
559 * alpha_symbol.c: Likewise.
560 * libebl_alpha.h: Likewise.
561
Ulrich Drepper6fcb3832005-08-03 21:10:49 +00005622005-08-03 Ulrich Drepper <drepper@redhat.com>
563
564 * libebl_alpha.map: Remove unnecessary exports.
565 * libebl_arm.map: Likewise.
566 * libebl_i386.map: Likewise.
567 * libebl_ia64.map: Likewise.
568 * libebl_ppc.map: Likewise.
569 * libebl_ppc64.map: Likewise.
570 * libebl_sh.map: Likewise.
571 * libebl_sparc.map: Likewise.
572 * libebl_x86_64.map: Likewise.
573
Ulrich Dreppera38998e2005-08-03 02:05:39 +00005742005-08-02 Ulrich Drepper <drepper@redhat.com>
575
576 * Makefile.am (libebl_a_SOURCES): Add eblelfclass.c, eblelfdata.c,
577 and eblelfmachine.c.
578 * elbopenbackend.c (machines): Add class and data fields. Initialize
579 them.
580 (ebl_openbackend): Initialize machine, class, data fields in result.
581 * libebl.h: Declare Add eblelfclass, eblelfdata, and eblelfmachine.
582 * libeblP.h (Ebl): Add machine, class, data fields.
583
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00005842005-07-23 Ulrich Drepper <drepper@redhat.com>
585
586 * eblsectionstripp.c: New file.
587 * Makefile.am (gen_SOURCES): Add eblsectionstripp.c.
588 * i386_init.c (i386_init): Install specific debugscn_p callback.
589 * i386_symbol.c (i386_debugscn_p): New function.
590 * libebl.h: Declare ebl_section_strip_p.
591 * libebl_i386.h: Declare i386_debugscn_p.
592
593 * libebl.h: Move Ebl definition to...
594 * libeblP.h: ...here.
595
5962005-07-21 Roland McGrath <roland@redhat.com>
597
598 * Makefile.am (install-ebl-modules): New target, commands from ...
599 (install): ... here. Make this depend on it.
600 (LIBEBL_SUBDIR): New variable, substituted by configure.
601 (install-ebl-modules): Install in $(libdir)/$(LIBEBL_SUBDIR).
602 * eblopenbackend.c (openbackend): Use LIBEBL_SUBDIR in module name.
603
6042005-07-21 Ulrich Drepper <drepper@redhat.com>
605
606 * eblcopyrelocp.c: New file.
607 * Makefile.am (gen_SOURCES): Add eblcopyrelocp.c.
608 * libebl.h: Declare ebl_copy_reloc_p.
609 * eblopenbackend.c (fill_defaults): Fill in copy_reloc_p.
610 (default_copy_reloc_p): New function.
611 * alpha_init.c: Define and use arch-specific copy_reloc_p function.
612 * alpha_symbol.c: Likewise.
613 * arm_init.c: Likewise.
614 * arm_symbol.c: Likewise.
615 * i386_init.c: Likewise.
616 * i386_symbol.c: Likewise.
617 * ia64_init.c: Likewise.
618 * ia64_symbol.c: Likewise.
619 * ppc64_init.c: Likewise.
620 * ppc64_symbol.c: Likewise.
621 * ppc_init.c: Likewise.
622 * ppc_symbol.c: Likewise.
623 * sh_init.c: Likewise.
624 * sh_symbol.c: Likewise.
625 * sparc_init.c: Likewise.
626 * sparc_symbol.c: Likewise.
627 * x86_64_init.c: Likewise.
628 * x86_64_symbol.c: Likewise.
629 * libebl_alpha.h: Declare the copy_reloc_p function.
630 * libebl_arm.h: Likewise.
631 * libebl_i386.h: Likewise.
632 * libebl_ia64.h: Likewise.
633 * libebl_ppc.h: Likewise.
634 * libebl_ppc64.h: Likewise.
635 * libebl_sh.h: Likewise.
636 * libebl_sparc.h: Likewise.
637 * libebl_x86_64.h: Likewise.
638
6392005-05-31 Roland McGrath <roland@redhat.com>
640
641 * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
642 tracking works right.
643
6442005-05-21 Ulrich Drepper <drepper@redhat.com>
645
646 * libebl_x86_64.map: Add x86_64_core_note.
647
6482005-05-19 Roland McGrath <roland@redhat.com>
649
650 * libebl_i386.map: Add i386_reloc_valid_use, i386_reloc_simple_type.
651 * libebl_ppc.map: Add ppc_reloc_simple_type.
652 * libebl_ppc64.map: Add ppc64_reloc_simple_type.
653 * libebl_x86_64.map: Add x86_64_reloc_simple_type.
654
6552005-05-11 Ulrich Drepper <drepper@redhat.com>
656
657 * eblcorenote.c: Handle new AT_* values and files with different
658 endianess.
659 * Makefile.am (x86_64_SRCS): Add x86_64_corenote.c.
660 * x86-64_corenote.c: New file.
661 * x86_64_init.c: Hook in x86_64_corenote.
662 * i386_corenote.c: Make file usable on 64-bit platforms.
663
664 * eblopenbackend.c: If modules version comparison fails, reinitialize
665 hooks.
666
6672005-05-10 Ulrich Drepper <drepper@redhat.com>
668
669 * eblopenbackend.c: Require the init function to return a string.
670 Compare it with MODVERSION from config.h.
671 * alpha_init.c: Change return type. Return MODVERSION or NULL.
672 * arm_init.c: Likewise.
673 * eblopenbackend.c: Likewise.
674 * i386_init.c: Likewise.
675 * ia64_init.c: Likewise.
676 * ppc64_init.c: Likewise.
677 * ppc_init.c: Likewise.
678 * sh_init.c: Likewise.
679 * sparc_init.c: Likewise.
680 * x86_64_init.c: Likewise.
681 * libeblP.h: Adjust ebl_bhinit_t.
682 * libebl_alpha.h: Adjust init function prototype.
683 * libebl_arm.h: Likewise.
684 * libebl_i386.h: Likewise.
685 * libebl_ia64.h: Likewise.
686 * libebl_ppc.h: Likewise.
687 * libebl_ppc64.h: Likewise.
688 * libebl_sh.h: Likewise.
689 * libebl_sparc.h: Likewise.
690 * libebl_x86_64.h: Likewise.
691
692 * mips_destr.c: Removed.
693 * mips_init.c: Removed.
694 * mips_symbol.c: Removed.
695 * libebl_mips.h: Removed.
696 * libebl_mips.map: Removed.
697
6982005-05-03 Roland McGrath <roland@redhat.com>
699
700 * libebl.h (Ebl): Add `reloc_simple_type' member.
701 * eblopenbackend.c (default_reloc_simple_type): New function.
702 (openbackend): Use that as default reloc_simple_type callback.
703 * eblrelocsimpletype.c: New file.
704 * Makefile.am (gen_SOURCES): Add it.
705 * i386_symbol.c (i386_reloc_simple_type): New function.
706 * libebl_i386.h: Declare it.
707 * i386_init.c (i386_init): Use it.
708 * x86_64_symbol.c (x86_64_reloc_simple_type): New function.
709 * libebl_x86_64.h: Declare it.
710 * x86_64_init.c (x86_64_init): Use it.
711 * ppc_symbol.c (ppc_reloc_simple_type): New function.
712 * libebl_ppc.h: Declare it.
713 * ppc_init.c (ppc_init): Use it.
714 * ppc64_symbol.c (ppc64_reloc_simple_type): New function.
715 * libebl_ppc64.h: Declare it.
716 * ppc64_init.c (ppc64_init): Use it.
717
7182005-03-17 Ulrich Drepper <drepper@redhat.com>
719
720 * eblcorenote.c (ebl_core_note): Add support for AT_SECURE.
721
7222005-02-15 Ulrich Drepper <drepper@redhat.com>
723
724 * Makefile.am (AM_CFLAGS): Add -Wformat=2.
725
7262005-02-14 Ulrich Drepper <drepper@redhat.com>
727
728 * alpha_destr.c: Add __attribute__((unused)) where needed.
729 * alpha_init.c: Likewise.
730 * alpha_symbol.c: Likewise.
731 * arm_destr.c: Likewise.
732 * arm_init.c: Likewise.
733 * arm_symbol.c: Likewise.
734 * i386_corenote.c: Likewise.
735 * i386_destr.c: Likewise.
736 * i386_init.c: Likewise.
737 * i386_symbol.c: Likewise.
738 * ia64_destr.c: Likewise.
739 * ia64_init.c: Likewise.
740 * ia64_symbol.c: Likewise.
741 * mips_destr.c: Likewise.
742 * mips_init.c: Likewise.
743 * mips_symbol.c: Likewise.
744 * ppc64_destr.c: Likewise.
745 * ppc64_init.c: Likewise.
746 * ppc64_symbol.c: Likewise.
747 * ppc_destr.c: Likewise.
748 * ppc_init.c: Likewise.
749 * ppc_symbol.c: Likewise.
750 * sh_destr.c: Likewise.
751 * sh_init.c: Likewise.
752 * sh_symbol.c: Likewise.
753 * sparc_destr.c: Likewise.
754 * sparc_init.c: Likewise.
755 * sparc_symbol.c: Likewise.
756 * x86_64_destr.c: Likewise.
757 * x86_64_init.c: Likewise.
758 * x86_64_symbol.c: Likewise.
759
760 * x86_64_symbol.c (reloc_map_table): Fix entries for R_X86_64_64
761 and R_X86_64_32..
762
7632005-02-06 Ulrich Drepper <drepper@redhat.com>
764
765 * eblstrtab.c: A few cleanups.
766
767 * eblopenbackend.c: Mark unused parameters.
768
769 * eblgstrtab.c: Cleanups a few printf format strings.
770
771 * Makefile.am: Cleanup AM_CFLAGS handling. Add -Wunused -Wextra.
772
7732005-02-05 Ulrich Drepper <drepper@redhat.com>
774
775 * Makefile.am: Check for text relocations in constructed DSOs.
776
777 * eblstrtab.c: Minor cleanups.
778
779 * Makefile.am (AM_CFLAGS): Add -std=gnu99 and -fmudflap for MUDFLAP.
780
7812004-08-16 Ulrich Drepper <drepper@redhat.com>
782
783 * Makefile.am (AM_CFLAGS): Add LIBSTR definition with base name of
784 the lib directory.
785 * eblopenbackend.c (openbackend): Use LIBSTR instead of hardcoded
786 lib in path to ebl modules.
787
7882004-04-01 Ulrich Drepper <drepper@redhat.com>
789
790 * Makefile.am: Add rules for ppc and ppc64 ebl module.
791 * ppc_init..c: New file.
792 * ppc_destr.c: New file.
793 * ppc_symbol.c: New file.
794 * libebl_ppc.h: New file.
795 * libebl_ppc.map: New file.
796 * ppc64_init..c: New file.
797 * ppc64_destr.c: New file.
798 * ppc64_symbol.c: New file.
799 * libebl_ppc64.h: New file.
800 * libebl_ppc64.map: New file.
801
8022004-01-20 Ulrich Drepper <drepper@redhat.com>
803
804 * Makefile.am: Support building with mudflap.
805
8062004-01-18 Ulrich Drepper <drepper@redhat.com>
807
808 * libeblP.h (_): Use elfutils domain.
809
8102004-01-16 Ulrich Drepper <drepper@redhat.com>
811
812 * eblsectionname.c: Add support for SHN_BEFORE and SHN_AFTER.
813
8142004-01-13 Ulrich Drepper <drepper@redhat.com>
815
816 * eblsegmenttypename.c ((ebl_segment_type_name): Add support for
817 PT_GNU_RELRO.
818
8192004-01-08 Ulrich Drepper <drepper@redhat.com>
820
821 * libebl.h: Remove last traces of libtool.
822
8232004-01-05 Ulrich Drepper <drepper@redhat.com>
824
825 * elf-knowledge.h: Move to libelf subdir.
826
827 * Makefile.am (EXTRA_DIST): Remove libebl.map.
828 * libebl.map: Removed.
829
8302003-12-08 Ulrich Drepper <drepper@redhat.com>
831
832 * eblsectiontypename.c (ebl_section_type_name): Add support for
833 SHT_SUNW_move, SHT_CHECKSUM, and SHT_GNU_LIBLIST.
834
8352003-11-19 Ulrich Drepper <drepper@redhat.com>
836
837 * ia64_symbol.c (ia64_dynamic_tag_name): New function.
838 * libebl_ia64.h (ia64_dynamic_tag_name): Declare.
839 * ia64_init.c (ia64_init): Register i164_dynamic_tag_name.
840
8412003-09-24 Ulrich Drepper <drepper@redhat.com>
842
843 * ia64_init.c (ia64_init): Initialize segment_type_name callback.
844 * ia64_symbol.c (ia64_segment_type_name): Define.
845 * libebl_ia64.h (ia64_segment_type_name): Declare.
846
8472003-09-22 Ulrich Drepper <drepper@redhat.com>
848
849 * Makefile.am (AM_CFLAGS): Add -fpic.
850
8512003-08-14 Ulrich Drepper <drepper@redhat.com>
852
853 * Makefile.am (install): Remove dependency on libebl.so.
854
8552003-08-13 Ulrich Drepper <drepper@redhat.com>
856
857 * eblopenbackend.c: Adjust relative path to arch-specific DSOs
858 assuming the code ends up in the application. Add second dlopen()
859 try without any path, just the filename.
860 * Makefile.in: Remove rules to build and install libebl.so.
861
8622003-08-11 Ulrich Drepper <drepper@redhat.com>
863
864 * Moved to CVS archive.