blob: c93e70474e1c8d3ad6638b274b62c71f75fa6fdb [file] [log] [blame]
Roland McGrathcb6d8652007-08-23 08:10:54 +000012007-08-22 Roland McGrath <roland@redhat.com>
2
3 * libebl.h (Ebl_Core_Item): New member `group'.
4
52007-08-19 Roland McGrath <roland@redhat.com>
6
7 * ebl-hooks.h: Add new hook auxv_info.
8 * eblopenbackend.c (default_auxv_info): New function.
9 (fill_defaults): Initialize auxv_info hook.
10 * eblauxvinfo.c : New file.
11 * Makefile.am (gen_SOURCES): Add it.
12 * libebl.h: Declare ebl_auxv_info.
13
14 * eblcorenote.c: Rewritten with new signature.
15 * Makefile.am (gen_SOURCES): Add it.
16 * libebl.h (Ebl_Register_Location, Ebl_Core_Item): New types.
17 (ebl_core_note_info): Completely revamp signature.
18 * ebl-hooks.h: Update decl.
19 * eblopenbackend.c (default_core_note): Update signature.
20
Roland McGrath87d47802007-07-16 22:23:37 +0000212007-07-09 Roland McGrath <roland@redhat.com>
22
23 * eblobjnotetypename.c (ebl_object_note_type_name): Handle
24 NT_GNU_HWCAP, NT_GNU_BUILD_ID.
25
26 * eblobjnote.c (ebl_object_note): Handle NT_GNU_BUILD_ID.
27
Roland McGrath4be15242007-04-25 03:09:33 +0000282007-04-22 Roland McGrath <roland@redhat.com>
29
30 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PRXFPREG.
31
Ulrich Drepperc07fbb32007-03-30 19:14:59 +0000322007-03-10 Roland McGrath <roland@redhat.com>
33
34 * eblcorenote.c (ebl_core_note): For normally-zero types,
35 print in hex if not zero.
36
Ulrich Drepperaa915fd2007-02-05 07:25:33 +0000372007-01-11 Roland McGrath <roland@redhat.com>
38
39 * ebl-hooks.h (machine_section_flag_check): New hook.
40 * libebl.h: Declare ebl_machine_section_flag_check.
41 * eblmachinesectionflagcheck.c: New file.
42 * Makefile.am (gen_SOURCES): Add it.
43 * eblopenbackend.c (default_machine_section_flag_check): New function.
44 (fill_defaults): Use it.
45
Roland McGrathc373d852006-10-10 00:25:21 +0000462006-09-04 Roland McGrath <roland@redhat.com>
47
48 * ebl-hooks.h: Replace register_name hook with register_info.
49 Also yield natural bit width and base type encoding.
50 * eblopenbackend.c (default_register_name): Renamed
51 default_register_info, new args added.
52 (fill_defaults): Update initialization.
53 * eblregname.c: File renamed ...
54 * eblreginfo.c: ... to this.
55 (ebl_register_name): Renamed to ebl_register_info, new args added.
56 * libebl.h: Update decl.
57
58 * Makefile.am (gen_SOURCES): Update list.
59
Ulrich Drepper28ed8952006-07-07 03:43:47 +0000602006-07-06 Ulrich Drepper <drepper@redhat.com>
61
62 * ebldynamictagname.c: Add support for DT_GNU_HASH.
63 * ebldynamictagcheck.c: Likewise.
64 * eblsectiontypename.c: Add support for SHT_GNU_HASH.
65
662006-07-05 Ulrich Drepper <drepper@redhat.com>
67
68 * Makefile.am (gen_SOURCES): Add eblsysvhashentrysize.c.
69 * libeblP.h (struct ebl): Add sysvhash_entrysize element.
70 * eblopenbackend.c (fill_defaults): Initialize sysvhash_entrysize.
71
72 * eblopenbackend.c (openbackend): If possible, fill machine, class,
73 and data values in from the ELF file.
74
752006-07-04 Ulrich Drepper <drepper@redhat.com>
76
77 * Makefile.am (gen_SOURCES): Add eblrelativerelocp.c.
78 * eblrelativerelocp.c: New file.
79 * ebl-hooks.c: Add relative_reloc_p.
80 * eblopenbackend.c (default_relative_reloc_p): New function.
81 (fill_defaults): Hook it up.
82 * libebl.h: Declare ebl_relative_reloc_p.
83
Ulrich Drepper6ca46002006-06-12 22:40:23 +0000842006-06-12 Ulrich Drepper <drepper@redhat.com>
85
86 * Makefile.am (gen_SOURCES): Add eblnonerelocp.c.
87 * eblnonerelocp.c: New file.
88 * ebl-hooks.c: Add none_reloc_p.
89 * eblopenbackend.c (default_none_reloc_p): New function.
90 (fill_defaults): Hook it up.
91 * libebl.h: Declare ebl_none_reloc_p.
92
Ulrich Drepper41cbd762006-05-27 18:19:23 +0000932006-05-27 Ulrich Drepper <drepper@redhat.com>
94
95 * libebl.h: Add extern "C".
96
Roland McGrath994b4892005-12-05 22:46:21 +0000972005-11-25 Roland McGrath <roland@redhat.com>
98
99 * eblregname.c: New file.
100 * Makefile.am (gen_SOURCES): Add it.
101 * ebl-hooks.h: Declare register_name hook.
102 * libebl.h: Declare ebl_register_name.
103 * eblopenbackend.c (default_register_name): New function.
104 (fill_defaults): Use it.
105
Roland McGrath215c6322005-11-16 22:46:04 +00001062005-11-16 Roland McGrath <roland@redhat.com>
107
108 * libebl.h: Use "" for elf-knowledge.h, not <>.
109
Roland McGrathe47ab762005-11-17 03:16:00 +00001102005-11-15 Roland McGrath <roland@redhat.com>
111
112 * Makefile.am: Removed everything for building libebl_*.so modules,
113 now in ../backends/Makefile.am instead.
114 * alpha_init.c: Moved to ../backends.
115 * alpha_reloc.def: Likewise.
116 * alpha_retval.c: Likewise.
117 * alpha_symbol.c: Likewise.
118 * arm_init.c: Likewise.
119 * arm_reloc.def: Likewise.
120 * arm_symbol.c: Likewise.
121 * common-reloc.c: Likewise.
122 * i386_corenote.c: Likewise.
123 * i386_init.c: Likewise.
124 * i386_reloc.def: Likewise.
125 * i386_retval.c: Likewise.
126 * i386_symbol.c: Likewise.
127 * ia64_init.c: Likewise.
128 * ia64_reloc.def: Likewise.
129 * ia64_symbol.c: Likewise.
130 * libebl_CPU.h: Likewise.
131 * ppc64_init.c: Likewise.
132 * ppc64_reloc.def: Likewise.
133 * ppc64_retval.c: Likewise.
134 * ppc64_symbol.c: Likewise.
135 * ppc_init.c: Likewise.
136 * ppc_reloc.def: Likewise.
137 * ppc_retval.c: Likewise.
138 * ppc_symbol.c: Likewise.
139 * s390_init.c: Likewise.
140 * s390_reloc.def: Likewise.
141 * s390_symbol.c: Likewise.
142 * sh_init.c: Likewise.
143 * sh_reloc.def: Likewise.
144 * sh_symbol.c: Likewise.
145 * sparc_init.c: Likewise.
146 * sparc_reloc.def: Likewise.
147 * sparc_symbol.c: Likewise.
148 * x86_64_corenote.c: Likewise.
149 * x86_64_init.c: Likewise.
150 * x86_64_reloc.def: Likewise.
151 * x86_64_retval.c: Likewise.
152 * x86_64_symbol.c: Likewise.
153
154 * libebl.h: Comment fixes.
155
156 * alpha_retval.c: New file.
157 * Makefile.am (alpha_SRCS): Add it.
158 * alpha_init.c (alpha_init): Initialize return_value_location hook.
159
160 * ppc64_retval.c: New file.
161 * Makefile.am (ppc64_SRCS): Add it.
162 * ppc64_init.c (ppc64_init): Initialize return_value_location hook.
163
164 * ppc_retval.c: New file.
165 * Makefile.am (ppc_SRCS): Add it.
166 * ppc_init.c (ppc_init): Initialize return_value_location hook.
167
Roland McGrathcd60ea82005-11-16 01:57:40 +00001682005-11-14 Roland McGrath <roland@redhat.com>
169
170 * ia64_init.c (ia64_init): Initialize EH->reloc_simple_type.
171 * sh_init.c (sh_init): Likewise.
172 * x86_64_init.c (x86_64_init): Likewise.
173
174 * sparc_symbol.c (sparc_reloc_simple_type): New function.
175 * sparc_init.c (sparc_init): Use it.
176
177 * arm_symbol.c (arm_reloc_simple_type): New function.
178 * arm_init.c (arm_init): Use it.
179
180 * alpha_symbol.c (alpha_reloc_simple_type): New function.
181 * alpha_init.c (alpha_init): Use it.
182
183 * ia64_reloc.def: Update bits per H. J. Lu <hjl@lucon.org>.
184
185 * arm_reloc.def: Update bits per Daniel Jacobowitz <drow@false.org>.
186
187 * alpha_reloc.def: Update bits per Richard Henderson <rth@redhat.com>.
188
Roland McGrathe47ab762005-11-17 03:16:00 +00001892005-11-13 Roland McGrath <roland@redhat.com>
190
191 * x86_64_retval.c: New file.
192 * Makefile.am (x86_64_SRCS): Add it.
193 * x86_64_init.c (x86_64_init): Use x86_64_return_value_location.
194
195 * i386_retval.c: New file.
196 * Makefile.am (i386_SRCS): Add it.
197 (libdw): New variable.
198 (libebl_%.so): Use $(libdw) in link; use --as-needed.
199 * i386_init.c (i386_init): Use i386_return_value_location.
200
201 * eblretval.c: New file.
202 * Makefile.am (gen_SOURCES): Add it.
203 (INCLUDES): Search in libdw.
204 * libebl.h: Include <libdw.h>. Declare ebl_return_value_location.
205 * ebl-hooks.h: Declare return_value_location hook.
206 * eblopenbackend.c (default_return_value_location): New function.
207 (fill_defaults): Use it.
208
Roland McGrathcd60ea82005-11-16 01:57:40 +00002092005-11-10 Roland McGrath <roland@redhat.com>
210
211 * s390_init.c: New file.
212 * s390_reloc.def: New file.
213 * s390_symbol.c: New file.
214 * Makefile.am (modules, libebl_pic): Add s390.
215 (s390_SRCS, libebl_s390_pic_a_SOURCES): New variables.
216 (am_libebl_s390_pic_a_OBJECTS): New variable.
217
218 * ppc64_init.c: Use common-reloc.c.
219 * ppc64_symbol.c (ppc64_backend_name): Removed.
220 (ppc64_reloc_type_check, ppc64_reloc_type_name): Likewise.
221 (ppc64_copy_reloc_p, ppc64_reloc_valid_use): Likewise.
222
223 * ppc_init.c: Use common-reloc.c.
224 * ppc_symbol.c (ppc_backend_name): Removed.
225 (ppc_reloc_type_name, ppc_reloc_type_check): Likewise.
226 (ppc_reloc_valid_use, ppc_copy_reloc_p): Likewise.
227
228 * sparc_init.c: Use common-reloc.c.
229 * sparc_symbol.c (sparc_backend_name): Removed.
230 (sparc_reloc_type_name, sparc_reloc_type_check): Likewise.
231 (sparc_copy_reloc_p): Likewise.
232
233 * arm_init.c: Use common-reloc.c.
234 * arm_symbol.c (arm_backend_name): Removed.
235 (arm_reloc_type_name, arm_reloc_type_check, arm_copy_reloc_p): Removed.
236
237 * alpha_init.c: Use common-reloc.c.
238 * alpha_symbol.c (alpha_backend_name): Removed.
239 (alpha_reloc_type_name, alpha_reloc_type_check): Likewise.
240 (alpha_copy_reloc_p): Likewise.
241
242 * ia64_symbol.c (ia64_backend_name): Removed.
243 (ia64_reloc_type_name, ia64_reloc_type_check): Likewise.
244 (ia64_copy_reloc_p): Likewise.
245
246 * x86_64_init.c: Use common-reloc.c.
247 * x86_64_symbol.c (x86_64_backend_name): Removed.
248 (x86_64_copy_reloc_p, x86_64_reloc_valid_use): Likewise.
249 (x86_64_reloc_type_check, x86_64_reloc_type_name): Likewise.
250
251 * sh_init.c: Use common-reloc.c.
252 * sh_symbol.c: All functions removed.
253 (sh_reloc_simple_type): New function.
254 (sh_gotpc_reloc_check): New function.
255
256 * common-reloc.c: New file.
257 * Makefile.am (noinst_HEADERS): Add it.
258 * i386_init.c: Include it.
259
260 * sh_reloc.def: New file.
261 * i386_reloc.def: New file.
262 * alpha_reloc.def: New file.
263 * arm_reloc.def: New file.
264 * i386_reloc.def: New file.
265 * ia64_reloc.def: New file.
266 * ppc64_reloc.def: New file.
267 * ppc_reloc.def: New file.
268 * sh_reloc.def: New file.
269 * sparc_reloc.def: New file.
270 * x86_64_reloc.def: New file.
271 * Makefile.am (EXTRA_DIST): Add $(modules:=_reloc.def).
272
273 * libebl_alpha.map: Removed.
274 * libebl_ia64.map: Removed.
275 * libebl_ppc.map: Removed.
276 * libebl_sparc.map: Removed.
277 * libebl_arm.map: Removed.
278 * libebl_i386.map: Removed.
279 * libebl_ppc64.map: Removed.
280 * libebl_sh.map: Removed.
281 * libebl_x86_64.map: Removed.
282 * Makefile.am (EXTRA_DIST): Remove them.
283 (libebl_%.map, libebl_%.so): New pattern rules.
284
285 * libebl_alpha.h: Removed.
286 * libebl_ia64.h: Removed.
287 * libebl_ppc.h: Removed.
288 * libebl_sparc.h: Removed.
289 * libebl_arm.h: Removed.
290 * libebl_i386.h: Removed.
291 * libebl_ppc64.h: Removed.
292 * libebl_sh.h: Removed.
293 * libebl_x86_64.h: Removed.
294 * Makefile.am (noinst_HEADERS): Remove them.
295
296 * x86_64_corenote.c: Use libebl_CPU.h instead.
297 * x86_64_symbol.c: Likewise.
298 * i386_corenote.c: Likewise.
299
3002005-11-09 Roland McGrath <roland@redhat.com>
301
302 * ia64_symbol.c (ia64_reloc_simple_type): New function.
303
304 * ebl-hooks.h (reloc_simple_type): Take the Ebl handle, not Elf handle.
305 * eblrelocsimpletype.c (ebl_reloc_simple_type): Update caller.
306 * eblopenbackend.c (default_reloc_simple_type): Update signature.
307 * i386_symbol.c (i386_reloc_simple_type): Likewise.
308 * ppc64_symbol.c (ppc64_reloc_simple_type): Likewise.
309 * ppc_symbol.c (ppc_reloc_simple_type): Likewise.
310 * x86_64_symbol.c (x86_64_reloc_simple_type): Likewise.
311
312 * i386_symbol.c (i386_backend_name): Removed.
313 (i386_reloc_type_name, i386_reloc_type_check): Likewise.
314 (i386_reloc_valid_use): Removed.
315 (i386_copy_reloc_p): Removed.
316
317 * alpha_destr.c: Removed.
318 * arm_destr.c: Removed.
319 * i386_destr.c: Removed.
320 * ia64_destr.c: Removed.
321 * ppc64_destr.c: Removed.
322 * ppc_destr.c: Removed.
323 * sh_destr.c: Removed.
324 * sparc_destr.c: Removed.
325 * x86_64_destr.c: Removed.
326
327 * ebl-hooks.h: New file, broken out of ...
328 * libeblP.h (struct ebl): ... here. #include that for hook
329 declarations, after defining EBLHOOK macro.
330 * libebl_CPU.h: New file.
331 * Makefile.am (noinst_HEADERS): Add them.
332
333 * libeblP.h (struct ebl): Use uint_fast16_t for machine,
334 and uint_fast8_t for class and data.
335
3362005-08-14 Roland McGrath <roland@redhat.com>
337
338 * ia64_symbol.c (ia64_section_type_name): New function.
339 (ia64_dynamic_tag_check): New function.
340 (ia64_reloc_valid_use): New function.
341 * libebl_ia64.h: Declare them.
342 * ia64_init.c (ia64_init): Use them.
343 * Makefile.am (libebl_ia64.so): Link with libelf.
344
Ulrich Drepperfbe998a2005-08-29 16:27:10 +00003452005-08-28 Ulrich Drepper <drepper@redhat.com>
346
347 * Makefile.am: Use $(LINK) not $(CC) when creating DSOs.
348
Roland McGrathe53d04a2005-08-13 20:56:07 +00003492005-08-13 Roland McGrath <roland@redhat.com>
350
351 * ia64_symbol.c (ia64_machine_flag_check): New function.
352 * libebl_ia64.h: Declare it.
353 * ia64_init.c (ia64_init): Use it.
354
Ulrich Drepperc5c33a62005-08-13 17:50:47 +00003552005-08-13 Ulrich Drepper <drepper@redhat.com>
356
357 * libebl.h: Add ehdr parameter to ebl_bss_plt_p and
358 ebl_check_special_symbol.
359 * libeblP.h (struct ebl): Adjust callback functions.
360 * eblopenbackend.c: Adjust dummy functions.
361 * ebl_check_special_symbol.c: Add parameter and pass it on.
362 * eblbsspltp.c: Likewise.
363 * ppc_symbol.c (find_dyn_got): With ehdr passed, simplify search for
364 the dynamic section entry.
365 (ppc_check_special_symbol): Add ehdr parameter.
366 (ppc_bss_plt_p): Likewise.
367 * libebl_ppc.h: Adjust prototypes.
368 * ppc64_symbol.c (ppc_check_special_symbol): Add ehdr parameter.
369 (ppc_bss_plt_p): Likewise.
370 * libebl_ppc64.h: Adjust prototypes.
371
Roland McGrath653d3762005-08-13 01:59:10 +00003722005-08-12 Roland McGrath <roland@redhat.com>
373
Roland McGrathf8873cb2005-08-13 03:26:06 +0000374 * ppc_symbol.c (find_dyn_got): New function, broken out of ...
375 (ppc_bss_plt_p): ... here. Call that.
376 (ppc_check_special_symbol): Use find_dyn_got to fetch value to check
377 against _GLOBAL_OFFSET_TABLE_.
378
Roland McGrath653d3762005-08-13 01:59:10 +0000379 * libeblP.h (struct ebl): Add bss_plt_p hook.
380 * eblopenbackend.c (default_bss_plt_p): New function.
381 (fill_defaults): Use it.
382 * eblbsspltp.c: New file.
383 * Makefile.am (gen_SOURCES): Add it.
384 * libebl.h: Declare ebl_bss_plt_p.
385 * ppc_symbol.c (ppc_bss_plt_p): New function.
386 * libebl_ppc.h: Declare it.
387 * ppc_init.c (ppc_init): Use it.
388 * ppc64_symbol.c (ppc64_bss_plt_p): New function.
389 * libebl_ppc64.h: Declare it.
390 * ppc64_init.c (ppc64_init): Use it.
391
392 * ebl_check_special_symbol.c: New file.
393 * Makefile.am (gen_SOURCES): Add it.
394 * libebl.h: Declare ebl_check_special_symbol.
395 * libeblP.h (struct ebl): Add check_special_symbol hook.
396 * eblopenbackend.c (default_check_special_symbol): New function.
397 (fill_defaults): Use it.
398 * ppc_symbol.c (ppc_check_special_symbol): New function.
399 * libebl_ppc.h: Add prototype.
400 * ppc_init.c (ppc_init): Use it.
401 * ppc64_symbol.c (ppc64_check_special_symbol): New function.
402 * libebl_ppc64.h: Add prototype.
403 * ppc64_init.c (ppc64_init): Use it.
404
Ulrich Drepperb03b0572005-08-07 08:12:22 +00004052005-08-07 Ulrich Drepper <drepper@redhat.com>
406
407 * ppc_init.c: Add support for new DT_PPC_* and R_PPC_* values.
408 * ppc_symbol.c: Likewise.
409 * libebl_ppc.h: Likewise.
410 * ppc64_init.c: There is now also a dynamic_tag_check functions
411 * ppc64_symbol.c: Add dynamic_tag_check.
412 * libebl_ppc64.h: Add prototype.
413 * alpha_init.c: Add support for new DT_ALPHA_* value.
414 * alpha_symbol.c: Likewise.
415 * libebl_alpha.h: Likewise.
416
Ulrich Drepper6fcb3832005-08-03 21:10:49 +00004172005-08-03 Ulrich Drepper <drepper@redhat.com>
418
419 * libebl_alpha.map: Remove unnecessary exports.
420 * libebl_arm.map: Likewise.
421 * libebl_i386.map: Likewise.
422 * libebl_ia64.map: Likewise.
423 * libebl_ppc.map: Likewise.
424 * libebl_ppc64.map: Likewise.
425 * libebl_sh.map: Likewise.
426 * libebl_sparc.map: Likewise.
427 * libebl_x86_64.map: Likewise.
428
Ulrich Dreppera38998e2005-08-03 02:05:39 +00004292005-08-02 Ulrich Drepper <drepper@redhat.com>
430
431 * Makefile.am (libebl_a_SOURCES): Add eblelfclass.c, eblelfdata.c,
432 and eblelfmachine.c.
433 * elbopenbackend.c (machines): Add class and data fields. Initialize
434 them.
435 (ebl_openbackend): Initialize machine, class, data fields in result.
436 * libebl.h: Declare Add eblelfclass, eblelfdata, and eblelfmachine.
437 * libeblP.h (Ebl): Add machine, class, data fields.
438
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00004392005-07-23 Ulrich Drepper <drepper@redhat.com>
440
441 * eblsectionstripp.c: New file.
442 * Makefile.am (gen_SOURCES): Add eblsectionstripp.c.
443 * i386_init.c (i386_init): Install specific debugscn_p callback.
444 * i386_symbol.c (i386_debugscn_p): New function.
445 * libebl.h: Declare ebl_section_strip_p.
446 * libebl_i386.h: Declare i386_debugscn_p.
447
448 * libebl.h: Move Ebl definition to...
449 * libeblP.h: ...here.
450
4512005-07-21 Roland McGrath <roland@redhat.com>
452
453 * Makefile.am (install-ebl-modules): New target, commands from ...
454 (install): ... here. Make this depend on it.
455 (LIBEBL_SUBDIR): New variable, substituted by configure.
456 (install-ebl-modules): Install in $(libdir)/$(LIBEBL_SUBDIR).
457 * eblopenbackend.c (openbackend): Use LIBEBL_SUBDIR in module name.
458
4592005-07-21 Ulrich Drepper <drepper@redhat.com>
460
461 * eblcopyrelocp.c: New file.
462 * Makefile.am (gen_SOURCES): Add eblcopyrelocp.c.
463 * libebl.h: Declare ebl_copy_reloc_p.
464 * eblopenbackend.c (fill_defaults): Fill in copy_reloc_p.
465 (default_copy_reloc_p): New function.
466 * alpha_init.c: Define and use arch-specific copy_reloc_p function.
467 * alpha_symbol.c: Likewise.
468 * arm_init.c: Likewise.
469 * arm_symbol.c: Likewise.
470 * i386_init.c: Likewise.
471 * i386_symbol.c: Likewise.
472 * ia64_init.c: Likewise.
473 * ia64_symbol.c: Likewise.
474 * ppc64_init.c: Likewise.
475 * ppc64_symbol.c: Likewise.
476 * ppc_init.c: Likewise.
477 * ppc_symbol.c: Likewise.
478 * sh_init.c: Likewise.
479 * sh_symbol.c: Likewise.
480 * sparc_init.c: Likewise.
481 * sparc_symbol.c: Likewise.
482 * x86_64_init.c: Likewise.
483 * x86_64_symbol.c: Likewise.
484 * libebl_alpha.h: Declare the copy_reloc_p function.
485 * libebl_arm.h: Likewise.
486 * libebl_i386.h: Likewise.
487 * libebl_ia64.h: Likewise.
488 * libebl_ppc.h: Likewise.
489 * libebl_ppc64.h: Likewise.
490 * libebl_sh.h: Likewise.
491 * libebl_sparc.h: Likewise.
492 * libebl_x86_64.h: Likewise.
493
4942005-05-31 Roland McGrath <roland@redhat.com>
495
496 * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
497 tracking works right.
498
4992005-05-21 Ulrich Drepper <drepper@redhat.com>
500
501 * libebl_x86_64.map: Add x86_64_core_note.
502
5032005-05-19 Roland McGrath <roland@redhat.com>
504
505 * libebl_i386.map: Add i386_reloc_valid_use, i386_reloc_simple_type.
506 * libebl_ppc.map: Add ppc_reloc_simple_type.
507 * libebl_ppc64.map: Add ppc64_reloc_simple_type.
508 * libebl_x86_64.map: Add x86_64_reloc_simple_type.
509
5102005-05-11 Ulrich Drepper <drepper@redhat.com>
511
512 * eblcorenote.c: Handle new AT_* values and files with different
513 endianess.
514 * Makefile.am (x86_64_SRCS): Add x86_64_corenote.c.
515 * x86-64_corenote.c: New file.
516 * x86_64_init.c: Hook in x86_64_corenote.
517 * i386_corenote.c: Make file usable on 64-bit platforms.
518
519 * eblopenbackend.c: If modules version comparison fails, reinitialize
520 hooks.
521
5222005-05-10 Ulrich Drepper <drepper@redhat.com>
523
524 * eblopenbackend.c: Require the init function to return a string.
525 Compare it with MODVERSION from config.h.
526 * alpha_init.c: Change return type. Return MODVERSION or NULL.
527 * arm_init.c: Likewise.
528 * eblopenbackend.c: Likewise.
529 * i386_init.c: Likewise.
530 * ia64_init.c: Likewise.
531 * ppc64_init.c: Likewise.
532 * ppc_init.c: Likewise.
533 * sh_init.c: Likewise.
534 * sparc_init.c: Likewise.
535 * x86_64_init.c: Likewise.
536 * libeblP.h: Adjust ebl_bhinit_t.
537 * libebl_alpha.h: Adjust init function prototype.
538 * libebl_arm.h: Likewise.
539 * libebl_i386.h: Likewise.
540 * libebl_ia64.h: Likewise.
541 * libebl_ppc.h: Likewise.
542 * libebl_ppc64.h: Likewise.
543 * libebl_sh.h: Likewise.
544 * libebl_sparc.h: Likewise.
545 * libebl_x86_64.h: Likewise.
546
547 * mips_destr.c: Removed.
548 * mips_init.c: Removed.
549 * mips_symbol.c: Removed.
550 * libebl_mips.h: Removed.
551 * libebl_mips.map: Removed.
552
5532005-05-03 Roland McGrath <roland@redhat.com>
554
555 * libebl.h (Ebl): Add `reloc_simple_type' member.
556 * eblopenbackend.c (default_reloc_simple_type): New function.
557 (openbackend): Use that as default reloc_simple_type callback.
558 * eblrelocsimpletype.c: New file.
559 * Makefile.am (gen_SOURCES): Add it.
560 * i386_symbol.c (i386_reloc_simple_type): New function.
561 * libebl_i386.h: Declare it.
562 * i386_init.c (i386_init): Use it.
563 * x86_64_symbol.c (x86_64_reloc_simple_type): New function.
564 * libebl_x86_64.h: Declare it.
565 * x86_64_init.c (x86_64_init): Use it.
566 * ppc_symbol.c (ppc_reloc_simple_type): New function.
567 * libebl_ppc.h: Declare it.
568 * ppc_init.c (ppc_init): Use it.
569 * ppc64_symbol.c (ppc64_reloc_simple_type): New function.
570 * libebl_ppc64.h: Declare it.
571 * ppc64_init.c (ppc64_init): Use it.
572
5732005-03-17 Ulrich Drepper <drepper@redhat.com>
574
575 * eblcorenote.c (ebl_core_note): Add support for AT_SECURE.
576
5772005-02-15 Ulrich Drepper <drepper@redhat.com>
578
579 * Makefile.am (AM_CFLAGS): Add -Wformat=2.
580
5812005-02-14 Ulrich Drepper <drepper@redhat.com>
582
583 * alpha_destr.c: Add __attribute__((unused)) where needed.
584 * alpha_init.c: Likewise.
585 * alpha_symbol.c: Likewise.
586 * arm_destr.c: Likewise.
587 * arm_init.c: Likewise.
588 * arm_symbol.c: Likewise.
589 * i386_corenote.c: Likewise.
590 * i386_destr.c: Likewise.
591 * i386_init.c: Likewise.
592 * i386_symbol.c: Likewise.
593 * ia64_destr.c: Likewise.
594 * ia64_init.c: Likewise.
595 * ia64_symbol.c: Likewise.
596 * mips_destr.c: Likewise.
597 * mips_init.c: Likewise.
598 * mips_symbol.c: Likewise.
599 * ppc64_destr.c: Likewise.
600 * ppc64_init.c: Likewise.
601 * ppc64_symbol.c: Likewise.
602 * ppc_destr.c: Likewise.
603 * ppc_init.c: Likewise.
604 * ppc_symbol.c: Likewise.
605 * sh_destr.c: Likewise.
606 * sh_init.c: Likewise.
607 * sh_symbol.c: Likewise.
608 * sparc_destr.c: Likewise.
609 * sparc_init.c: Likewise.
610 * sparc_symbol.c: Likewise.
611 * x86_64_destr.c: Likewise.
612 * x86_64_init.c: Likewise.
613 * x86_64_symbol.c: Likewise.
614
615 * x86_64_symbol.c (reloc_map_table): Fix entries for R_X86_64_64
616 and R_X86_64_32..
617
6182005-02-06 Ulrich Drepper <drepper@redhat.com>
619
620 * eblstrtab.c: A few cleanups.
621
622 * eblopenbackend.c: Mark unused parameters.
623
624 * eblgstrtab.c: Cleanups a few printf format strings.
625
626 * Makefile.am: Cleanup AM_CFLAGS handling. Add -Wunused -Wextra.
627
6282005-02-05 Ulrich Drepper <drepper@redhat.com>
629
630 * Makefile.am: Check for text relocations in constructed DSOs.
631
632 * eblstrtab.c: Minor cleanups.
633
634 * Makefile.am (AM_CFLAGS): Add -std=gnu99 and -fmudflap for MUDFLAP.
635
6362004-08-16 Ulrich Drepper <drepper@redhat.com>
637
638 * Makefile.am (AM_CFLAGS): Add LIBSTR definition with base name of
639 the lib directory.
640 * eblopenbackend.c (openbackend): Use LIBSTR instead of hardcoded
641 lib in path to ebl modules.
642
6432004-04-01 Ulrich Drepper <drepper@redhat.com>
644
645 * Makefile.am: Add rules for ppc and ppc64 ebl module.
646 * ppc_init..c: New file.
647 * ppc_destr.c: New file.
648 * ppc_symbol.c: New file.
649 * libebl_ppc.h: New file.
650 * libebl_ppc.map: New file.
651 * ppc64_init..c: New file.
652 * ppc64_destr.c: New file.
653 * ppc64_symbol.c: New file.
654 * libebl_ppc64.h: New file.
655 * libebl_ppc64.map: New file.
656
6572004-01-20 Ulrich Drepper <drepper@redhat.com>
658
659 * Makefile.am: Support building with mudflap.
660
6612004-01-18 Ulrich Drepper <drepper@redhat.com>
662
663 * libeblP.h (_): Use elfutils domain.
664
6652004-01-16 Ulrich Drepper <drepper@redhat.com>
666
667 * eblsectionname.c: Add support for SHN_BEFORE and SHN_AFTER.
668
6692004-01-13 Ulrich Drepper <drepper@redhat.com>
670
671 * eblsegmenttypename.c ((ebl_segment_type_name): Add support for
672 PT_GNU_RELRO.
673
6742004-01-08 Ulrich Drepper <drepper@redhat.com>
675
676 * libebl.h: Remove last traces of libtool.
677
6782004-01-05 Ulrich Drepper <drepper@redhat.com>
679
680 * elf-knowledge.h: Move to libelf subdir.
681
682 * Makefile.am (EXTRA_DIST): Remove libebl.map.
683 * libebl.map: Removed.
684
6852003-12-08 Ulrich Drepper <drepper@redhat.com>
686
687 * eblsectiontypename.c (ebl_section_type_name): Add support for
688 SHT_SUNW_move, SHT_CHECKSUM, and SHT_GNU_LIBLIST.
689
6902003-11-19 Ulrich Drepper <drepper@redhat.com>
691
692 * ia64_symbol.c (ia64_dynamic_tag_name): New function.
693 * libebl_ia64.h (ia64_dynamic_tag_name): Declare.
694 * ia64_init.c (ia64_init): Register i164_dynamic_tag_name.
695
6962003-09-24 Ulrich Drepper <drepper@redhat.com>
697
698 * ia64_init.c (ia64_init): Initialize segment_type_name callback.
699 * ia64_symbol.c (ia64_segment_type_name): Define.
700 * libebl_ia64.h (ia64_segment_type_name): Declare.
701
7022003-09-22 Ulrich Drepper <drepper@redhat.com>
703
704 * Makefile.am (AM_CFLAGS): Add -fpic.
705
7062003-08-14 Ulrich Drepper <drepper@redhat.com>
707
708 * Makefile.am (install): Remove dependency on libebl.so.
709
7102003-08-13 Ulrich Drepper <drepper@redhat.com>
711
712 * eblopenbackend.c: Adjust relative path to arch-specific DSOs
713 assuming the code ends up in the application. Add second dlopen()
714 try without any path, just the filename.
715 * Makefile.in: Remove rules to build and install libebl.so.
716
7172003-08-11 Ulrich Drepper <drepper@redhat.com>
718
719 * Moved to CVS archive.