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