blob: b4e9049ca3088508565f11caaeb329107d9f1937 [file] [log] [blame]
Mark Wielaard92581d72018-03-16 19:42:17 +010012018-03-16 Mark Wielaard <mark@klomp.org>
2
3 * ebldynamictagname.c (ebl_dynamic_tag_name): Add SYMTAB_SHNDX to
4 stdtags. Add a eu_static_assert to make sure stdtags contains all
5 DT_NUM entries.
6
Mark Wielaardebc17682018-02-21 16:31:44 +010072018-02-21 Mark Wielaard <mark@klomp.org>
8
9 * eblcheckreloctargettype.c (ebl_check_reloc_target_type): Accept
10 SHT_NOTE.
11
Joshua Watt555e15e2018-02-09 10:27:18 -0600122018-02-09 Joshua Watt <JPEWhacker@gmail.com>
13
14 * eblobjnote.c (ebl_object_note): Use FALLTHROUGH macro instead of
15 comment.
16
Ulf Hermann07737582017-08-18 12:41:11 +0200172017-04-27 Ulf Hermann <ulf.hermann@qt.io>
18
19 * Makefile.am: Use fpic_CFLAGS.
20
Gustavo Romero55a471f2017-07-20 17:49:02 -0400212017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com>
22
23 * eblcorenotetypename.c: Add ppc64 HTM SPRs note as known type.
24
Mark Wielaard55cb7df2017-07-20 22:34:29 +0200252017-07-20 Mark Wielaard <mark@klomp.org>
26
27 * Makefile.am (gen_SOURCES): Add ebl_data_marker_symbol.c.
28 * ebl-hooks.h (data_marker_symbol): New hook.
29 * ebl_data_marker_symbol.c: New file.
30 * eblopenbackend.c (default_data_marker_symbol): New function.
31 (fill_defaults): Add default_data_marker_symbol.
32 * libebl.h (ebl_data_marker_symbol): New function.
33
Ulf Hermannc73a00d2017-04-20 15:55:47 +0200342017-04-20 Ulf Hermann <ulf.hermann@qt.io>
35
36 * libebl.h: Use __pure_attribute__.
37
Ulf Hermannb3248e62017-02-16 10:10:30 +0100382017-02-15 Ulf Hermann <ulf.hermann@qt.io>
39
40 * eblmachineflagname.c: Include system.h.
41 * eblopenbackend.c: Likewise.
42
Mark Wielaarddd906c12016-07-08 14:08:22 +0200432016-07-08 Mark Wielaard <mjw@redhat.com>
44
45 * Makefile.am (gen_SOURCES): Remove eblstrtab.c.
46 * eblstrtab.c: Removed.
47 * libebl.h (Ebl_Strtab): Removed.
48 (Ebl_Strent): Removed.
49 (ebl_strtabinit): Removed.
50 (ebl_strtabfree): Removed.
51 (ebl_strtabadd): Removed.
52 (ebl_strtabfinalize): Removed.
53 (ebl_strtaboffset): Removed.
54 (ebl_string): Removed.
55
Mark Wielaarde6ca75d2016-07-06 18:27:54 +0200562016-07-06 Mark Wielaard <mjw@redhat.com>
57
58 * Makefile.am (gen_SOURCES): Remove eblobjecttypename.c,
59 eblshflagscombine.c, eblwstrtab.c and eblgstrtab.c.
60 * ebl-hooks.h (object_type_name): Removed.
61 (sh_flags_combine): Likewise.
62 * eblgstrtab.c: Removed.
63 * eblobjecttypename.c: Removed.
64 * eblopenbackend.c (default_object_type_name): Removed.
65 (default_sh_flags_combine): Likewise.
66 (fill_defaults): Removed object_type_name and sh_flags_combine.
67 * eblshflagscombine.c: Removed.
68 * eblwstrtab.c: Removed.
69 * libebl.h (ebl_object_type_name): Removed.
70 (ebl_sh_flags_combine): Likewise.
71 (ebl_wstrtab*): Removed.
72 (ebl_gstrtab*): Likewise.
73
Richard Henderson9a36c922016-06-21 15:10:10 -0700742016-06-28 Richard Henderson <rth@redhat.com>
75
76 * ebl-hooks.h (EBLHOOK(disasm)): Add ebl parameter.
77 * eblopenbackend.c (machines): Add EM_BPF entry.
78
Andreas Schwab37bb3fc2016-05-20 19:37:29 +0200792016-05-20 Andreas Schwab <schwab@linux-m68k.org>
80
81 * eblopenbackend.c (machines) [EM_68K]: Set class and data.
82
Mark Wielaard6e723c72016-02-12 15:04:00 +0100832016-02-12 Mark Wielaard <mjw@redhat.com>
84
85 * eblobjnotetypename.c (ebl_object_note_type_name): Check name is
86 "Go" and use new goknowntypes then. Otherwise check name is not
87 "GNU" and return "unknown".
88
Mark Wielaardc5da7c92016-01-09 22:09:48 +0100892016-01-09 Mark Wielaard <mjw@redhat.com>
90
91 * eblobjnote.c (ebl_object_note): Add brackets around if statement
92 body.
93
Mark Wielaardd22cb042015-12-30 14:39:18 +0100942015-12-18 Mark Wielaard <mjw@redhat.com>
95
96 * eblopenbackend.c (default_debugscn_p): Also match .zdebug sections.
97
Jose E. Marchesi42f0df12015-12-08 19:10:40 +0100982015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com>
99
100 * libebl.h: Prototype for ebl_ra_offset.
101 * eblabicfi.c (ebl_ra_offset): New function.
102 * libeblP.h (struct ebl): new field ra_offset;
103
Jose E. Marchesi133509f2015-10-05 17:36:30 +02001042015-09-24 Jose E. Marchesi <jose.marchesi@oracle.com>
105
106 * Makefile.am (AM_CFLAGS): Use -fPIC instead of -fpic to avoid
107 relocation overflows in some platforms.
108
Mark Wielaard1ccdfb62015-09-22 22:27:01 +02001092015-09-22 Mark Wielaard <mjw@redhat.com>
110
111 * *.c: Remove old-style function definitions.
112
Chih-Hung Hsieh2d982862015-09-09 12:32:07 -07001132015-09-09 Chih-Hung Hsieh <chh@google.com>
114
115 * ebldwarftoregno.c (ebl_dwarf_to_regno): Remove redundant NULL tests
116 on parameters declared with __nonnull_attribute__.
117 * eblinitreg.c (ebl_frame_nregs): Likewise.
118 * eblnormalizepc.c (ebl_normalize_pc): Likewise.
119 * eblunwind.c (ebl_unwind): Likewise.
120
Chih-Hung Hsiehaa1c2ca2015-09-04 12:04:11 -07001212015-09-04 Chih-Hung Hsieh <chh@google.com>
122
123 * eblopenbackend.c (ebl_openbackend_machine): Replace K&R function
124 definition with ansi-C definitions.
125 * eblstother.c (ebl_check_st_other_bits): Likewise.
126
Mark Wielaard65dc8002015-06-12 12:50:14 +02001272015-06-12 Mark Wielaard <mjw@redhat.com>
128
129 * eblcheckreloctargettype.c (ebl_check_reloc_target_type): Allow
130 SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY.
131
Mark Wielaarddf1708a2015-05-17 18:49:10 +02001322015-05-17 Mark Wielaard <mjw@redhat.com>
133
Mark Wielaard390dd3d2015-05-17 20:07:56 +0200134 * eblobjnote.c (ebl_object_note): If allocation buf is large, then
135 allocate it with malloc.
136
1372015-05-17 Mark Wielaard <mjw@redhat.com>
138
Mark Wielaarddf1708a2015-05-17 18:49:10 +0200139 * eblopenbackend.c (MAX_PREFIX_LEN): New define (16).
140 (openbackend): Stack allocate symname array using MAX_PREFIX_LEN.
141
Mark Wielaard858dc652015-01-27 13:07:17 +01001422015-01-27 Mark Wielaard <mjw@redhat.com>
143
144 * libebl.h: Add comment from README that this is completely
145 UNSUPPORTED.
146
Mark Wielaard712c8fa2014-11-22 23:08:48 +01001472014-11-22 Mark Wielaard <mjw@redhat.com>
148
149 * ebl-hooks.h (bss_plt_p): Remove ehdr argument.
150 * eblbsspltp.c (ebl_bss_plt_p): Likewise.
151 * eblopenbackend.c (default_bss_plt_p): Likewise.
152 * libebl.h (ebl_bss_plt_p): Likewise.
153
Mark Wielaard5c1a45c2014-11-17 23:15:45 +01001542014-11-17 Mark Wielaard <mjw@redhat.com>
155
156 * ebldebugscnp.c (ebl_debugscn_p): Check name is not NULL.
157
Mark Wielaardc1c1c062014-06-14 17:15:37 +02001582014-06-17 Mark Wielaard <mjw@redhat.com>
159
160 * eblinitreg.c (ebl_func_addr_mask): New function.
161 * libebl.h (ebl_func_addr_mask): Define.
162 * libeblP.h (struct ebl): Add func_addr_mask.
163
Mark Wielaard028d0ab2014-05-19 16:52:56 +02001642014-05-19 Mark Wielaard <mjw@redhat.com>
165
166 * Makefile.am (gen_SOURCES): Add eblcheckreloctargettype.c.
167 * eblcheckreloctargettype.c: New file.
168 * ebl-hooks.h (check_reloc_target_type): New hook.
169 * eblopenbackend.c (default_check_reloc_target_type): New function.
170 (fill_defaults): Assign default_check_reloc_target_type to
171 check_reloc_target_type.
172 * libebl.h (ebl_check_reloc_target_type): New function definition.
173
Mark Wielaard159ac522013-12-18 11:05:54 +01001742013-12-18 Mark Wielaard <mjw@redhat.com>
175
176 * Makefile.am (gen_SOURCES): Add eblresolvesym.c.
177 * ebl-hooks.h (resolve_sym_value): New entry.
178 * eblresolvesym.c: New file.
179 * libebl.h (ebl_resolve_sym_value): New definition.
180 * libeblP.h (fd_addr): New field.
181 (fd_data): Likewise.
182
Jan Kratochvilc6a41482013-12-17 18:49:54 +01001832013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
184
185 unwinder: s390 and s390x
186 * Makefile.am (gen_SOURCES): Add eblnormalizepc.c and eblunwind.c.
187 * ebl-hooks.h (normalize_pc, unwind): New.
188 * eblnormalizepc.c: New file.
189 * eblunwind.c: New file.
190 * libebl.h (Ebl_Register_Location): Add field pc_register.
191 (ebl_normalize_pc): New declaration.
192 (ebl_tid_registers_get_t, ebl_pid_memory_read_t): New definitions.
193 (ebl_unwind): New declaration.
194
Jan Kratochvil5cbf42a2013-12-15 18:56:17 +01001952013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
196
197 unwinder: ppc and ppc64
198 * Makefile.am (gen_SOURCES): Add ebldwarftoregno.c.
199 * ebl-hooks.h (dwarf_to_regno): New.
200 * ebldwarftoregno.c: New file.
201 * libebl.h (Ebl_Core_Item): New field pc_register.
202 (ebl_tid_registers_t): Add FIRSTREG -1 to the comment.
203 (ebl_dwarf_to_regno): New.
204
Petr Machata98c8a732013-11-26 03:10:31 +01002052013-11-25 Petr Machata <pmachata@redhat.com>
206
207 * eblopenbackend.c (machines): Add entry for AArch64.
208
Jan Kratochvil1c1a53b2013-11-14 20:55:41 +01002092013-11-14 Jan Kratochvil <jan.kratochvil@redhat.com>
210
211 Code cleanup: Remove const in prototype
212 * libebl.h (ebl_tid_registers_t): Remove const from firstreg.
213
Jan Kratochvil0b867462013-05-30 14:37:38 +02002142013-11-07 Jan Kratochvil <jan.kratochvil@redhat.com>
215 Mark Wielaard <mjw@redhat.com>
216
217 * Makefile.am (gen_SOURCES): Add eblinitreg.c.
218 * ebl-hooks.h (set_initial_registers_tid): New entry.
219 * eblinitreg.c: New file.
220 * libebl.h (ebl_tid_registers_t): New definition.
221 (ebl_set_initial_registers_tid, ebl_frame_nregs): New declarations.
222 * libeblP.h (struct ebl): New entry frame_nregs.
223
Mark Wielaard3dec3e12013-10-06 17:04:07 +02002242013-10-06 Mark Wielaard <mjw@redhat.com>
225
226 * libebl.h (ebl_abi_cfi): Document restrictions using register
227 rules.
228
Petr Machatab43bcfe2013-09-26 00:38:37 +02002292013-09-26 Petr Machata <pmachata@redhat.com>
230
231 * eblcorenotetypename.c: Handle NT_ARM_TLS, NT_ARM_HW_BREAK,
232 NT_ARM_HW_WATCH, NT_SIGINFO, NT_FILE.
233
Mark Wielaard2cfec292013-09-25 13:02:53 +02002342013-09-25 Mark Wielaard <mjw@redhat.com>
235
236 * eblsectionstripp.c (ebl_section_strip_p): Check shdr_l is not NULL.
237
Mark Wielaardcdaaf212013-04-25 16:50:11 -04002382013-04-24 Mark Wielaard <mjw@redhat.com>
239
240 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
241
Jan Kratochvil0631d1f2012-10-12 20:43:21 +02002422012-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
243
244 * ebl-hooks.h (abi_cfi): Extend its comment for return value.
245 * eblopenbackend.c (default_abi_cfi): Return -1.
246 * libebl.h (ebl_abi_cfi): Extend its comment for return value.
247
Petr Machata96896012012-08-30 16:01:02 +02002482012-08-30 Petr Machata <pmachata@redhat.com>
249
250 * eblcorenotetypename.c: Handle PPC_VSX, X86_XSTATE,
251 S390_HIGH_GPRS, S390_TIMER, S390_TODCMP, S390_TODPREG, S390_CTRS,
252 S390_PREFIX, S390_LAST_BREAK, S390_SYSTEM_CALL, and ARM_VFP.
253
Jeff Kenton257dcf42012-08-22 09:00:03 -04002542012-08-22 Jeff Kenton <jkenton@tilera.com>
255
256 * eblopenbackend.c (machines): Add tilegx.
257
Mark Wielaarda0172d72012-06-25 17:18:53 +02002582011-06-26 Mark Wielaard <mjw@redhat.com>
259
260 * eblopenbackend.c (default_debugscn_p): Add .debug_macro.
261
Mark Wielaardbb9d1b42011-04-24 17:53:38 +02002622011-04-26 Mark Wielaard <mjw@redhat.com>
263
264 * libebl.h (ebl_object_note_type_name): Add const char *name arg.
265 * eblhooks.h (object_note_type_name): Likewise.
266 * eblopenbackend.c (default_object_note_type_name): Likewise.
267 * eblobjnotetypename.c (ebl_object_note_type_name): Likewise.
268 And print version if name is "stapsdt".
269 * eblobjnote.c (ebl_object_note): Add output for "stapsdt" notes.
270
Marek Polacekcde0b272011-03-21 23:46:56 +01002712011-03-21 Marek Polacek <mpolacek@redhat.com>
272
273 * ebldynamictagname.c: Fix typo in TLSDESC_GOT.
274
Mark Wielaarda062b6b2011-03-10 13:02:32 +01002752011-03-10 Mark Wielaard <mjw@redhat.com>
276
277 * Makefile.am (gen_SOURCES): Add eblstother.c.
278 * eblstother.c: New file.
279 * ebl-hooks.h: Add check_st_other_bits hook.
280 * eblopenbackend.c (default_check_st_other_bits): New function.
281 (fill_defaults): Hook default_check_st_other_bits.
282 * libebl.h (ebl_check_st_other_bits): New prototype.
283
Roland McGrath804e9ca2010-07-07 16:06:12 -07002842010-07-07 Roland McGrath <roland@redhat.com>
285
286 * eblopenbackend.c (default_debugscn_p): Match .gdb_index section.
287
Roland McGrath22359e22010-02-15 15:57:03 -08002882010-02-15 Roland McGrath <roland@redhat.com>
289
290 * Makefile.am: Use config/eu.am for common stuff.
291
Roland McGrath0ccbbcd2010-01-04 21:59:07 -08002922010-01-04 Roland McGrath <roland@redhat.com>
293
294 * eblcorenote.c (ebl_core_note): Take GElf_Nhdr * and name data
295 pointer instead of only n_type and n_descsz.
296 * libebl.h: Update declaration.
297 * ebl-hooks.h: Update core_note hook signature.
298 * eblopenbackend.c (default_core_note): Likewise.
299
Roland McGrathf80c9072009-10-14 12:35:47 -07003002009-10-14 Roland McGrath <roland@redhat.com>
301
302 * eblobjnote.c (ebl_object_note): Clean up NT_GNU_GOLD_VERSION printing.
303
Roland McGratha14b4eb2009-10-05 11:32:26 -07003042009-10-05 Roland McGrath <roland@redhat.com>
305
306 * eblopenbackend.c (default_debugscn_p): Match .debug_pubtypes and
307 .debug_types too.
308
Petr Machatad3a8b2d2009-09-02 20:46:08 +02003092009-09-02 Petr Machata <pmachata@redhat.com>
310
311 * libebl/eblstrtab.c (morememory): Allocate memory in multiples of
312 pagesize.
313
Petr Machata077a7082009-08-06 18:45:08 +02003142009-08-06 Petr Machata <pmachata@redhat.com>
315
316 * libebl/eblstrtab.c (ebl_strtabfinalize): Only call copystrings
317 if we have any strings to copy.
318
Mark Wielaardbc1b92e2009-07-26 08:33:18 -07003192009-07-26 Mark Wielaard <mjw@redhat.com>
320
Mark Wielaard2f5b79e2009-07-26 14:49:26 -0700321 * eblobjnote.c (ebl_object_note): Handle NT_GNU_GOLD_VERSION.
322
Mark Wielaardbc1b92e2009-07-26 08:33:18 -0700323 * eblobjnotetypename.c (ebl_object_note_type_name): Recognize
324 NT_GNU_GOLD_VERSION.
325
Roland McGrath3c84db32009-06-24 17:41:40 -07003262009-07-08 Roland McGrath <roland@redhat.com>
327
328 * ebl-hooks.h: Add abi_cfi hook.
329 * eblopenbackend.c (default_abi_cfi): New function.
330 (fill_defaults): Add initializer.
331 * eblabicfi.c: New file.
332 * Makefile.am (gen_SOURCES): Add it.
333 * libebl.h: Declare ebl_abi_cfi.
334
Ulrich Drepper70c442c2009-07-08 00:53:24 -07003352009-07-08 Ulrich Drepper <drepper@redhat.com>
336
337 * eblsymbolbindingname.c (ebl_symbol_binding_name): Handle
338 STB_GNU_UNIQUE.
339
340 * eblsymboltypename.c (ebl_symbol_type_name): Only handle STT_GNU_IFUNC
341 if the binary is marked as being for Linux.
342
Roland McGrathd5ff6672009-04-01 18:28:41 -07003432009-04-01 Roland McGrath <roland@redhat.com>
344
345 * eblsymboltypename.c (ebl_symbol_type_name): Add STT_GNU_IFUNC.
346
347 * eblauxvinfo.c (AUXV_TYPES): Add RANDOM and BASE_PLATFORM.
348
Ulrich Drepper95fa15e2009-02-01 19:06:10 -08003492009-02-01 Ulrich Drepper <drepper@redhat.com>
350
351 * eblreloctypename.c (ebl_reloc_type_name): Return "<INVALID RELOC>"
352 instead of "???" for invalid relocations.
353
Roland McGratha845f682008-12-03 03:41:58 +00003542008-08-01 Roland McGrath <roland@redhat.com>
355
356 * eblcorenotetypename.c: Handle NT_386_IOPERM.
357
Roland McGrath1d8bb252008-08-07 08:39:41 +00003582008-07-28 Roland McGrath <roland@redhat.com>
359
360 * eblauxvinfo.c (AUXV_TYPES): Add EXECFN.
361
362 * eblauxvinfo.c (ebl_auxv_info): Handle missing elements of standard
363 table.
364
3652008-07-04 Roland McGrath <roland@redhat.com>
366
367 * libebl.h: Declare ebl_syscall_abi.
368 * ebl_syscall_abi.c: New file.
369 * Makefile.am (gen_SOURCES): Add it.
370 * ebl-hooks.h: New hook syscall_abi.
371 * eblopenbackend.c (default_syscall_abi): New function.
372 (fill_defaults): Use it.
373
Roland McGrath13b69602008-04-01 02:30:05 +00003742008-03-31 Roland McGrath <roland@redhat.com>
375
376 * ebldynamictagname.c (ebl_dynamic_tag_name): Use hex for unknown tag.
377
378 * ebl-hooks.h: Add check_special_section hook.
379 * eblopenbackend.c (fill_defaults): Set new hook to ...
380 (default_check_special_section): ... this, new function.
381 * ebl_check_special_section.c: New file.
382 * Makefile.am (gen_SOURCES): Add it.
383 * libebl.h: Declare it.
384
Roland McGrath059c83e2008-02-21 06:19:39 +00003852008-02-20 Roland McGrath <roland@redhat.com>
386
387 * libebl.h: Declare ebl_check_object_attribute.
388 * eblcheckobjattr.c: New file.
389 * Makefile.am (gen_SOURCES): Add it.
390 * ebl-hooks.h: Add check_object_attribute hook.
391 * eblopenbackend.c (default_check_object_attribute): New function.
392 (fill_defaults): Initialize pointer to it.
393
3942008-02-19 Roland McGrath <roland@redhat.com>
395
396 * eblsectiontypename.c (ebl_section_type_name):
397 Handle SHT_GNU_ATTRIBUTES.
398
3992008-02-08 Roland McGrath <roland@redhat.com>
400
401 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_SPE.
402
4032008-01-30 Roland McGrath <roland@redhat.com>
404
405 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_386_TLS.
406
Roland McGrathe4c22ea2007-10-23 13:07:39 +00004072007-10-18 Roland McGrath <roland@redhat.com>
408
409 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_VMX.
410
Ulrich Drepperb597dfa2007-10-16 05:21:27 +00004112007-10-11 Roland McGrath <roland@redhat.com>
412
413 * eblobjnote.c (ebl_object_note): Translate target format (byte-swap)
414 for NT_GNU_ABI_TAG contents.
415
Roland McGrathcb6d8652007-08-23 08:10:54 +00004162007-08-22 Roland McGrath <roland@redhat.com>
417
418 * libebl.h (Ebl_Core_Item): New member `group'.
419
4202007-08-19 Roland McGrath <roland@redhat.com>
421
422 * ebl-hooks.h: Add new hook auxv_info.
423 * eblopenbackend.c (default_auxv_info): New function.
424 (fill_defaults): Initialize auxv_info hook.
425 * eblauxvinfo.c : New file.
426 * Makefile.am (gen_SOURCES): Add it.
427 * libebl.h: Declare ebl_auxv_info.
428
429 * eblcorenote.c: Rewritten with new signature.
430 * Makefile.am (gen_SOURCES): Add it.
431 * libebl.h (Ebl_Register_Location, Ebl_Core_Item): New types.
432 (ebl_core_note_info): Completely revamp signature.
433 * ebl-hooks.h: Update decl.
434 * eblopenbackend.c (default_core_note): Update signature.
435
Roland McGrath87d47802007-07-16 22:23:37 +00004362007-07-09 Roland McGrath <roland@redhat.com>
437
438 * eblobjnotetypename.c (ebl_object_note_type_name): Handle
439 NT_GNU_HWCAP, NT_GNU_BUILD_ID.
440
441 * eblobjnote.c (ebl_object_note): Handle NT_GNU_BUILD_ID.
442
Roland McGrath4be15242007-04-25 03:09:33 +00004432007-04-22 Roland McGrath <roland@redhat.com>
444
445 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PRXFPREG.
446
Ulrich Drepperc07fbb32007-03-30 19:14:59 +00004472007-03-10 Roland McGrath <roland@redhat.com>
448
449 * eblcorenote.c (ebl_core_note): For normally-zero types,
450 print in hex if not zero.
451
Ulrich Drepperaa915fd2007-02-05 07:25:33 +00004522007-01-11 Roland McGrath <roland@redhat.com>
453
454 * ebl-hooks.h (machine_section_flag_check): New hook.
455 * libebl.h: Declare ebl_machine_section_flag_check.
456 * eblmachinesectionflagcheck.c: New file.
457 * Makefile.am (gen_SOURCES): Add it.
458 * eblopenbackend.c (default_machine_section_flag_check): New function.
459 (fill_defaults): Use it.
460
Roland McGrathc373d852006-10-10 00:25:21 +00004612006-09-04 Roland McGrath <roland@redhat.com>
462
463 * ebl-hooks.h: Replace register_name hook with register_info.
464 Also yield natural bit width and base type encoding.
465 * eblopenbackend.c (default_register_name): Renamed
466 default_register_info, new args added.
467 (fill_defaults): Update initialization.
468 * eblregname.c: File renamed ...
469 * eblreginfo.c: ... to this.
470 (ebl_register_name): Renamed to ebl_register_info, new args added.
471 * libebl.h: Update decl.
472
473 * Makefile.am (gen_SOURCES): Update list.
474
Ulrich Drepper28ed8952006-07-07 03:43:47 +00004752006-07-06 Ulrich Drepper <drepper@redhat.com>
476
477 * ebldynamictagname.c: Add support for DT_GNU_HASH.
478 * ebldynamictagcheck.c: Likewise.
479 * eblsectiontypename.c: Add support for SHT_GNU_HASH.
480
4812006-07-05 Ulrich Drepper <drepper@redhat.com>
482
483 * Makefile.am (gen_SOURCES): Add eblsysvhashentrysize.c.
484 * libeblP.h (struct ebl): Add sysvhash_entrysize element.
485 * eblopenbackend.c (fill_defaults): Initialize sysvhash_entrysize.
486
487 * eblopenbackend.c (openbackend): If possible, fill machine, class,
488 and data values in from the ELF file.
489
4902006-07-04 Ulrich Drepper <drepper@redhat.com>
491
492 * Makefile.am (gen_SOURCES): Add eblrelativerelocp.c.
493 * eblrelativerelocp.c: New file.
494 * ebl-hooks.c: Add relative_reloc_p.
495 * eblopenbackend.c (default_relative_reloc_p): New function.
496 (fill_defaults): Hook it up.
497 * libebl.h: Declare ebl_relative_reloc_p.
498
Ulrich Drepper6ca46002006-06-12 22:40:23 +00004992006-06-12 Ulrich Drepper <drepper@redhat.com>
500
501 * Makefile.am (gen_SOURCES): Add eblnonerelocp.c.
502 * eblnonerelocp.c: New file.
503 * ebl-hooks.c: Add none_reloc_p.
504 * eblopenbackend.c (default_none_reloc_p): New function.
505 (fill_defaults): Hook it up.
506 * libebl.h: Declare ebl_none_reloc_p.
507
Ulrich Drepper41cbd762006-05-27 18:19:23 +00005082006-05-27 Ulrich Drepper <drepper@redhat.com>
509
510 * libebl.h: Add extern "C".
511
Roland McGrath994b4892005-12-05 22:46:21 +00005122005-11-25 Roland McGrath <roland@redhat.com>
513
514 * eblregname.c: New file.
515 * Makefile.am (gen_SOURCES): Add it.
516 * ebl-hooks.h: Declare register_name hook.
517 * libebl.h: Declare ebl_register_name.
518 * eblopenbackend.c (default_register_name): New function.
519 (fill_defaults): Use it.
520
Roland McGrath215c6322005-11-16 22:46:04 +00005212005-11-16 Roland McGrath <roland@redhat.com>
522
523 * libebl.h: Use "" for elf-knowledge.h, not <>.
524
Roland McGrathe47ab762005-11-17 03:16:00 +00005252005-11-15 Roland McGrath <roland@redhat.com>
526
527 * Makefile.am: Removed everything for building libebl_*.so modules,
528 now in ../backends/Makefile.am instead.
529 * alpha_init.c: Moved to ../backends.
530 * alpha_reloc.def: Likewise.
531 * alpha_retval.c: Likewise.
532 * alpha_symbol.c: Likewise.
533 * arm_init.c: Likewise.
534 * arm_reloc.def: Likewise.
535 * arm_symbol.c: Likewise.
536 * common-reloc.c: Likewise.
537 * i386_corenote.c: Likewise.
538 * i386_init.c: Likewise.
539 * i386_reloc.def: Likewise.
540 * i386_retval.c: Likewise.
541 * i386_symbol.c: Likewise.
542 * ia64_init.c: Likewise.
543 * ia64_reloc.def: Likewise.
544 * ia64_symbol.c: Likewise.
545 * libebl_CPU.h: Likewise.
546 * ppc64_init.c: Likewise.
547 * ppc64_reloc.def: Likewise.
548 * ppc64_retval.c: Likewise.
549 * ppc64_symbol.c: Likewise.
550 * ppc_init.c: Likewise.
551 * ppc_reloc.def: Likewise.
552 * ppc_retval.c: Likewise.
553 * ppc_symbol.c: Likewise.
554 * s390_init.c: Likewise.
555 * s390_reloc.def: Likewise.
556 * s390_symbol.c: Likewise.
557 * sh_init.c: Likewise.
558 * sh_reloc.def: Likewise.
559 * sh_symbol.c: Likewise.
560 * sparc_init.c: Likewise.
561 * sparc_reloc.def: Likewise.
562 * sparc_symbol.c: Likewise.
563 * x86_64_corenote.c: Likewise.
564 * x86_64_init.c: Likewise.
565 * x86_64_reloc.def: Likewise.
566 * x86_64_retval.c: Likewise.
567 * x86_64_symbol.c: Likewise.
568
569 * libebl.h: Comment fixes.
570
571 * alpha_retval.c: New file.
572 * Makefile.am (alpha_SRCS): Add it.
573 * alpha_init.c (alpha_init): Initialize return_value_location hook.
574
575 * ppc64_retval.c: New file.
576 * Makefile.am (ppc64_SRCS): Add it.
577 * ppc64_init.c (ppc64_init): Initialize return_value_location hook.
578
579 * ppc_retval.c: New file.
580 * Makefile.am (ppc_SRCS): Add it.
581 * ppc_init.c (ppc_init): Initialize return_value_location hook.
582
Roland McGrathcd60ea82005-11-16 01:57:40 +00005832005-11-14 Roland McGrath <roland@redhat.com>
584
585 * ia64_init.c (ia64_init): Initialize EH->reloc_simple_type.
586 * sh_init.c (sh_init): Likewise.
587 * x86_64_init.c (x86_64_init): Likewise.
588
589 * sparc_symbol.c (sparc_reloc_simple_type): New function.
590 * sparc_init.c (sparc_init): Use it.
591
592 * arm_symbol.c (arm_reloc_simple_type): New function.
593 * arm_init.c (arm_init): Use it.
594
595 * alpha_symbol.c (alpha_reloc_simple_type): New function.
596 * alpha_init.c (alpha_init): Use it.
597
598 * ia64_reloc.def: Update bits per H. J. Lu <hjl@lucon.org>.
599
600 * arm_reloc.def: Update bits per Daniel Jacobowitz <drow@false.org>.
601
602 * alpha_reloc.def: Update bits per Richard Henderson <rth@redhat.com>.
603
Roland McGrathe47ab762005-11-17 03:16:00 +00006042005-11-13 Roland McGrath <roland@redhat.com>
605
606 * x86_64_retval.c: New file.
607 * Makefile.am (x86_64_SRCS): Add it.
608 * x86_64_init.c (x86_64_init): Use x86_64_return_value_location.
609
610 * i386_retval.c: New file.
611 * Makefile.am (i386_SRCS): Add it.
612 (libdw): New variable.
613 (libebl_%.so): Use $(libdw) in link; use --as-needed.
614 * i386_init.c (i386_init): Use i386_return_value_location.
615
616 * eblretval.c: New file.
617 * Makefile.am (gen_SOURCES): Add it.
618 (INCLUDES): Search in libdw.
619 * libebl.h: Include <libdw.h>. Declare ebl_return_value_location.
620 * ebl-hooks.h: Declare return_value_location hook.
621 * eblopenbackend.c (default_return_value_location): New function.
622 (fill_defaults): Use it.
623
Roland McGrathcd60ea82005-11-16 01:57:40 +00006242005-11-10 Roland McGrath <roland@redhat.com>
625
626 * s390_init.c: New file.
627 * s390_reloc.def: New file.
628 * s390_symbol.c: New file.
629 * Makefile.am (modules, libebl_pic): Add s390.
630 (s390_SRCS, libebl_s390_pic_a_SOURCES): New variables.
631 (am_libebl_s390_pic_a_OBJECTS): New variable.
632
633 * ppc64_init.c: Use common-reloc.c.
634 * ppc64_symbol.c (ppc64_backend_name): Removed.
635 (ppc64_reloc_type_check, ppc64_reloc_type_name): Likewise.
636 (ppc64_copy_reloc_p, ppc64_reloc_valid_use): Likewise.
637
638 * ppc_init.c: Use common-reloc.c.
639 * ppc_symbol.c (ppc_backend_name): Removed.
640 (ppc_reloc_type_name, ppc_reloc_type_check): Likewise.
641 (ppc_reloc_valid_use, ppc_copy_reloc_p): Likewise.
642
643 * sparc_init.c: Use common-reloc.c.
644 * sparc_symbol.c (sparc_backend_name): Removed.
645 (sparc_reloc_type_name, sparc_reloc_type_check): Likewise.
646 (sparc_copy_reloc_p): Likewise.
647
648 * arm_init.c: Use common-reloc.c.
649 * arm_symbol.c (arm_backend_name): Removed.
650 (arm_reloc_type_name, arm_reloc_type_check, arm_copy_reloc_p): Removed.
651
652 * alpha_init.c: Use common-reloc.c.
653 * alpha_symbol.c (alpha_backend_name): Removed.
654 (alpha_reloc_type_name, alpha_reloc_type_check): Likewise.
655 (alpha_copy_reloc_p): Likewise.
656
657 * ia64_symbol.c (ia64_backend_name): Removed.
658 (ia64_reloc_type_name, ia64_reloc_type_check): Likewise.
659 (ia64_copy_reloc_p): Likewise.
660
661 * x86_64_init.c: Use common-reloc.c.
662 * x86_64_symbol.c (x86_64_backend_name): Removed.
663 (x86_64_copy_reloc_p, x86_64_reloc_valid_use): Likewise.
664 (x86_64_reloc_type_check, x86_64_reloc_type_name): Likewise.
665
666 * sh_init.c: Use common-reloc.c.
667 * sh_symbol.c: All functions removed.
668 (sh_reloc_simple_type): New function.
669 (sh_gotpc_reloc_check): New function.
670
671 * common-reloc.c: New file.
672 * Makefile.am (noinst_HEADERS): Add it.
673 * i386_init.c: Include it.
674
675 * sh_reloc.def: New file.
676 * i386_reloc.def: New file.
677 * alpha_reloc.def: New file.
678 * arm_reloc.def: New file.
679 * i386_reloc.def: New file.
680 * ia64_reloc.def: New file.
681 * ppc64_reloc.def: New file.
682 * ppc_reloc.def: New file.
683 * sh_reloc.def: New file.
684 * sparc_reloc.def: New file.
685 * x86_64_reloc.def: New file.
686 * Makefile.am (EXTRA_DIST): Add $(modules:=_reloc.def).
687
688 * libebl_alpha.map: Removed.
689 * libebl_ia64.map: Removed.
690 * libebl_ppc.map: Removed.
691 * libebl_sparc.map: Removed.
692 * libebl_arm.map: Removed.
693 * libebl_i386.map: Removed.
694 * libebl_ppc64.map: Removed.
695 * libebl_sh.map: Removed.
696 * libebl_x86_64.map: Removed.
697 * Makefile.am (EXTRA_DIST): Remove them.
698 (libebl_%.map, libebl_%.so): New pattern rules.
699
700 * libebl_alpha.h: Removed.
701 * libebl_ia64.h: Removed.
702 * libebl_ppc.h: Removed.
703 * libebl_sparc.h: Removed.
704 * libebl_arm.h: Removed.
705 * libebl_i386.h: Removed.
706 * libebl_ppc64.h: Removed.
707 * libebl_sh.h: Removed.
708 * libebl_x86_64.h: Removed.
709 * Makefile.am (noinst_HEADERS): Remove them.
710
711 * x86_64_corenote.c: Use libebl_CPU.h instead.
712 * x86_64_symbol.c: Likewise.
713 * i386_corenote.c: Likewise.
714
7152005-11-09 Roland McGrath <roland@redhat.com>
716
717 * ia64_symbol.c (ia64_reloc_simple_type): New function.
718
719 * ebl-hooks.h (reloc_simple_type): Take the Ebl handle, not Elf handle.
720 * eblrelocsimpletype.c (ebl_reloc_simple_type): Update caller.
721 * eblopenbackend.c (default_reloc_simple_type): Update signature.
722 * i386_symbol.c (i386_reloc_simple_type): Likewise.
723 * ppc64_symbol.c (ppc64_reloc_simple_type): Likewise.
724 * ppc_symbol.c (ppc_reloc_simple_type): Likewise.
725 * x86_64_symbol.c (x86_64_reloc_simple_type): Likewise.
726
727 * i386_symbol.c (i386_backend_name): Removed.
728 (i386_reloc_type_name, i386_reloc_type_check): Likewise.
729 (i386_reloc_valid_use): Removed.
730 (i386_copy_reloc_p): Removed.
731
732 * alpha_destr.c: Removed.
733 * arm_destr.c: Removed.
734 * i386_destr.c: Removed.
735 * ia64_destr.c: Removed.
736 * ppc64_destr.c: Removed.
737 * ppc_destr.c: Removed.
738 * sh_destr.c: Removed.
739 * sparc_destr.c: Removed.
740 * x86_64_destr.c: Removed.
741
742 * ebl-hooks.h: New file, broken out of ...
743 * libeblP.h (struct ebl): ... here. #include that for hook
744 declarations, after defining EBLHOOK macro.
745 * libebl_CPU.h: New file.
746 * Makefile.am (noinst_HEADERS): Add them.
747
748 * libeblP.h (struct ebl): Use uint_fast16_t for machine,
749 and uint_fast8_t for class and data.
750
7512005-08-14 Roland McGrath <roland@redhat.com>
752
753 * ia64_symbol.c (ia64_section_type_name): New function.
754 (ia64_dynamic_tag_check): New function.
755 (ia64_reloc_valid_use): New function.
756 * libebl_ia64.h: Declare them.
757 * ia64_init.c (ia64_init): Use them.
758 * Makefile.am (libebl_ia64.so): Link with libelf.
759
Ulrich Drepperfbe998a2005-08-29 16:27:10 +00007602005-08-28 Ulrich Drepper <drepper@redhat.com>
761
762 * Makefile.am: Use $(LINK) not $(CC) when creating DSOs.
763
Roland McGrathe53d04a2005-08-13 20:56:07 +00007642005-08-13 Roland McGrath <roland@redhat.com>
765
766 * ia64_symbol.c (ia64_machine_flag_check): New function.
767 * libebl_ia64.h: Declare it.
768 * ia64_init.c (ia64_init): Use it.
769
Ulrich Drepperc5c33a62005-08-13 17:50:47 +00007702005-08-13 Ulrich Drepper <drepper@redhat.com>
771
772 * libebl.h: Add ehdr parameter to ebl_bss_plt_p and
773 ebl_check_special_symbol.
774 * libeblP.h (struct ebl): Adjust callback functions.
775 * eblopenbackend.c: Adjust dummy functions.
776 * ebl_check_special_symbol.c: Add parameter and pass it on.
777 * eblbsspltp.c: Likewise.
778 * ppc_symbol.c (find_dyn_got): With ehdr passed, simplify search for
779 the dynamic section entry.
780 (ppc_check_special_symbol): Add ehdr parameter.
781 (ppc_bss_plt_p): Likewise.
782 * libebl_ppc.h: Adjust prototypes.
783 * ppc64_symbol.c (ppc_check_special_symbol): Add ehdr parameter.
784 (ppc_bss_plt_p): Likewise.
785 * libebl_ppc64.h: Adjust prototypes.
786
Roland McGrath653d3762005-08-13 01:59:10 +00007872005-08-12 Roland McGrath <roland@redhat.com>
788
Roland McGrathf8873cb2005-08-13 03:26:06 +0000789 * ppc_symbol.c (find_dyn_got): New function, broken out of ...
790 (ppc_bss_plt_p): ... here. Call that.
791 (ppc_check_special_symbol): Use find_dyn_got to fetch value to check
792 against _GLOBAL_OFFSET_TABLE_.
793
Roland McGrath653d3762005-08-13 01:59:10 +0000794 * libeblP.h (struct ebl): Add bss_plt_p hook.
795 * eblopenbackend.c (default_bss_plt_p): New function.
796 (fill_defaults): Use it.
797 * eblbsspltp.c: New file.
798 * Makefile.am (gen_SOURCES): Add it.
799 * libebl.h: Declare ebl_bss_plt_p.
800 * ppc_symbol.c (ppc_bss_plt_p): New function.
801 * libebl_ppc.h: Declare it.
802 * ppc_init.c (ppc_init): Use it.
803 * ppc64_symbol.c (ppc64_bss_plt_p): New function.
804 * libebl_ppc64.h: Declare it.
805 * ppc64_init.c (ppc64_init): Use it.
806
807 * ebl_check_special_symbol.c: New file.
808 * Makefile.am (gen_SOURCES): Add it.
809 * libebl.h: Declare ebl_check_special_symbol.
810 * libeblP.h (struct ebl): Add check_special_symbol hook.
811 * eblopenbackend.c (default_check_special_symbol): New function.
812 (fill_defaults): Use it.
813 * ppc_symbol.c (ppc_check_special_symbol): New function.
814 * libebl_ppc.h: Add prototype.
815 * ppc_init.c (ppc_init): Use it.
816 * ppc64_symbol.c (ppc64_check_special_symbol): New function.
817 * libebl_ppc64.h: Add prototype.
818 * ppc64_init.c (ppc64_init): Use it.
819
Ulrich Drepperb03b0572005-08-07 08:12:22 +00008202005-08-07 Ulrich Drepper <drepper@redhat.com>
821
822 * ppc_init.c: Add support for new DT_PPC_* and R_PPC_* values.
823 * ppc_symbol.c: Likewise.
824 * libebl_ppc.h: Likewise.
825 * ppc64_init.c: There is now also a dynamic_tag_check functions
826 * ppc64_symbol.c: Add dynamic_tag_check.
827 * libebl_ppc64.h: Add prototype.
828 * alpha_init.c: Add support for new DT_ALPHA_* value.
829 * alpha_symbol.c: Likewise.
830 * libebl_alpha.h: Likewise.
831
Ulrich Drepper6fcb3832005-08-03 21:10:49 +00008322005-08-03 Ulrich Drepper <drepper@redhat.com>
833
834 * libebl_alpha.map: Remove unnecessary exports.
835 * libebl_arm.map: Likewise.
836 * libebl_i386.map: Likewise.
837 * libebl_ia64.map: Likewise.
838 * libebl_ppc.map: Likewise.
839 * libebl_ppc64.map: Likewise.
840 * libebl_sh.map: Likewise.
841 * libebl_sparc.map: Likewise.
842 * libebl_x86_64.map: Likewise.
843
Ulrich Dreppera38998e2005-08-03 02:05:39 +00008442005-08-02 Ulrich Drepper <drepper@redhat.com>
845
846 * Makefile.am (libebl_a_SOURCES): Add eblelfclass.c, eblelfdata.c,
847 and eblelfmachine.c.
848 * elbopenbackend.c (machines): Add class and data fields. Initialize
849 them.
850 (ebl_openbackend): Initialize machine, class, data fields in result.
851 * libebl.h: Declare Add eblelfclass, eblelfdata, and eblelfmachine.
852 * libeblP.h (Ebl): Add machine, class, data fields.
853
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00008542005-07-23 Ulrich Drepper <drepper@redhat.com>
855
856 * eblsectionstripp.c: New file.
857 * Makefile.am (gen_SOURCES): Add eblsectionstripp.c.
858 * i386_init.c (i386_init): Install specific debugscn_p callback.
859 * i386_symbol.c (i386_debugscn_p): New function.
860 * libebl.h: Declare ebl_section_strip_p.
861 * libebl_i386.h: Declare i386_debugscn_p.
862
863 * libebl.h: Move Ebl definition to...
864 * libeblP.h: ...here.
865
8662005-07-21 Roland McGrath <roland@redhat.com>
867
868 * Makefile.am (install-ebl-modules): New target, commands from ...
869 (install): ... here. Make this depend on it.
870 (LIBEBL_SUBDIR): New variable, substituted by configure.
871 (install-ebl-modules): Install in $(libdir)/$(LIBEBL_SUBDIR).
872 * eblopenbackend.c (openbackend): Use LIBEBL_SUBDIR in module name.
873
8742005-07-21 Ulrich Drepper <drepper@redhat.com>
875
876 * eblcopyrelocp.c: New file.
877 * Makefile.am (gen_SOURCES): Add eblcopyrelocp.c.
878 * libebl.h: Declare ebl_copy_reloc_p.
879 * eblopenbackend.c (fill_defaults): Fill in copy_reloc_p.
880 (default_copy_reloc_p): New function.
881 * alpha_init.c: Define and use arch-specific copy_reloc_p function.
882 * alpha_symbol.c: Likewise.
883 * arm_init.c: Likewise.
884 * arm_symbol.c: Likewise.
885 * i386_init.c: Likewise.
886 * i386_symbol.c: Likewise.
887 * ia64_init.c: Likewise.
888 * ia64_symbol.c: Likewise.
889 * ppc64_init.c: Likewise.
890 * ppc64_symbol.c: Likewise.
891 * ppc_init.c: Likewise.
892 * ppc_symbol.c: Likewise.
893 * sh_init.c: Likewise.
894 * sh_symbol.c: Likewise.
895 * sparc_init.c: Likewise.
896 * sparc_symbol.c: Likewise.
897 * x86_64_init.c: Likewise.
898 * x86_64_symbol.c: Likewise.
899 * libebl_alpha.h: Declare the copy_reloc_p function.
900 * libebl_arm.h: Likewise.
901 * libebl_i386.h: Likewise.
902 * libebl_ia64.h: Likewise.
903 * libebl_ppc.h: Likewise.
904 * libebl_ppc64.h: Likewise.
905 * libebl_sh.h: Likewise.
906 * libebl_sparc.h: Likewise.
907 * libebl_x86_64.h: Likewise.
908
9092005-05-31 Roland McGrath <roland@redhat.com>
910
911 * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
912 tracking works right.
913
9142005-05-21 Ulrich Drepper <drepper@redhat.com>
915
916 * libebl_x86_64.map: Add x86_64_core_note.
917
9182005-05-19 Roland McGrath <roland@redhat.com>
919
920 * libebl_i386.map: Add i386_reloc_valid_use, i386_reloc_simple_type.
921 * libebl_ppc.map: Add ppc_reloc_simple_type.
922 * libebl_ppc64.map: Add ppc64_reloc_simple_type.
923 * libebl_x86_64.map: Add x86_64_reloc_simple_type.
924
9252005-05-11 Ulrich Drepper <drepper@redhat.com>
926
927 * eblcorenote.c: Handle new AT_* values and files with different
928 endianess.
929 * Makefile.am (x86_64_SRCS): Add x86_64_corenote.c.
930 * x86-64_corenote.c: New file.
931 * x86_64_init.c: Hook in x86_64_corenote.
932 * i386_corenote.c: Make file usable on 64-bit platforms.
933
934 * eblopenbackend.c: If modules version comparison fails, reinitialize
935 hooks.
936
9372005-05-10 Ulrich Drepper <drepper@redhat.com>
938
939 * eblopenbackend.c: Require the init function to return a string.
940 Compare it with MODVERSION from config.h.
941 * alpha_init.c: Change return type. Return MODVERSION or NULL.
942 * arm_init.c: Likewise.
943 * eblopenbackend.c: Likewise.
944 * i386_init.c: Likewise.
945 * ia64_init.c: Likewise.
946 * ppc64_init.c: Likewise.
947 * ppc_init.c: Likewise.
948 * sh_init.c: Likewise.
949 * sparc_init.c: Likewise.
950 * x86_64_init.c: Likewise.
951 * libeblP.h: Adjust ebl_bhinit_t.
952 * libebl_alpha.h: Adjust init function prototype.
953 * libebl_arm.h: Likewise.
954 * libebl_i386.h: Likewise.
955 * libebl_ia64.h: Likewise.
956 * libebl_ppc.h: Likewise.
957 * libebl_ppc64.h: Likewise.
958 * libebl_sh.h: Likewise.
959 * libebl_sparc.h: Likewise.
960 * libebl_x86_64.h: Likewise.
961
962 * mips_destr.c: Removed.
963 * mips_init.c: Removed.
964 * mips_symbol.c: Removed.
965 * libebl_mips.h: Removed.
966 * libebl_mips.map: Removed.
967
9682005-05-03 Roland McGrath <roland@redhat.com>
969
970 * libebl.h (Ebl): Add `reloc_simple_type' member.
971 * eblopenbackend.c (default_reloc_simple_type): New function.
972 (openbackend): Use that as default reloc_simple_type callback.
973 * eblrelocsimpletype.c: New file.
974 * Makefile.am (gen_SOURCES): Add it.
975 * i386_symbol.c (i386_reloc_simple_type): New function.
976 * libebl_i386.h: Declare it.
977 * i386_init.c (i386_init): Use it.
978 * x86_64_symbol.c (x86_64_reloc_simple_type): New function.
979 * libebl_x86_64.h: Declare it.
980 * x86_64_init.c (x86_64_init): Use it.
981 * ppc_symbol.c (ppc_reloc_simple_type): New function.
982 * libebl_ppc.h: Declare it.
983 * ppc_init.c (ppc_init): Use it.
984 * ppc64_symbol.c (ppc64_reloc_simple_type): New function.
985 * libebl_ppc64.h: Declare it.
986 * ppc64_init.c (ppc64_init): Use it.
987
9882005-03-17 Ulrich Drepper <drepper@redhat.com>
989
990 * eblcorenote.c (ebl_core_note): Add support for AT_SECURE.
991
9922005-02-15 Ulrich Drepper <drepper@redhat.com>
993
994 * Makefile.am (AM_CFLAGS): Add -Wformat=2.
995
9962005-02-14 Ulrich Drepper <drepper@redhat.com>
997
998 * alpha_destr.c: Add __attribute__((unused)) where needed.
999 * alpha_init.c: Likewise.
1000 * alpha_symbol.c: Likewise.
1001 * arm_destr.c: Likewise.
1002 * arm_init.c: Likewise.
1003 * arm_symbol.c: Likewise.
1004 * i386_corenote.c: Likewise.
1005 * i386_destr.c: Likewise.
1006 * i386_init.c: Likewise.
1007 * i386_symbol.c: Likewise.
1008 * ia64_destr.c: Likewise.
1009 * ia64_init.c: Likewise.
1010 * ia64_symbol.c: Likewise.
1011 * mips_destr.c: Likewise.
1012 * mips_init.c: Likewise.
1013 * mips_symbol.c: Likewise.
1014 * ppc64_destr.c: Likewise.
1015 * ppc64_init.c: Likewise.
1016 * ppc64_symbol.c: Likewise.
1017 * ppc_destr.c: Likewise.
1018 * ppc_init.c: Likewise.
1019 * ppc_symbol.c: Likewise.
1020 * sh_destr.c: Likewise.
1021 * sh_init.c: Likewise.
1022 * sh_symbol.c: Likewise.
1023 * sparc_destr.c: Likewise.
1024 * sparc_init.c: Likewise.
1025 * sparc_symbol.c: Likewise.
1026 * x86_64_destr.c: Likewise.
1027 * x86_64_init.c: Likewise.
1028 * x86_64_symbol.c: Likewise.
1029
1030 * x86_64_symbol.c (reloc_map_table): Fix entries for R_X86_64_64
1031 and R_X86_64_32..
1032
10332005-02-06 Ulrich Drepper <drepper@redhat.com>
1034
1035 * eblstrtab.c: A few cleanups.
1036
1037 * eblopenbackend.c: Mark unused parameters.
1038
1039 * eblgstrtab.c: Cleanups a few printf format strings.
1040
1041 * Makefile.am: Cleanup AM_CFLAGS handling. Add -Wunused -Wextra.
1042
10432005-02-05 Ulrich Drepper <drepper@redhat.com>
1044
1045 * Makefile.am: Check for text relocations in constructed DSOs.
1046
1047 * eblstrtab.c: Minor cleanups.
1048
1049 * Makefile.am (AM_CFLAGS): Add -std=gnu99 and -fmudflap for MUDFLAP.
1050
10512004-08-16 Ulrich Drepper <drepper@redhat.com>
1052
1053 * Makefile.am (AM_CFLAGS): Add LIBSTR definition with base name of
1054 the lib directory.
1055 * eblopenbackend.c (openbackend): Use LIBSTR instead of hardcoded
1056 lib in path to ebl modules.
1057
10582004-04-01 Ulrich Drepper <drepper@redhat.com>
1059
1060 * Makefile.am: Add rules for ppc and ppc64 ebl module.
1061 * ppc_init..c: New file.
1062 * ppc_destr.c: New file.
1063 * ppc_symbol.c: New file.
1064 * libebl_ppc.h: New file.
1065 * libebl_ppc.map: New file.
1066 * ppc64_init..c: New file.
1067 * ppc64_destr.c: New file.
1068 * ppc64_symbol.c: New file.
1069 * libebl_ppc64.h: New file.
1070 * libebl_ppc64.map: New file.
1071
10722004-01-20 Ulrich Drepper <drepper@redhat.com>
1073
1074 * Makefile.am: Support building with mudflap.
1075
10762004-01-18 Ulrich Drepper <drepper@redhat.com>
1077
1078 * libeblP.h (_): Use elfutils domain.
1079
10802004-01-16 Ulrich Drepper <drepper@redhat.com>
1081
1082 * eblsectionname.c: Add support for SHN_BEFORE and SHN_AFTER.
1083
10842004-01-13 Ulrich Drepper <drepper@redhat.com>
1085
1086 * eblsegmenttypename.c ((ebl_segment_type_name): Add support for
1087 PT_GNU_RELRO.
1088
10892004-01-08 Ulrich Drepper <drepper@redhat.com>
1090
1091 * libebl.h: Remove last traces of libtool.
1092
10932004-01-05 Ulrich Drepper <drepper@redhat.com>
1094
1095 * elf-knowledge.h: Move to libelf subdir.
1096
1097 * Makefile.am (EXTRA_DIST): Remove libebl.map.
1098 * libebl.map: Removed.
1099
11002003-12-08 Ulrich Drepper <drepper@redhat.com>
1101
1102 * eblsectiontypename.c (ebl_section_type_name): Add support for
1103 SHT_SUNW_move, SHT_CHECKSUM, and SHT_GNU_LIBLIST.
1104
11052003-11-19 Ulrich Drepper <drepper@redhat.com>
1106
1107 * ia64_symbol.c (ia64_dynamic_tag_name): New function.
1108 * libebl_ia64.h (ia64_dynamic_tag_name): Declare.
1109 * ia64_init.c (ia64_init): Register i164_dynamic_tag_name.
1110
11112003-09-24 Ulrich Drepper <drepper@redhat.com>
1112
1113 * ia64_init.c (ia64_init): Initialize segment_type_name callback.
1114 * ia64_symbol.c (ia64_segment_type_name): Define.
1115 * libebl_ia64.h (ia64_segment_type_name): Declare.
1116
11172003-09-22 Ulrich Drepper <drepper@redhat.com>
1118
1119 * Makefile.am (AM_CFLAGS): Add -fpic.
1120
11212003-08-14 Ulrich Drepper <drepper@redhat.com>
1122
1123 * Makefile.am (install): Remove dependency on libebl.so.
1124
11252003-08-13 Ulrich Drepper <drepper@redhat.com>
1126
1127 * eblopenbackend.c: Adjust relative path to arch-specific DSOs
1128 assuming the code ends up in the application. Add second dlopen()
1129 try without any path, just the filename.
1130 * Makefile.in: Remove rules to build and install libebl.so.
1131
11322003-08-11 Ulrich Drepper <drepper@redhat.com>
1133
1134 * Moved to CVS archive.