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