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