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