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