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