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