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