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