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