blob: 0560c6accfd23303dab81743457a27574ec9db46 [file] [log] [blame]
Mark Wielaarddd906c12016-07-08 14:08:22 +020012016-07-08 Mark Wielaard <mjw@redhat.com>
2
3 * Makefile.am (gen_SOURCES): Remove eblstrtab.c.
4 * eblstrtab.c: Removed.
5 * libebl.h (Ebl_Strtab): Removed.
6 (Ebl_Strent): Removed.
7 (ebl_strtabinit): Removed.
8 (ebl_strtabfree): Removed.
9 (ebl_strtabadd): Removed.
10 (ebl_strtabfinalize): Removed.
11 (ebl_strtaboffset): Removed.
12 (ebl_string): Removed.
13
Mark Wielaarde6ca75d2016-07-06 18:27:54 +0200142016-07-06 Mark Wielaard <mjw@redhat.com>
15
16 * Makefile.am (gen_SOURCES): Remove eblobjecttypename.c,
17 eblshflagscombine.c, eblwstrtab.c and eblgstrtab.c.
18 * ebl-hooks.h (object_type_name): Removed.
19 (sh_flags_combine): Likewise.
20 * eblgstrtab.c: Removed.
21 * eblobjecttypename.c: Removed.
22 * eblopenbackend.c (default_object_type_name): Removed.
23 (default_sh_flags_combine): Likewise.
24 (fill_defaults): Removed object_type_name and sh_flags_combine.
25 * eblshflagscombine.c: Removed.
26 * eblwstrtab.c: Removed.
27 * libebl.h (ebl_object_type_name): Removed.
28 (ebl_sh_flags_combine): Likewise.
29 (ebl_wstrtab*): Removed.
30 (ebl_gstrtab*): Likewise.
31
Richard Henderson9a36c922016-06-21 15:10:10 -0700322016-06-28 Richard Henderson <rth@redhat.com>
33
34 * ebl-hooks.h (EBLHOOK(disasm)): Add ebl parameter.
35 * eblopenbackend.c (machines): Add EM_BPF entry.
36
Andreas Schwab37bb3fc2016-05-20 19:37:29 +0200372016-05-20 Andreas Schwab <schwab@linux-m68k.org>
38
39 * eblopenbackend.c (machines) [EM_68K]: Set class and data.
40
Mark Wielaard6e723c72016-02-12 15:04:00 +0100412016-02-12 Mark Wielaard <mjw@redhat.com>
42
43 * eblobjnotetypename.c (ebl_object_note_type_name): Check name is
44 "Go" and use new goknowntypes then. Otherwise check name is not
45 "GNU" and return "unknown".
46
Mark Wielaardc5da7c92016-01-09 22:09:48 +0100472016-01-09 Mark Wielaard <mjw@redhat.com>
48
49 * eblobjnote.c (ebl_object_note): Add brackets around if statement
50 body.
51
Mark Wielaardd22cb042015-12-30 14:39:18 +0100522015-12-18 Mark Wielaard <mjw@redhat.com>
53
54 * eblopenbackend.c (default_debugscn_p): Also match .zdebug sections.
55
Jose E. Marchesi42f0df12015-12-08 19:10:40 +0100562015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com>
57
58 * libebl.h: Prototype for ebl_ra_offset.
59 * eblabicfi.c (ebl_ra_offset): New function.
60 * libeblP.h (struct ebl): new field ra_offset;
61
Jose E. Marchesi133509f2015-10-05 17:36:30 +0200622015-09-24 Jose E. Marchesi <jose.marchesi@oracle.com>
63
64 * Makefile.am (AM_CFLAGS): Use -fPIC instead of -fpic to avoid
65 relocation overflows in some platforms.
66
Mark Wielaard1ccdfb62015-09-22 22:27:01 +0200672015-09-22 Mark Wielaard <mjw@redhat.com>
68
69 * *.c: Remove old-style function definitions.
70
Chih-Hung Hsieh2d982862015-09-09 12:32:07 -0700712015-09-09 Chih-Hung Hsieh <chh@google.com>
72
73 * ebldwarftoregno.c (ebl_dwarf_to_regno): Remove redundant NULL tests
74 on parameters declared with __nonnull_attribute__.
75 * eblinitreg.c (ebl_frame_nregs): Likewise.
76 * eblnormalizepc.c (ebl_normalize_pc): Likewise.
77 * eblunwind.c (ebl_unwind): Likewise.
78
Chih-Hung Hsiehaa1c2ca2015-09-04 12:04:11 -0700792015-09-04 Chih-Hung Hsieh <chh@google.com>
80
81 * eblopenbackend.c (ebl_openbackend_machine): Replace K&R function
82 definition with ansi-C definitions.
83 * eblstother.c (ebl_check_st_other_bits): Likewise.
84
Mark Wielaard65dc8002015-06-12 12:50:14 +0200852015-06-12 Mark Wielaard <mjw@redhat.com>
86
87 * eblcheckreloctargettype.c (ebl_check_reloc_target_type): Allow
88 SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY.
89
Mark Wielaarddf1708a2015-05-17 18:49:10 +0200902015-05-17 Mark Wielaard <mjw@redhat.com>
91
Mark Wielaard390dd3d2015-05-17 20:07:56 +020092 * eblobjnote.c (ebl_object_note): If allocation buf is large, then
93 allocate it with malloc.
94
952015-05-17 Mark Wielaard <mjw@redhat.com>
96
Mark Wielaarddf1708a2015-05-17 18:49:10 +020097 * eblopenbackend.c (MAX_PREFIX_LEN): New define (16).
98 (openbackend): Stack allocate symname array using MAX_PREFIX_LEN.
99
Mark Wielaard858dc652015-01-27 13:07:17 +01001002015-01-27 Mark Wielaard <mjw@redhat.com>
101
102 * libebl.h: Add comment from README that this is completely
103 UNSUPPORTED.
104
Mark Wielaard712c8fa2014-11-22 23:08:48 +01001052014-11-22 Mark Wielaard <mjw@redhat.com>
106
107 * ebl-hooks.h (bss_plt_p): Remove ehdr argument.
108 * eblbsspltp.c (ebl_bss_plt_p): Likewise.
109 * eblopenbackend.c (default_bss_plt_p): Likewise.
110 * libebl.h (ebl_bss_plt_p): Likewise.
111
Mark Wielaard5c1a45c2014-11-17 23:15:45 +01001122014-11-17 Mark Wielaard <mjw@redhat.com>
113
114 * ebldebugscnp.c (ebl_debugscn_p): Check name is not NULL.
115
Mark Wielaardc1c1c062014-06-14 17:15:37 +02001162014-06-17 Mark Wielaard <mjw@redhat.com>
117
118 * eblinitreg.c (ebl_func_addr_mask): New function.
119 * libebl.h (ebl_func_addr_mask): Define.
120 * libeblP.h (struct ebl): Add func_addr_mask.
121
Mark Wielaard028d0ab2014-05-19 16:52:56 +02001222014-05-19 Mark Wielaard <mjw@redhat.com>
123
124 * Makefile.am (gen_SOURCES): Add eblcheckreloctargettype.c.
125 * eblcheckreloctargettype.c: New file.
126 * ebl-hooks.h (check_reloc_target_type): New hook.
127 * eblopenbackend.c (default_check_reloc_target_type): New function.
128 (fill_defaults): Assign default_check_reloc_target_type to
129 check_reloc_target_type.
130 * libebl.h (ebl_check_reloc_target_type): New function definition.
131
Mark Wielaard159ac522013-12-18 11:05:54 +01001322013-12-18 Mark Wielaard <mjw@redhat.com>
133
134 * Makefile.am (gen_SOURCES): Add eblresolvesym.c.
135 * ebl-hooks.h (resolve_sym_value): New entry.
136 * eblresolvesym.c: New file.
137 * libebl.h (ebl_resolve_sym_value): New definition.
138 * libeblP.h (fd_addr): New field.
139 (fd_data): Likewise.
140
Jan Kratochvilc6a41482013-12-17 18:49:54 +01001412013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
142
143 unwinder: s390 and s390x
144 * Makefile.am (gen_SOURCES): Add eblnormalizepc.c and eblunwind.c.
145 * ebl-hooks.h (normalize_pc, unwind): New.
146 * eblnormalizepc.c: New file.
147 * eblunwind.c: New file.
148 * libebl.h (Ebl_Register_Location): Add field pc_register.
149 (ebl_normalize_pc): New declaration.
150 (ebl_tid_registers_get_t, ebl_pid_memory_read_t): New definitions.
151 (ebl_unwind): New declaration.
152
Jan Kratochvil5cbf42a2013-12-15 18:56:17 +01001532013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
154
155 unwinder: ppc and ppc64
156 * Makefile.am (gen_SOURCES): Add ebldwarftoregno.c.
157 * ebl-hooks.h (dwarf_to_regno): New.
158 * ebldwarftoregno.c: New file.
159 * libebl.h (Ebl_Core_Item): New field pc_register.
160 (ebl_tid_registers_t): Add FIRSTREG -1 to the comment.
161 (ebl_dwarf_to_regno): New.
162
Petr Machata98c8a732013-11-26 03:10:31 +01001632013-11-25 Petr Machata <pmachata@redhat.com>
164
165 * eblopenbackend.c (machines): Add entry for AArch64.
166
Jan Kratochvil1c1a53b2013-11-14 20:55:41 +01001672013-11-14 Jan Kratochvil <jan.kratochvil@redhat.com>
168
169 Code cleanup: Remove const in prototype
170 * libebl.h (ebl_tid_registers_t): Remove const from firstreg.
171
Jan Kratochvil0b867462013-05-30 14:37:38 +02001722013-11-07 Jan Kratochvil <jan.kratochvil@redhat.com>
173 Mark Wielaard <mjw@redhat.com>
174
175 * Makefile.am (gen_SOURCES): Add eblinitreg.c.
176 * ebl-hooks.h (set_initial_registers_tid): New entry.
177 * eblinitreg.c: New file.
178 * libebl.h (ebl_tid_registers_t): New definition.
179 (ebl_set_initial_registers_tid, ebl_frame_nregs): New declarations.
180 * libeblP.h (struct ebl): New entry frame_nregs.
181
Mark Wielaard3dec3e12013-10-06 17:04:07 +02001822013-10-06 Mark Wielaard <mjw@redhat.com>
183
184 * libebl.h (ebl_abi_cfi): Document restrictions using register
185 rules.
186
Petr Machatab43bcfe2013-09-26 00:38:37 +02001872013-09-26 Petr Machata <pmachata@redhat.com>
188
189 * eblcorenotetypename.c: Handle NT_ARM_TLS, NT_ARM_HW_BREAK,
190 NT_ARM_HW_WATCH, NT_SIGINFO, NT_FILE.
191
Mark Wielaard2cfec292013-09-25 13:02:53 +02001922013-09-25 Mark Wielaard <mjw@redhat.com>
193
194 * eblsectionstripp.c (ebl_section_strip_p): Check shdr_l is not NULL.
195
Mark Wielaardcdaaf212013-04-25 16:50:11 -04001962013-04-24 Mark Wielaard <mjw@redhat.com>
197
198 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
199
Jan Kratochvil0631d1f2012-10-12 20:43:21 +02002002012-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
201
202 * ebl-hooks.h (abi_cfi): Extend its comment for return value.
203 * eblopenbackend.c (default_abi_cfi): Return -1.
204 * libebl.h (ebl_abi_cfi): Extend its comment for return value.
205
Petr Machata96896012012-08-30 16:01:02 +02002062012-08-30 Petr Machata <pmachata@redhat.com>
207
208 * eblcorenotetypename.c: Handle PPC_VSX, X86_XSTATE,
209 S390_HIGH_GPRS, S390_TIMER, S390_TODCMP, S390_TODPREG, S390_CTRS,
210 S390_PREFIX, S390_LAST_BREAK, S390_SYSTEM_CALL, and ARM_VFP.
211
Jeff Kenton257dcf42012-08-22 09:00:03 -04002122012-08-22 Jeff Kenton <jkenton@tilera.com>
213
214 * eblopenbackend.c (machines): Add tilegx.
215
Mark Wielaarda0172d72012-06-25 17:18:53 +02002162011-06-26 Mark Wielaard <mjw@redhat.com>
217
218 * eblopenbackend.c (default_debugscn_p): Add .debug_macro.
219
Mark Wielaardbb9d1b42011-04-24 17:53:38 +02002202011-04-26 Mark Wielaard <mjw@redhat.com>
221
222 * libebl.h (ebl_object_note_type_name): Add const char *name arg.
223 * eblhooks.h (object_note_type_name): Likewise.
224 * eblopenbackend.c (default_object_note_type_name): Likewise.
225 * eblobjnotetypename.c (ebl_object_note_type_name): Likewise.
226 And print version if name is "stapsdt".
227 * eblobjnote.c (ebl_object_note): Add output for "stapsdt" notes.
228
Marek Polacekcde0b272011-03-21 23:46:56 +01002292011-03-21 Marek Polacek <mpolacek@redhat.com>
230
231 * ebldynamictagname.c: Fix typo in TLSDESC_GOT.
232
Mark Wielaarda062b6b2011-03-10 13:02:32 +01002332011-03-10 Mark Wielaard <mjw@redhat.com>
234
235 * Makefile.am (gen_SOURCES): Add eblstother.c.
236 * eblstother.c: New file.
237 * ebl-hooks.h: Add check_st_other_bits hook.
238 * eblopenbackend.c (default_check_st_other_bits): New function.
239 (fill_defaults): Hook default_check_st_other_bits.
240 * libebl.h (ebl_check_st_other_bits): New prototype.
241
Roland McGrath804e9ca2010-07-07 16:06:12 -07002422010-07-07 Roland McGrath <roland@redhat.com>
243
244 * eblopenbackend.c (default_debugscn_p): Match .gdb_index section.
245
Roland McGrath22359e22010-02-15 15:57:03 -08002462010-02-15 Roland McGrath <roland@redhat.com>
247
248 * Makefile.am: Use config/eu.am for common stuff.
249
Roland McGrath0ccbbcd2010-01-04 21:59:07 -08002502010-01-04 Roland McGrath <roland@redhat.com>
251
252 * eblcorenote.c (ebl_core_note): Take GElf_Nhdr * and name data
253 pointer instead of only n_type and n_descsz.
254 * libebl.h: Update declaration.
255 * ebl-hooks.h: Update core_note hook signature.
256 * eblopenbackend.c (default_core_note): Likewise.
257
Roland McGrathf80c9072009-10-14 12:35:47 -07002582009-10-14 Roland McGrath <roland@redhat.com>
259
260 * eblobjnote.c (ebl_object_note): Clean up NT_GNU_GOLD_VERSION printing.
261
Roland McGratha14b4eb2009-10-05 11:32:26 -07002622009-10-05 Roland McGrath <roland@redhat.com>
263
264 * eblopenbackend.c (default_debugscn_p): Match .debug_pubtypes and
265 .debug_types too.
266
Petr Machatad3a8b2d2009-09-02 20:46:08 +02002672009-09-02 Petr Machata <pmachata@redhat.com>
268
269 * libebl/eblstrtab.c (morememory): Allocate memory in multiples of
270 pagesize.
271
Petr Machata077a7082009-08-06 18:45:08 +02002722009-08-06 Petr Machata <pmachata@redhat.com>
273
274 * libebl/eblstrtab.c (ebl_strtabfinalize): Only call copystrings
275 if we have any strings to copy.
276
Mark Wielaardbc1b92e2009-07-26 08:33:18 -07002772009-07-26 Mark Wielaard <mjw@redhat.com>
278
Mark Wielaard2f5b79e2009-07-26 14:49:26 -0700279 * eblobjnote.c (ebl_object_note): Handle NT_GNU_GOLD_VERSION.
280
Mark Wielaardbc1b92e2009-07-26 08:33:18 -0700281 * eblobjnotetypename.c (ebl_object_note_type_name): Recognize
282 NT_GNU_GOLD_VERSION.
283
Roland McGrath3c84db32009-06-24 17:41:40 -07002842009-07-08 Roland McGrath <roland@redhat.com>
285
286 * ebl-hooks.h: Add abi_cfi hook.
287 * eblopenbackend.c (default_abi_cfi): New function.
288 (fill_defaults): Add initializer.
289 * eblabicfi.c: New file.
290 * Makefile.am (gen_SOURCES): Add it.
291 * libebl.h: Declare ebl_abi_cfi.
292
Ulrich Drepper70c442c2009-07-08 00:53:24 -07002932009-07-08 Ulrich Drepper <drepper@redhat.com>
294
295 * eblsymbolbindingname.c (ebl_symbol_binding_name): Handle
296 STB_GNU_UNIQUE.
297
298 * eblsymboltypename.c (ebl_symbol_type_name): Only handle STT_GNU_IFUNC
299 if the binary is marked as being for Linux.
300
Roland McGrathd5ff6672009-04-01 18:28:41 -07003012009-04-01 Roland McGrath <roland@redhat.com>
302
303 * eblsymboltypename.c (ebl_symbol_type_name): Add STT_GNU_IFUNC.
304
305 * eblauxvinfo.c (AUXV_TYPES): Add RANDOM and BASE_PLATFORM.
306
Ulrich Drepper95fa15e2009-02-01 19:06:10 -08003072009-02-01 Ulrich Drepper <drepper@redhat.com>
308
309 * eblreloctypename.c (ebl_reloc_type_name): Return "<INVALID RELOC>"
310 instead of "???" for invalid relocations.
311
Roland McGratha845f682008-12-03 03:41:58 +00003122008-08-01 Roland McGrath <roland@redhat.com>
313
314 * eblcorenotetypename.c: Handle NT_386_IOPERM.
315
Roland McGrath1d8bb252008-08-07 08:39:41 +00003162008-07-28 Roland McGrath <roland@redhat.com>
317
318 * eblauxvinfo.c (AUXV_TYPES): Add EXECFN.
319
320 * eblauxvinfo.c (ebl_auxv_info): Handle missing elements of standard
321 table.
322
3232008-07-04 Roland McGrath <roland@redhat.com>
324
325 * libebl.h: Declare ebl_syscall_abi.
326 * ebl_syscall_abi.c: New file.
327 * Makefile.am (gen_SOURCES): Add it.
328 * ebl-hooks.h: New hook syscall_abi.
329 * eblopenbackend.c (default_syscall_abi): New function.
330 (fill_defaults): Use it.
331
Roland McGrath13b69602008-04-01 02:30:05 +00003322008-03-31 Roland McGrath <roland@redhat.com>
333
334 * ebldynamictagname.c (ebl_dynamic_tag_name): Use hex for unknown tag.
335
336 * ebl-hooks.h: Add check_special_section hook.
337 * eblopenbackend.c (fill_defaults): Set new hook to ...
338 (default_check_special_section): ... this, new function.
339 * ebl_check_special_section.c: New file.
340 * Makefile.am (gen_SOURCES): Add it.
341 * libebl.h: Declare it.
342
Roland McGrath059c83e2008-02-21 06:19:39 +00003432008-02-20 Roland McGrath <roland@redhat.com>
344
345 * libebl.h: Declare ebl_check_object_attribute.
346 * eblcheckobjattr.c: New file.
347 * Makefile.am (gen_SOURCES): Add it.
348 * ebl-hooks.h: Add check_object_attribute hook.
349 * eblopenbackend.c (default_check_object_attribute): New function.
350 (fill_defaults): Initialize pointer to it.
351
3522008-02-19 Roland McGrath <roland@redhat.com>
353
354 * eblsectiontypename.c (ebl_section_type_name):
355 Handle SHT_GNU_ATTRIBUTES.
356
3572008-02-08 Roland McGrath <roland@redhat.com>
358
359 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_SPE.
360
3612008-01-30 Roland McGrath <roland@redhat.com>
362
363 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_386_TLS.
364
Roland McGrathe4c22ea2007-10-23 13:07:39 +00003652007-10-18 Roland McGrath <roland@redhat.com>
366
367 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_VMX.
368
Ulrich Drepperb597dfa2007-10-16 05:21:27 +00003692007-10-11 Roland McGrath <roland@redhat.com>
370
371 * eblobjnote.c (ebl_object_note): Translate target format (byte-swap)
372 for NT_GNU_ABI_TAG contents.
373
Roland McGrathcb6d8652007-08-23 08:10:54 +00003742007-08-22 Roland McGrath <roland@redhat.com>
375
376 * libebl.h (Ebl_Core_Item): New member `group'.
377
3782007-08-19 Roland McGrath <roland@redhat.com>
379
380 * ebl-hooks.h: Add new hook auxv_info.
381 * eblopenbackend.c (default_auxv_info): New function.
382 (fill_defaults): Initialize auxv_info hook.
383 * eblauxvinfo.c : New file.
384 * Makefile.am (gen_SOURCES): Add it.
385 * libebl.h: Declare ebl_auxv_info.
386
387 * eblcorenote.c: Rewritten with new signature.
388 * Makefile.am (gen_SOURCES): Add it.
389 * libebl.h (Ebl_Register_Location, Ebl_Core_Item): New types.
390 (ebl_core_note_info): Completely revamp signature.
391 * ebl-hooks.h: Update decl.
392 * eblopenbackend.c (default_core_note): Update signature.
393
Roland McGrath87d47802007-07-16 22:23:37 +00003942007-07-09 Roland McGrath <roland@redhat.com>
395
396 * eblobjnotetypename.c (ebl_object_note_type_name): Handle
397 NT_GNU_HWCAP, NT_GNU_BUILD_ID.
398
399 * eblobjnote.c (ebl_object_note): Handle NT_GNU_BUILD_ID.
400
Roland McGrath4be15242007-04-25 03:09:33 +00004012007-04-22 Roland McGrath <roland@redhat.com>
402
403 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PRXFPREG.
404
Ulrich Drepperc07fbb32007-03-30 19:14:59 +00004052007-03-10 Roland McGrath <roland@redhat.com>
406
407 * eblcorenote.c (ebl_core_note): For normally-zero types,
408 print in hex if not zero.
409
Ulrich Drepperaa915fd2007-02-05 07:25:33 +00004102007-01-11 Roland McGrath <roland@redhat.com>
411
412 * ebl-hooks.h (machine_section_flag_check): New hook.
413 * libebl.h: Declare ebl_machine_section_flag_check.
414 * eblmachinesectionflagcheck.c: New file.
415 * Makefile.am (gen_SOURCES): Add it.
416 * eblopenbackend.c (default_machine_section_flag_check): New function.
417 (fill_defaults): Use it.
418
Roland McGrathc373d852006-10-10 00:25:21 +00004192006-09-04 Roland McGrath <roland@redhat.com>
420
421 * ebl-hooks.h: Replace register_name hook with register_info.
422 Also yield natural bit width and base type encoding.
423 * eblopenbackend.c (default_register_name): Renamed
424 default_register_info, new args added.
425 (fill_defaults): Update initialization.
426 * eblregname.c: File renamed ...
427 * eblreginfo.c: ... to this.
428 (ebl_register_name): Renamed to ebl_register_info, new args added.
429 * libebl.h: Update decl.
430
431 * Makefile.am (gen_SOURCES): Update list.
432
Ulrich Drepper28ed8952006-07-07 03:43:47 +00004332006-07-06 Ulrich Drepper <drepper@redhat.com>
434
435 * ebldynamictagname.c: Add support for DT_GNU_HASH.
436 * ebldynamictagcheck.c: Likewise.
437 * eblsectiontypename.c: Add support for SHT_GNU_HASH.
438
4392006-07-05 Ulrich Drepper <drepper@redhat.com>
440
441 * Makefile.am (gen_SOURCES): Add eblsysvhashentrysize.c.
442 * libeblP.h (struct ebl): Add sysvhash_entrysize element.
443 * eblopenbackend.c (fill_defaults): Initialize sysvhash_entrysize.
444
445 * eblopenbackend.c (openbackend): If possible, fill machine, class,
446 and data values in from the ELF file.
447
4482006-07-04 Ulrich Drepper <drepper@redhat.com>
449
450 * Makefile.am (gen_SOURCES): Add eblrelativerelocp.c.
451 * eblrelativerelocp.c: New file.
452 * ebl-hooks.c: Add relative_reloc_p.
453 * eblopenbackend.c (default_relative_reloc_p): New function.
454 (fill_defaults): Hook it up.
455 * libebl.h: Declare ebl_relative_reloc_p.
456
Ulrich Drepper6ca46002006-06-12 22:40:23 +00004572006-06-12 Ulrich Drepper <drepper@redhat.com>
458
459 * Makefile.am (gen_SOURCES): Add eblnonerelocp.c.
460 * eblnonerelocp.c: New file.
461 * ebl-hooks.c: Add none_reloc_p.
462 * eblopenbackend.c (default_none_reloc_p): New function.
463 (fill_defaults): Hook it up.
464 * libebl.h: Declare ebl_none_reloc_p.
465
Ulrich Drepper41cbd762006-05-27 18:19:23 +00004662006-05-27 Ulrich Drepper <drepper@redhat.com>
467
468 * libebl.h: Add extern "C".
469
Roland McGrath994b4892005-12-05 22:46:21 +00004702005-11-25 Roland McGrath <roland@redhat.com>
471
472 * eblregname.c: New file.
473 * Makefile.am (gen_SOURCES): Add it.
474 * ebl-hooks.h: Declare register_name hook.
475 * libebl.h: Declare ebl_register_name.
476 * eblopenbackend.c (default_register_name): New function.
477 (fill_defaults): Use it.
478
Roland McGrath215c6322005-11-16 22:46:04 +00004792005-11-16 Roland McGrath <roland@redhat.com>
480
481 * libebl.h: Use "" for elf-knowledge.h, not <>.
482
Roland McGrathe47ab762005-11-17 03:16:00 +00004832005-11-15 Roland McGrath <roland@redhat.com>
484
485 * Makefile.am: Removed everything for building libebl_*.so modules,
486 now in ../backends/Makefile.am instead.
487 * alpha_init.c: Moved to ../backends.
488 * alpha_reloc.def: Likewise.
489 * alpha_retval.c: Likewise.
490 * alpha_symbol.c: Likewise.
491 * arm_init.c: Likewise.
492 * arm_reloc.def: Likewise.
493 * arm_symbol.c: Likewise.
494 * common-reloc.c: Likewise.
495 * i386_corenote.c: Likewise.
496 * i386_init.c: Likewise.
497 * i386_reloc.def: Likewise.
498 * i386_retval.c: Likewise.
499 * i386_symbol.c: Likewise.
500 * ia64_init.c: Likewise.
501 * ia64_reloc.def: Likewise.
502 * ia64_symbol.c: Likewise.
503 * libebl_CPU.h: Likewise.
504 * ppc64_init.c: Likewise.
505 * ppc64_reloc.def: Likewise.
506 * ppc64_retval.c: Likewise.
507 * ppc64_symbol.c: Likewise.
508 * ppc_init.c: Likewise.
509 * ppc_reloc.def: Likewise.
510 * ppc_retval.c: Likewise.
511 * ppc_symbol.c: Likewise.
512 * s390_init.c: Likewise.
513 * s390_reloc.def: Likewise.
514 * s390_symbol.c: Likewise.
515 * sh_init.c: Likewise.
516 * sh_reloc.def: Likewise.
517 * sh_symbol.c: Likewise.
518 * sparc_init.c: Likewise.
519 * sparc_reloc.def: Likewise.
520 * sparc_symbol.c: Likewise.
521 * x86_64_corenote.c: Likewise.
522 * x86_64_init.c: Likewise.
523 * x86_64_reloc.def: Likewise.
524 * x86_64_retval.c: Likewise.
525 * x86_64_symbol.c: Likewise.
526
527 * libebl.h: Comment fixes.
528
529 * alpha_retval.c: New file.
530 * Makefile.am (alpha_SRCS): Add it.
531 * alpha_init.c (alpha_init): Initialize return_value_location hook.
532
533 * ppc64_retval.c: New file.
534 * Makefile.am (ppc64_SRCS): Add it.
535 * ppc64_init.c (ppc64_init): Initialize return_value_location hook.
536
537 * ppc_retval.c: New file.
538 * Makefile.am (ppc_SRCS): Add it.
539 * ppc_init.c (ppc_init): Initialize return_value_location hook.
540
Roland McGrathcd60ea82005-11-16 01:57:40 +00005412005-11-14 Roland McGrath <roland@redhat.com>
542
543 * ia64_init.c (ia64_init): Initialize EH->reloc_simple_type.
544 * sh_init.c (sh_init): Likewise.
545 * x86_64_init.c (x86_64_init): Likewise.
546
547 * sparc_symbol.c (sparc_reloc_simple_type): New function.
548 * sparc_init.c (sparc_init): Use it.
549
550 * arm_symbol.c (arm_reloc_simple_type): New function.
551 * arm_init.c (arm_init): Use it.
552
553 * alpha_symbol.c (alpha_reloc_simple_type): New function.
554 * alpha_init.c (alpha_init): Use it.
555
556 * ia64_reloc.def: Update bits per H. J. Lu <hjl@lucon.org>.
557
558 * arm_reloc.def: Update bits per Daniel Jacobowitz <drow@false.org>.
559
560 * alpha_reloc.def: Update bits per Richard Henderson <rth@redhat.com>.
561
Roland McGrathe47ab762005-11-17 03:16:00 +00005622005-11-13 Roland McGrath <roland@redhat.com>
563
564 * x86_64_retval.c: New file.
565 * Makefile.am (x86_64_SRCS): Add it.
566 * x86_64_init.c (x86_64_init): Use x86_64_return_value_location.
567
568 * i386_retval.c: New file.
569 * Makefile.am (i386_SRCS): Add it.
570 (libdw): New variable.
571 (libebl_%.so): Use $(libdw) in link; use --as-needed.
572 * i386_init.c (i386_init): Use i386_return_value_location.
573
574 * eblretval.c: New file.
575 * Makefile.am (gen_SOURCES): Add it.
576 (INCLUDES): Search in libdw.
577 * libebl.h: Include <libdw.h>. Declare ebl_return_value_location.
578 * ebl-hooks.h: Declare return_value_location hook.
579 * eblopenbackend.c (default_return_value_location): New function.
580 (fill_defaults): Use it.
581
Roland McGrathcd60ea82005-11-16 01:57:40 +00005822005-11-10 Roland McGrath <roland@redhat.com>
583
584 * s390_init.c: New file.
585 * s390_reloc.def: New file.
586 * s390_symbol.c: New file.
587 * Makefile.am (modules, libebl_pic): Add s390.
588 (s390_SRCS, libebl_s390_pic_a_SOURCES): New variables.
589 (am_libebl_s390_pic_a_OBJECTS): New variable.
590
591 * ppc64_init.c: Use common-reloc.c.
592 * ppc64_symbol.c (ppc64_backend_name): Removed.
593 (ppc64_reloc_type_check, ppc64_reloc_type_name): Likewise.
594 (ppc64_copy_reloc_p, ppc64_reloc_valid_use): Likewise.
595
596 * ppc_init.c: Use common-reloc.c.
597 * ppc_symbol.c (ppc_backend_name): Removed.
598 (ppc_reloc_type_name, ppc_reloc_type_check): Likewise.
599 (ppc_reloc_valid_use, ppc_copy_reloc_p): Likewise.
600
601 * sparc_init.c: Use common-reloc.c.
602 * sparc_symbol.c (sparc_backend_name): Removed.
603 (sparc_reloc_type_name, sparc_reloc_type_check): Likewise.
604 (sparc_copy_reloc_p): Likewise.
605
606 * arm_init.c: Use common-reloc.c.
607 * arm_symbol.c (arm_backend_name): Removed.
608 (arm_reloc_type_name, arm_reloc_type_check, arm_copy_reloc_p): Removed.
609
610 * alpha_init.c: Use common-reloc.c.
611 * alpha_symbol.c (alpha_backend_name): Removed.
612 (alpha_reloc_type_name, alpha_reloc_type_check): Likewise.
613 (alpha_copy_reloc_p): Likewise.
614
615 * ia64_symbol.c (ia64_backend_name): Removed.
616 (ia64_reloc_type_name, ia64_reloc_type_check): Likewise.
617 (ia64_copy_reloc_p): Likewise.
618
619 * x86_64_init.c: Use common-reloc.c.
620 * x86_64_symbol.c (x86_64_backend_name): Removed.
621 (x86_64_copy_reloc_p, x86_64_reloc_valid_use): Likewise.
622 (x86_64_reloc_type_check, x86_64_reloc_type_name): Likewise.
623
624 * sh_init.c: Use common-reloc.c.
625 * sh_symbol.c: All functions removed.
626 (sh_reloc_simple_type): New function.
627 (sh_gotpc_reloc_check): New function.
628
629 * common-reloc.c: New file.
630 * Makefile.am (noinst_HEADERS): Add it.
631 * i386_init.c: Include it.
632
633 * sh_reloc.def: New file.
634 * i386_reloc.def: New file.
635 * alpha_reloc.def: New file.
636 * arm_reloc.def: New file.
637 * i386_reloc.def: New file.
638 * ia64_reloc.def: New file.
639 * ppc64_reloc.def: New file.
640 * ppc_reloc.def: New file.
641 * sh_reloc.def: New file.
642 * sparc_reloc.def: New file.
643 * x86_64_reloc.def: New file.
644 * Makefile.am (EXTRA_DIST): Add $(modules:=_reloc.def).
645
646 * libebl_alpha.map: Removed.
647 * libebl_ia64.map: Removed.
648 * libebl_ppc.map: Removed.
649 * libebl_sparc.map: Removed.
650 * libebl_arm.map: Removed.
651 * libebl_i386.map: Removed.
652 * libebl_ppc64.map: Removed.
653 * libebl_sh.map: Removed.
654 * libebl_x86_64.map: Removed.
655 * Makefile.am (EXTRA_DIST): Remove them.
656 (libebl_%.map, libebl_%.so): New pattern rules.
657
658 * libebl_alpha.h: Removed.
659 * libebl_ia64.h: Removed.
660 * libebl_ppc.h: Removed.
661 * libebl_sparc.h: Removed.
662 * libebl_arm.h: Removed.
663 * libebl_i386.h: Removed.
664 * libebl_ppc64.h: Removed.
665 * libebl_sh.h: Removed.
666 * libebl_x86_64.h: Removed.
667 * Makefile.am (noinst_HEADERS): Remove them.
668
669 * x86_64_corenote.c: Use libebl_CPU.h instead.
670 * x86_64_symbol.c: Likewise.
671 * i386_corenote.c: Likewise.
672
6732005-11-09 Roland McGrath <roland@redhat.com>
674
675 * ia64_symbol.c (ia64_reloc_simple_type): New function.
676
677 * ebl-hooks.h (reloc_simple_type): Take the Ebl handle, not Elf handle.
678 * eblrelocsimpletype.c (ebl_reloc_simple_type): Update caller.
679 * eblopenbackend.c (default_reloc_simple_type): Update signature.
680 * i386_symbol.c (i386_reloc_simple_type): Likewise.
681 * ppc64_symbol.c (ppc64_reloc_simple_type): Likewise.
682 * ppc_symbol.c (ppc_reloc_simple_type): Likewise.
683 * x86_64_symbol.c (x86_64_reloc_simple_type): Likewise.
684
685 * i386_symbol.c (i386_backend_name): Removed.
686 (i386_reloc_type_name, i386_reloc_type_check): Likewise.
687 (i386_reloc_valid_use): Removed.
688 (i386_copy_reloc_p): Removed.
689
690 * alpha_destr.c: Removed.
691 * arm_destr.c: Removed.
692 * i386_destr.c: Removed.
693 * ia64_destr.c: Removed.
694 * ppc64_destr.c: Removed.
695 * ppc_destr.c: Removed.
696 * sh_destr.c: Removed.
697 * sparc_destr.c: Removed.
698 * x86_64_destr.c: Removed.
699
700 * ebl-hooks.h: New file, broken out of ...
701 * libeblP.h (struct ebl): ... here. #include that for hook
702 declarations, after defining EBLHOOK macro.
703 * libebl_CPU.h: New file.
704 * Makefile.am (noinst_HEADERS): Add them.
705
706 * libeblP.h (struct ebl): Use uint_fast16_t for machine,
707 and uint_fast8_t for class and data.
708
7092005-08-14 Roland McGrath <roland@redhat.com>
710
711 * ia64_symbol.c (ia64_section_type_name): New function.
712 (ia64_dynamic_tag_check): New function.
713 (ia64_reloc_valid_use): New function.
714 * libebl_ia64.h: Declare them.
715 * ia64_init.c (ia64_init): Use them.
716 * Makefile.am (libebl_ia64.so): Link with libelf.
717
Ulrich Drepperfbe998a2005-08-29 16:27:10 +00007182005-08-28 Ulrich Drepper <drepper@redhat.com>
719
720 * Makefile.am: Use $(LINK) not $(CC) when creating DSOs.
721
Roland McGrathe53d04a2005-08-13 20:56:07 +00007222005-08-13 Roland McGrath <roland@redhat.com>
723
724 * ia64_symbol.c (ia64_machine_flag_check): New function.
725 * libebl_ia64.h: Declare it.
726 * ia64_init.c (ia64_init): Use it.
727
Ulrich Drepperc5c33a62005-08-13 17:50:47 +00007282005-08-13 Ulrich Drepper <drepper@redhat.com>
729
730 * libebl.h: Add ehdr parameter to ebl_bss_plt_p and
731 ebl_check_special_symbol.
732 * libeblP.h (struct ebl): Adjust callback functions.
733 * eblopenbackend.c: Adjust dummy functions.
734 * ebl_check_special_symbol.c: Add parameter and pass it on.
735 * eblbsspltp.c: Likewise.
736 * ppc_symbol.c (find_dyn_got): With ehdr passed, simplify search for
737 the dynamic section entry.
738 (ppc_check_special_symbol): Add ehdr parameter.
739 (ppc_bss_plt_p): Likewise.
740 * libebl_ppc.h: Adjust prototypes.
741 * ppc64_symbol.c (ppc_check_special_symbol): Add ehdr parameter.
742 (ppc_bss_plt_p): Likewise.
743 * libebl_ppc64.h: Adjust prototypes.
744
Roland McGrath653d3762005-08-13 01:59:10 +00007452005-08-12 Roland McGrath <roland@redhat.com>
746
Roland McGrathf8873cb2005-08-13 03:26:06 +0000747 * ppc_symbol.c (find_dyn_got): New function, broken out of ...
748 (ppc_bss_plt_p): ... here. Call that.
749 (ppc_check_special_symbol): Use find_dyn_got to fetch value to check
750 against _GLOBAL_OFFSET_TABLE_.
751
Roland McGrath653d3762005-08-13 01:59:10 +0000752 * libeblP.h (struct ebl): Add bss_plt_p hook.
753 * eblopenbackend.c (default_bss_plt_p): New function.
754 (fill_defaults): Use it.
755 * eblbsspltp.c: New file.
756 * Makefile.am (gen_SOURCES): Add it.
757 * libebl.h: Declare ebl_bss_plt_p.
758 * ppc_symbol.c (ppc_bss_plt_p): New function.
759 * libebl_ppc.h: Declare it.
760 * ppc_init.c (ppc_init): Use it.
761 * ppc64_symbol.c (ppc64_bss_plt_p): New function.
762 * libebl_ppc64.h: Declare it.
763 * ppc64_init.c (ppc64_init): Use it.
764
765 * ebl_check_special_symbol.c: New file.
766 * Makefile.am (gen_SOURCES): Add it.
767 * libebl.h: Declare ebl_check_special_symbol.
768 * libeblP.h (struct ebl): Add check_special_symbol hook.
769 * eblopenbackend.c (default_check_special_symbol): New function.
770 (fill_defaults): Use it.
771 * ppc_symbol.c (ppc_check_special_symbol): New function.
772 * libebl_ppc.h: Add prototype.
773 * ppc_init.c (ppc_init): Use it.
774 * ppc64_symbol.c (ppc64_check_special_symbol): New function.
775 * libebl_ppc64.h: Add prototype.
776 * ppc64_init.c (ppc64_init): Use it.
777
Ulrich Drepperb03b0572005-08-07 08:12:22 +00007782005-08-07 Ulrich Drepper <drepper@redhat.com>
779
780 * ppc_init.c: Add support for new DT_PPC_* and R_PPC_* values.
781 * ppc_symbol.c: Likewise.
782 * libebl_ppc.h: Likewise.
783 * ppc64_init.c: There is now also a dynamic_tag_check functions
784 * ppc64_symbol.c: Add dynamic_tag_check.
785 * libebl_ppc64.h: Add prototype.
786 * alpha_init.c: Add support for new DT_ALPHA_* value.
787 * alpha_symbol.c: Likewise.
788 * libebl_alpha.h: Likewise.
789
Ulrich Drepper6fcb3832005-08-03 21:10:49 +00007902005-08-03 Ulrich Drepper <drepper@redhat.com>
791
792 * libebl_alpha.map: Remove unnecessary exports.
793 * libebl_arm.map: Likewise.
794 * libebl_i386.map: Likewise.
795 * libebl_ia64.map: Likewise.
796 * libebl_ppc.map: Likewise.
797 * libebl_ppc64.map: Likewise.
798 * libebl_sh.map: Likewise.
799 * libebl_sparc.map: Likewise.
800 * libebl_x86_64.map: Likewise.
801
Ulrich Dreppera38998e2005-08-03 02:05:39 +00008022005-08-02 Ulrich Drepper <drepper@redhat.com>
803
804 * Makefile.am (libebl_a_SOURCES): Add eblelfclass.c, eblelfdata.c,
805 and eblelfmachine.c.
806 * elbopenbackend.c (machines): Add class and data fields. Initialize
807 them.
808 (ebl_openbackend): Initialize machine, class, data fields in result.
809 * libebl.h: Declare Add eblelfclass, eblelfdata, and eblelfmachine.
810 * libeblP.h (Ebl): Add machine, class, data fields.
811
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00008122005-07-23 Ulrich Drepper <drepper@redhat.com>
813
814 * eblsectionstripp.c: New file.
815 * Makefile.am (gen_SOURCES): Add eblsectionstripp.c.
816 * i386_init.c (i386_init): Install specific debugscn_p callback.
817 * i386_symbol.c (i386_debugscn_p): New function.
818 * libebl.h: Declare ebl_section_strip_p.
819 * libebl_i386.h: Declare i386_debugscn_p.
820
821 * libebl.h: Move Ebl definition to...
822 * libeblP.h: ...here.
823
8242005-07-21 Roland McGrath <roland@redhat.com>
825
826 * Makefile.am (install-ebl-modules): New target, commands from ...
827 (install): ... here. Make this depend on it.
828 (LIBEBL_SUBDIR): New variable, substituted by configure.
829 (install-ebl-modules): Install in $(libdir)/$(LIBEBL_SUBDIR).
830 * eblopenbackend.c (openbackend): Use LIBEBL_SUBDIR in module name.
831
8322005-07-21 Ulrich Drepper <drepper@redhat.com>
833
834 * eblcopyrelocp.c: New file.
835 * Makefile.am (gen_SOURCES): Add eblcopyrelocp.c.
836 * libebl.h: Declare ebl_copy_reloc_p.
837 * eblopenbackend.c (fill_defaults): Fill in copy_reloc_p.
838 (default_copy_reloc_p): New function.
839 * alpha_init.c: Define and use arch-specific copy_reloc_p function.
840 * alpha_symbol.c: Likewise.
841 * arm_init.c: Likewise.
842 * arm_symbol.c: Likewise.
843 * i386_init.c: Likewise.
844 * i386_symbol.c: Likewise.
845 * ia64_init.c: Likewise.
846 * ia64_symbol.c: Likewise.
847 * ppc64_init.c: Likewise.
848 * ppc64_symbol.c: Likewise.
849 * ppc_init.c: Likewise.
850 * ppc_symbol.c: Likewise.
851 * sh_init.c: Likewise.
852 * sh_symbol.c: Likewise.
853 * sparc_init.c: Likewise.
854 * sparc_symbol.c: Likewise.
855 * x86_64_init.c: Likewise.
856 * x86_64_symbol.c: Likewise.
857 * libebl_alpha.h: Declare the copy_reloc_p function.
858 * libebl_arm.h: Likewise.
859 * libebl_i386.h: Likewise.
860 * libebl_ia64.h: Likewise.
861 * libebl_ppc.h: Likewise.
862 * libebl_ppc64.h: Likewise.
863 * libebl_sh.h: Likewise.
864 * libebl_sparc.h: Likewise.
865 * libebl_x86_64.h: Likewise.
866
8672005-05-31 Roland McGrath <roland@redhat.com>
868
869 * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
870 tracking works right.
871
8722005-05-21 Ulrich Drepper <drepper@redhat.com>
873
874 * libebl_x86_64.map: Add x86_64_core_note.
875
8762005-05-19 Roland McGrath <roland@redhat.com>
877
878 * libebl_i386.map: Add i386_reloc_valid_use, i386_reloc_simple_type.
879 * libebl_ppc.map: Add ppc_reloc_simple_type.
880 * libebl_ppc64.map: Add ppc64_reloc_simple_type.
881 * libebl_x86_64.map: Add x86_64_reloc_simple_type.
882
8832005-05-11 Ulrich Drepper <drepper@redhat.com>
884
885 * eblcorenote.c: Handle new AT_* values and files with different
886 endianess.
887 * Makefile.am (x86_64_SRCS): Add x86_64_corenote.c.
888 * x86-64_corenote.c: New file.
889 * x86_64_init.c: Hook in x86_64_corenote.
890 * i386_corenote.c: Make file usable on 64-bit platforms.
891
892 * eblopenbackend.c: If modules version comparison fails, reinitialize
893 hooks.
894
8952005-05-10 Ulrich Drepper <drepper@redhat.com>
896
897 * eblopenbackend.c: Require the init function to return a string.
898 Compare it with MODVERSION from config.h.
899 * alpha_init.c: Change return type. Return MODVERSION or NULL.
900 * arm_init.c: Likewise.
901 * eblopenbackend.c: Likewise.
902 * i386_init.c: Likewise.
903 * ia64_init.c: Likewise.
904 * ppc64_init.c: Likewise.
905 * ppc_init.c: Likewise.
906 * sh_init.c: Likewise.
907 * sparc_init.c: Likewise.
908 * x86_64_init.c: Likewise.
909 * libeblP.h: Adjust ebl_bhinit_t.
910 * libebl_alpha.h: Adjust init function prototype.
911 * libebl_arm.h: Likewise.
912 * libebl_i386.h: Likewise.
913 * libebl_ia64.h: Likewise.
914 * libebl_ppc.h: Likewise.
915 * libebl_ppc64.h: Likewise.
916 * libebl_sh.h: Likewise.
917 * libebl_sparc.h: Likewise.
918 * libebl_x86_64.h: Likewise.
919
920 * mips_destr.c: Removed.
921 * mips_init.c: Removed.
922 * mips_symbol.c: Removed.
923 * libebl_mips.h: Removed.
924 * libebl_mips.map: Removed.
925
9262005-05-03 Roland McGrath <roland@redhat.com>
927
928 * libebl.h (Ebl): Add `reloc_simple_type' member.
929 * eblopenbackend.c (default_reloc_simple_type): New function.
930 (openbackend): Use that as default reloc_simple_type callback.
931 * eblrelocsimpletype.c: New file.
932 * Makefile.am (gen_SOURCES): Add it.
933 * i386_symbol.c (i386_reloc_simple_type): New function.
934 * libebl_i386.h: Declare it.
935 * i386_init.c (i386_init): Use it.
936 * x86_64_symbol.c (x86_64_reloc_simple_type): New function.
937 * libebl_x86_64.h: Declare it.
938 * x86_64_init.c (x86_64_init): Use it.
939 * ppc_symbol.c (ppc_reloc_simple_type): New function.
940 * libebl_ppc.h: Declare it.
941 * ppc_init.c (ppc_init): Use it.
942 * ppc64_symbol.c (ppc64_reloc_simple_type): New function.
943 * libebl_ppc64.h: Declare it.
944 * ppc64_init.c (ppc64_init): Use it.
945
9462005-03-17 Ulrich Drepper <drepper@redhat.com>
947
948 * eblcorenote.c (ebl_core_note): Add support for AT_SECURE.
949
9502005-02-15 Ulrich Drepper <drepper@redhat.com>
951
952 * Makefile.am (AM_CFLAGS): Add -Wformat=2.
953
9542005-02-14 Ulrich Drepper <drepper@redhat.com>
955
956 * alpha_destr.c: Add __attribute__((unused)) where needed.
957 * alpha_init.c: Likewise.
958 * alpha_symbol.c: Likewise.
959 * arm_destr.c: Likewise.
960 * arm_init.c: Likewise.
961 * arm_symbol.c: Likewise.
962 * i386_corenote.c: Likewise.
963 * i386_destr.c: Likewise.
964 * i386_init.c: Likewise.
965 * i386_symbol.c: Likewise.
966 * ia64_destr.c: Likewise.
967 * ia64_init.c: Likewise.
968 * ia64_symbol.c: Likewise.
969 * mips_destr.c: Likewise.
970 * mips_init.c: Likewise.
971 * mips_symbol.c: Likewise.
972 * ppc64_destr.c: Likewise.
973 * ppc64_init.c: Likewise.
974 * ppc64_symbol.c: Likewise.
975 * ppc_destr.c: Likewise.
976 * ppc_init.c: Likewise.
977 * ppc_symbol.c: Likewise.
978 * sh_destr.c: Likewise.
979 * sh_init.c: Likewise.
980 * sh_symbol.c: Likewise.
981 * sparc_destr.c: Likewise.
982 * sparc_init.c: Likewise.
983 * sparc_symbol.c: Likewise.
984 * x86_64_destr.c: Likewise.
985 * x86_64_init.c: Likewise.
986 * x86_64_symbol.c: Likewise.
987
988 * x86_64_symbol.c (reloc_map_table): Fix entries for R_X86_64_64
989 and R_X86_64_32..
990
9912005-02-06 Ulrich Drepper <drepper@redhat.com>
992
993 * eblstrtab.c: A few cleanups.
994
995 * eblopenbackend.c: Mark unused parameters.
996
997 * eblgstrtab.c: Cleanups a few printf format strings.
998
999 * Makefile.am: Cleanup AM_CFLAGS handling. Add -Wunused -Wextra.
1000
10012005-02-05 Ulrich Drepper <drepper@redhat.com>
1002
1003 * Makefile.am: Check for text relocations in constructed DSOs.
1004
1005 * eblstrtab.c: Minor cleanups.
1006
1007 * Makefile.am (AM_CFLAGS): Add -std=gnu99 and -fmudflap for MUDFLAP.
1008
10092004-08-16 Ulrich Drepper <drepper@redhat.com>
1010
1011 * Makefile.am (AM_CFLAGS): Add LIBSTR definition with base name of
1012 the lib directory.
1013 * eblopenbackend.c (openbackend): Use LIBSTR instead of hardcoded
1014 lib in path to ebl modules.
1015
10162004-04-01 Ulrich Drepper <drepper@redhat.com>
1017
1018 * Makefile.am: Add rules for ppc and ppc64 ebl module.
1019 * ppc_init..c: New file.
1020 * ppc_destr.c: New file.
1021 * ppc_symbol.c: New file.
1022 * libebl_ppc.h: New file.
1023 * libebl_ppc.map: New file.
1024 * ppc64_init..c: New file.
1025 * ppc64_destr.c: New file.
1026 * ppc64_symbol.c: New file.
1027 * libebl_ppc64.h: New file.
1028 * libebl_ppc64.map: New file.
1029
10302004-01-20 Ulrich Drepper <drepper@redhat.com>
1031
1032 * Makefile.am: Support building with mudflap.
1033
10342004-01-18 Ulrich Drepper <drepper@redhat.com>
1035
1036 * libeblP.h (_): Use elfutils domain.
1037
10382004-01-16 Ulrich Drepper <drepper@redhat.com>
1039
1040 * eblsectionname.c: Add support for SHN_BEFORE and SHN_AFTER.
1041
10422004-01-13 Ulrich Drepper <drepper@redhat.com>
1043
1044 * eblsegmenttypename.c ((ebl_segment_type_name): Add support for
1045 PT_GNU_RELRO.
1046
10472004-01-08 Ulrich Drepper <drepper@redhat.com>
1048
1049 * libebl.h: Remove last traces of libtool.
1050
10512004-01-05 Ulrich Drepper <drepper@redhat.com>
1052
1053 * elf-knowledge.h: Move to libelf subdir.
1054
1055 * Makefile.am (EXTRA_DIST): Remove libebl.map.
1056 * libebl.map: Removed.
1057
10582003-12-08 Ulrich Drepper <drepper@redhat.com>
1059
1060 * eblsectiontypename.c (ebl_section_type_name): Add support for
1061 SHT_SUNW_move, SHT_CHECKSUM, and SHT_GNU_LIBLIST.
1062
10632003-11-19 Ulrich Drepper <drepper@redhat.com>
1064
1065 * ia64_symbol.c (ia64_dynamic_tag_name): New function.
1066 * libebl_ia64.h (ia64_dynamic_tag_name): Declare.
1067 * ia64_init.c (ia64_init): Register i164_dynamic_tag_name.
1068
10692003-09-24 Ulrich Drepper <drepper@redhat.com>
1070
1071 * ia64_init.c (ia64_init): Initialize segment_type_name callback.
1072 * ia64_symbol.c (ia64_segment_type_name): Define.
1073 * libebl_ia64.h (ia64_segment_type_name): Declare.
1074
10752003-09-22 Ulrich Drepper <drepper@redhat.com>
1076
1077 * Makefile.am (AM_CFLAGS): Add -fpic.
1078
10792003-08-14 Ulrich Drepper <drepper@redhat.com>
1080
1081 * Makefile.am (install): Remove dependency on libebl.so.
1082
10832003-08-13 Ulrich Drepper <drepper@redhat.com>
1084
1085 * eblopenbackend.c: Adjust relative path to arch-specific DSOs
1086 assuming the code ends up in the application. Add second dlopen()
1087 try without any path, just the filename.
1088 * Makefile.in: Remove rules to build and install libebl.so.
1089
10902003-08-11 Ulrich Drepper <drepper@redhat.com>
1091
1092 * Moved to CVS archive.