blob: 3ecd7328b3bbfccbb4c17005a00d0370c1e6d844 [file] [log] [blame]
Joshua Watt555e15e2018-02-09 10:27:18 -060012018-02-09 Joshua Watt <JPEWhacker@gmail.com>
2
3 * eblobjnote.c (ebl_object_note): Use FALLTHROUGH macro instead of
4 comment.
5
Ulf Hermann07737582017-08-18 12:41:11 +020062017-04-27 Ulf Hermann <ulf.hermann@qt.io>
7
8 * Makefile.am: Use fpic_CFLAGS.
9
Gustavo Romero55a471f2017-07-20 17:49:02 -0400102017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com>
11
12 * eblcorenotetypename.c: Add ppc64 HTM SPRs note as known type.
13
Mark Wielaard55cb7df2017-07-20 22:34:29 +0200142017-07-20 Mark Wielaard <mark@klomp.org>
15
16 * Makefile.am (gen_SOURCES): Add ebl_data_marker_symbol.c.
17 * ebl-hooks.h (data_marker_symbol): New hook.
18 * ebl_data_marker_symbol.c: New file.
19 * eblopenbackend.c (default_data_marker_symbol): New function.
20 (fill_defaults): Add default_data_marker_symbol.
21 * libebl.h (ebl_data_marker_symbol): New function.
22
Ulf Hermannc73a00d2017-04-20 15:55:47 +0200232017-04-20 Ulf Hermann <ulf.hermann@qt.io>
24
25 * libebl.h: Use __pure_attribute__.
26
Ulf Hermannb3248e62017-02-16 10:10:30 +0100272017-02-15 Ulf Hermann <ulf.hermann@qt.io>
28
29 * eblmachineflagname.c: Include system.h.
30 * eblopenbackend.c: Likewise.
31
Mark Wielaarddd906c12016-07-08 14:08:22 +0200322016-07-08 Mark Wielaard <mjw@redhat.com>
33
34 * Makefile.am (gen_SOURCES): Remove eblstrtab.c.
35 * eblstrtab.c: Removed.
36 * libebl.h (Ebl_Strtab): Removed.
37 (Ebl_Strent): Removed.
38 (ebl_strtabinit): Removed.
39 (ebl_strtabfree): Removed.
40 (ebl_strtabadd): Removed.
41 (ebl_strtabfinalize): Removed.
42 (ebl_strtaboffset): Removed.
43 (ebl_string): Removed.
44
Mark Wielaarde6ca75d2016-07-06 18:27:54 +0200452016-07-06 Mark Wielaard <mjw@redhat.com>
46
47 * Makefile.am (gen_SOURCES): Remove eblobjecttypename.c,
48 eblshflagscombine.c, eblwstrtab.c and eblgstrtab.c.
49 * ebl-hooks.h (object_type_name): Removed.
50 (sh_flags_combine): Likewise.
51 * eblgstrtab.c: Removed.
52 * eblobjecttypename.c: Removed.
53 * eblopenbackend.c (default_object_type_name): Removed.
54 (default_sh_flags_combine): Likewise.
55 (fill_defaults): Removed object_type_name and sh_flags_combine.
56 * eblshflagscombine.c: Removed.
57 * eblwstrtab.c: Removed.
58 * libebl.h (ebl_object_type_name): Removed.
59 (ebl_sh_flags_combine): Likewise.
60 (ebl_wstrtab*): Removed.
61 (ebl_gstrtab*): Likewise.
62
Richard Henderson9a36c922016-06-21 15:10:10 -0700632016-06-28 Richard Henderson <rth@redhat.com>
64
65 * ebl-hooks.h (EBLHOOK(disasm)): Add ebl parameter.
66 * eblopenbackend.c (machines): Add EM_BPF entry.
67
Andreas Schwab37bb3fc2016-05-20 19:37:29 +0200682016-05-20 Andreas Schwab <schwab@linux-m68k.org>
69
70 * eblopenbackend.c (machines) [EM_68K]: Set class and data.
71
Mark Wielaard6e723c72016-02-12 15:04:00 +0100722016-02-12 Mark Wielaard <mjw@redhat.com>
73
74 * eblobjnotetypename.c (ebl_object_note_type_name): Check name is
75 "Go" and use new goknowntypes then. Otherwise check name is not
76 "GNU" and return "unknown".
77
Mark Wielaardc5da7c92016-01-09 22:09:48 +0100782016-01-09 Mark Wielaard <mjw@redhat.com>
79
80 * eblobjnote.c (ebl_object_note): Add brackets around if statement
81 body.
82
Mark Wielaardd22cb042015-12-30 14:39:18 +0100832015-12-18 Mark Wielaard <mjw@redhat.com>
84
85 * eblopenbackend.c (default_debugscn_p): Also match .zdebug sections.
86
Jose E. Marchesi42f0df12015-12-08 19:10:40 +0100872015-12-08 Jose E. Marchesi <jose.marchesi@oracle.com>
88
89 * libebl.h: Prototype for ebl_ra_offset.
90 * eblabicfi.c (ebl_ra_offset): New function.
91 * libeblP.h (struct ebl): new field ra_offset;
92
Jose E. Marchesi133509f2015-10-05 17:36:30 +0200932015-09-24 Jose E. Marchesi <jose.marchesi@oracle.com>
94
95 * Makefile.am (AM_CFLAGS): Use -fPIC instead of -fpic to avoid
96 relocation overflows in some platforms.
97
Mark Wielaard1ccdfb62015-09-22 22:27:01 +0200982015-09-22 Mark Wielaard <mjw@redhat.com>
99
100 * *.c: Remove old-style function definitions.
101
Chih-Hung Hsieh2d982862015-09-09 12:32:07 -07001022015-09-09 Chih-Hung Hsieh <chh@google.com>
103
104 * ebldwarftoregno.c (ebl_dwarf_to_regno): Remove redundant NULL tests
105 on parameters declared with __nonnull_attribute__.
106 * eblinitreg.c (ebl_frame_nregs): Likewise.
107 * eblnormalizepc.c (ebl_normalize_pc): Likewise.
108 * eblunwind.c (ebl_unwind): Likewise.
109
Chih-Hung Hsiehaa1c2ca2015-09-04 12:04:11 -07001102015-09-04 Chih-Hung Hsieh <chh@google.com>
111
112 * eblopenbackend.c (ebl_openbackend_machine): Replace K&R function
113 definition with ansi-C definitions.
114 * eblstother.c (ebl_check_st_other_bits): Likewise.
115
Mark Wielaard65dc8002015-06-12 12:50:14 +02001162015-06-12 Mark Wielaard <mjw@redhat.com>
117
118 * eblcheckreloctargettype.c (ebl_check_reloc_target_type): Allow
119 SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY.
120
Mark Wielaarddf1708a2015-05-17 18:49:10 +02001212015-05-17 Mark Wielaard <mjw@redhat.com>
122
Mark Wielaard390dd3d2015-05-17 20:07:56 +0200123 * eblobjnote.c (ebl_object_note): If allocation buf is large, then
124 allocate it with malloc.
125
1262015-05-17 Mark Wielaard <mjw@redhat.com>
127
Mark Wielaarddf1708a2015-05-17 18:49:10 +0200128 * eblopenbackend.c (MAX_PREFIX_LEN): New define (16).
129 (openbackend): Stack allocate symname array using MAX_PREFIX_LEN.
130
Mark Wielaard858dc652015-01-27 13:07:17 +01001312015-01-27 Mark Wielaard <mjw@redhat.com>
132
133 * libebl.h: Add comment from README that this is completely
134 UNSUPPORTED.
135
Mark Wielaard712c8fa2014-11-22 23:08:48 +01001362014-11-22 Mark Wielaard <mjw@redhat.com>
137
138 * ebl-hooks.h (bss_plt_p): Remove ehdr argument.
139 * eblbsspltp.c (ebl_bss_plt_p): Likewise.
140 * eblopenbackend.c (default_bss_plt_p): Likewise.
141 * libebl.h (ebl_bss_plt_p): Likewise.
142
Mark Wielaard5c1a45c2014-11-17 23:15:45 +01001432014-11-17 Mark Wielaard <mjw@redhat.com>
144
145 * ebldebugscnp.c (ebl_debugscn_p): Check name is not NULL.
146
Mark Wielaardc1c1c062014-06-14 17:15:37 +02001472014-06-17 Mark Wielaard <mjw@redhat.com>
148
149 * eblinitreg.c (ebl_func_addr_mask): New function.
150 * libebl.h (ebl_func_addr_mask): Define.
151 * libeblP.h (struct ebl): Add func_addr_mask.
152
Mark Wielaard028d0ab2014-05-19 16:52:56 +02001532014-05-19 Mark Wielaard <mjw@redhat.com>
154
155 * Makefile.am (gen_SOURCES): Add eblcheckreloctargettype.c.
156 * eblcheckreloctargettype.c: New file.
157 * ebl-hooks.h (check_reloc_target_type): New hook.
158 * eblopenbackend.c (default_check_reloc_target_type): New function.
159 (fill_defaults): Assign default_check_reloc_target_type to
160 check_reloc_target_type.
161 * libebl.h (ebl_check_reloc_target_type): New function definition.
162
Mark Wielaard159ac522013-12-18 11:05:54 +01001632013-12-18 Mark Wielaard <mjw@redhat.com>
164
165 * Makefile.am (gen_SOURCES): Add eblresolvesym.c.
166 * ebl-hooks.h (resolve_sym_value): New entry.
167 * eblresolvesym.c: New file.
168 * libebl.h (ebl_resolve_sym_value): New definition.
169 * libeblP.h (fd_addr): New field.
170 (fd_data): Likewise.
171
Jan Kratochvilc6a41482013-12-17 18:49:54 +01001722013-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
173
174 unwinder: s390 and s390x
175 * Makefile.am (gen_SOURCES): Add eblnormalizepc.c and eblunwind.c.
176 * ebl-hooks.h (normalize_pc, unwind): New.
177 * eblnormalizepc.c: New file.
178 * eblunwind.c: New file.
179 * libebl.h (Ebl_Register_Location): Add field pc_register.
180 (ebl_normalize_pc): New declaration.
181 (ebl_tid_registers_get_t, ebl_pid_memory_read_t): New definitions.
182 (ebl_unwind): New declaration.
183
Jan Kratochvil5cbf42a2013-12-15 18:56:17 +01001842013-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
185
186 unwinder: ppc and ppc64
187 * Makefile.am (gen_SOURCES): Add ebldwarftoregno.c.
188 * ebl-hooks.h (dwarf_to_regno): New.
189 * ebldwarftoregno.c: New file.
190 * libebl.h (Ebl_Core_Item): New field pc_register.
191 (ebl_tid_registers_t): Add FIRSTREG -1 to the comment.
192 (ebl_dwarf_to_regno): New.
193
Petr Machata98c8a732013-11-26 03:10:31 +01001942013-11-25 Petr Machata <pmachata@redhat.com>
195
196 * eblopenbackend.c (machines): Add entry for AArch64.
197
Jan Kratochvil1c1a53b2013-11-14 20:55:41 +01001982013-11-14 Jan Kratochvil <jan.kratochvil@redhat.com>
199
200 Code cleanup: Remove const in prototype
201 * libebl.h (ebl_tid_registers_t): Remove const from firstreg.
202
Jan Kratochvil0b867462013-05-30 14:37:38 +02002032013-11-07 Jan Kratochvil <jan.kratochvil@redhat.com>
204 Mark Wielaard <mjw@redhat.com>
205
206 * Makefile.am (gen_SOURCES): Add eblinitreg.c.
207 * ebl-hooks.h (set_initial_registers_tid): New entry.
208 * eblinitreg.c: New file.
209 * libebl.h (ebl_tid_registers_t): New definition.
210 (ebl_set_initial_registers_tid, ebl_frame_nregs): New declarations.
211 * libeblP.h (struct ebl): New entry frame_nregs.
212
Mark Wielaard3dec3e12013-10-06 17:04:07 +02002132013-10-06 Mark Wielaard <mjw@redhat.com>
214
215 * libebl.h (ebl_abi_cfi): Document restrictions using register
216 rules.
217
Petr Machatab43bcfe2013-09-26 00:38:37 +02002182013-09-26 Petr Machata <pmachata@redhat.com>
219
220 * eblcorenotetypename.c: Handle NT_ARM_TLS, NT_ARM_HW_BREAK,
221 NT_ARM_HW_WATCH, NT_SIGINFO, NT_FILE.
222
Mark Wielaard2cfec292013-09-25 13:02:53 +02002232013-09-25 Mark Wielaard <mjw@redhat.com>
224
225 * eblsectionstripp.c (ebl_section_strip_p): Check shdr_l is not NULL.
226
Mark Wielaardcdaaf212013-04-25 16:50:11 -04002272013-04-24 Mark Wielaard <mjw@redhat.com>
228
229 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
230
Jan Kratochvil0631d1f2012-10-12 20:43:21 +02002312012-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
232
233 * ebl-hooks.h (abi_cfi): Extend its comment for return value.
234 * eblopenbackend.c (default_abi_cfi): Return -1.
235 * libebl.h (ebl_abi_cfi): Extend its comment for return value.
236
Petr Machata96896012012-08-30 16:01:02 +02002372012-08-30 Petr Machata <pmachata@redhat.com>
238
239 * eblcorenotetypename.c: Handle PPC_VSX, X86_XSTATE,
240 S390_HIGH_GPRS, S390_TIMER, S390_TODCMP, S390_TODPREG, S390_CTRS,
241 S390_PREFIX, S390_LAST_BREAK, S390_SYSTEM_CALL, and ARM_VFP.
242
Jeff Kenton257dcf42012-08-22 09:00:03 -04002432012-08-22 Jeff Kenton <jkenton@tilera.com>
244
245 * eblopenbackend.c (machines): Add tilegx.
246
Mark Wielaarda0172d72012-06-25 17:18:53 +02002472011-06-26 Mark Wielaard <mjw@redhat.com>
248
249 * eblopenbackend.c (default_debugscn_p): Add .debug_macro.
250
Mark Wielaardbb9d1b42011-04-24 17:53:38 +02002512011-04-26 Mark Wielaard <mjw@redhat.com>
252
253 * libebl.h (ebl_object_note_type_name): Add const char *name arg.
254 * eblhooks.h (object_note_type_name): Likewise.
255 * eblopenbackend.c (default_object_note_type_name): Likewise.
256 * eblobjnotetypename.c (ebl_object_note_type_name): Likewise.
257 And print version if name is "stapsdt".
258 * eblobjnote.c (ebl_object_note): Add output for "stapsdt" notes.
259
Marek Polacekcde0b272011-03-21 23:46:56 +01002602011-03-21 Marek Polacek <mpolacek@redhat.com>
261
262 * ebldynamictagname.c: Fix typo in TLSDESC_GOT.
263
Mark Wielaarda062b6b2011-03-10 13:02:32 +01002642011-03-10 Mark Wielaard <mjw@redhat.com>
265
266 * Makefile.am (gen_SOURCES): Add eblstother.c.
267 * eblstother.c: New file.
268 * ebl-hooks.h: Add check_st_other_bits hook.
269 * eblopenbackend.c (default_check_st_other_bits): New function.
270 (fill_defaults): Hook default_check_st_other_bits.
271 * libebl.h (ebl_check_st_other_bits): New prototype.
272
Roland McGrath804e9ca2010-07-07 16:06:12 -07002732010-07-07 Roland McGrath <roland@redhat.com>
274
275 * eblopenbackend.c (default_debugscn_p): Match .gdb_index section.
276
Roland McGrath22359e22010-02-15 15:57:03 -08002772010-02-15 Roland McGrath <roland@redhat.com>
278
279 * Makefile.am: Use config/eu.am for common stuff.
280
Roland McGrath0ccbbcd2010-01-04 21:59:07 -08002812010-01-04 Roland McGrath <roland@redhat.com>
282
283 * eblcorenote.c (ebl_core_note): Take GElf_Nhdr * and name data
284 pointer instead of only n_type and n_descsz.
285 * libebl.h: Update declaration.
286 * ebl-hooks.h: Update core_note hook signature.
287 * eblopenbackend.c (default_core_note): Likewise.
288
Roland McGrathf80c9072009-10-14 12:35:47 -07002892009-10-14 Roland McGrath <roland@redhat.com>
290
291 * eblobjnote.c (ebl_object_note): Clean up NT_GNU_GOLD_VERSION printing.
292
Roland McGratha14b4eb2009-10-05 11:32:26 -07002932009-10-05 Roland McGrath <roland@redhat.com>
294
295 * eblopenbackend.c (default_debugscn_p): Match .debug_pubtypes and
296 .debug_types too.
297
Petr Machatad3a8b2d2009-09-02 20:46:08 +02002982009-09-02 Petr Machata <pmachata@redhat.com>
299
300 * libebl/eblstrtab.c (morememory): Allocate memory in multiples of
301 pagesize.
302
Petr Machata077a7082009-08-06 18:45:08 +02003032009-08-06 Petr Machata <pmachata@redhat.com>
304
305 * libebl/eblstrtab.c (ebl_strtabfinalize): Only call copystrings
306 if we have any strings to copy.
307
Mark Wielaardbc1b92e2009-07-26 08:33:18 -07003082009-07-26 Mark Wielaard <mjw@redhat.com>
309
Mark Wielaard2f5b79e2009-07-26 14:49:26 -0700310 * eblobjnote.c (ebl_object_note): Handle NT_GNU_GOLD_VERSION.
311
Mark Wielaardbc1b92e2009-07-26 08:33:18 -0700312 * eblobjnotetypename.c (ebl_object_note_type_name): Recognize
313 NT_GNU_GOLD_VERSION.
314
Roland McGrath3c84db32009-06-24 17:41:40 -07003152009-07-08 Roland McGrath <roland@redhat.com>
316
317 * ebl-hooks.h: Add abi_cfi hook.
318 * eblopenbackend.c (default_abi_cfi): New function.
319 (fill_defaults): Add initializer.
320 * eblabicfi.c: New file.
321 * Makefile.am (gen_SOURCES): Add it.
322 * libebl.h: Declare ebl_abi_cfi.
323
Ulrich Drepper70c442c2009-07-08 00:53:24 -07003242009-07-08 Ulrich Drepper <drepper@redhat.com>
325
326 * eblsymbolbindingname.c (ebl_symbol_binding_name): Handle
327 STB_GNU_UNIQUE.
328
329 * eblsymboltypename.c (ebl_symbol_type_name): Only handle STT_GNU_IFUNC
330 if the binary is marked as being for Linux.
331
Roland McGrathd5ff6672009-04-01 18:28:41 -07003322009-04-01 Roland McGrath <roland@redhat.com>
333
334 * eblsymboltypename.c (ebl_symbol_type_name): Add STT_GNU_IFUNC.
335
336 * eblauxvinfo.c (AUXV_TYPES): Add RANDOM and BASE_PLATFORM.
337
Ulrich Drepper95fa15e2009-02-01 19:06:10 -08003382009-02-01 Ulrich Drepper <drepper@redhat.com>
339
340 * eblreloctypename.c (ebl_reloc_type_name): Return "<INVALID RELOC>"
341 instead of "???" for invalid relocations.
342
Roland McGratha845f682008-12-03 03:41:58 +00003432008-08-01 Roland McGrath <roland@redhat.com>
344
345 * eblcorenotetypename.c: Handle NT_386_IOPERM.
346
Roland McGrath1d8bb252008-08-07 08:39:41 +00003472008-07-28 Roland McGrath <roland@redhat.com>
348
349 * eblauxvinfo.c (AUXV_TYPES): Add EXECFN.
350
351 * eblauxvinfo.c (ebl_auxv_info): Handle missing elements of standard
352 table.
353
3542008-07-04 Roland McGrath <roland@redhat.com>
355
356 * libebl.h: Declare ebl_syscall_abi.
357 * ebl_syscall_abi.c: New file.
358 * Makefile.am (gen_SOURCES): Add it.
359 * ebl-hooks.h: New hook syscall_abi.
360 * eblopenbackend.c (default_syscall_abi): New function.
361 (fill_defaults): Use it.
362
Roland McGrath13b69602008-04-01 02:30:05 +00003632008-03-31 Roland McGrath <roland@redhat.com>
364
365 * ebldynamictagname.c (ebl_dynamic_tag_name): Use hex for unknown tag.
366
367 * ebl-hooks.h: Add check_special_section hook.
368 * eblopenbackend.c (fill_defaults): Set new hook to ...
369 (default_check_special_section): ... this, new function.
370 * ebl_check_special_section.c: New file.
371 * Makefile.am (gen_SOURCES): Add it.
372 * libebl.h: Declare it.
373
Roland McGrath059c83e2008-02-21 06:19:39 +00003742008-02-20 Roland McGrath <roland@redhat.com>
375
376 * libebl.h: Declare ebl_check_object_attribute.
377 * eblcheckobjattr.c: New file.
378 * Makefile.am (gen_SOURCES): Add it.
379 * ebl-hooks.h: Add check_object_attribute hook.
380 * eblopenbackend.c (default_check_object_attribute): New function.
381 (fill_defaults): Initialize pointer to it.
382
3832008-02-19 Roland McGrath <roland@redhat.com>
384
385 * eblsectiontypename.c (ebl_section_type_name):
386 Handle SHT_GNU_ATTRIBUTES.
387
3882008-02-08 Roland McGrath <roland@redhat.com>
389
390 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_SPE.
391
3922008-01-30 Roland McGrath <roland@redhat.com>
393
394 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_386_TLS.
395
Roland McGrathe4c22ea2007-10-23 13:07:39 +00003962007-10-18 Roland McGrath <roland@redhat.com>
397
398 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_VMX.
399
Ulrich Drepperb597dfa2007-10-16 05:21:27 +00004002007-10-11 Roland McGrath <roland@redhat.com>
401
402 * eblobjnote.c (ebl_object_note): Translate target format (byte-swap)
403 for NT_GNU_ABI_TAG contents.
404
Roland McGrathcb6d8652007-08-23 08:10:54 +00004052007-08-22 Roland McGrath <roland@redhat.com>
406
407 * libebl.h (Ebl_Core_Item): New member `group'.
408
4092007-08-19 Roland McGrath <roland@redhat.com>
410
411 * ebl-hooks.h: Add new hook auxv_info.
412 * eblopenbackend.c (default_auxv_info): New function.
413 (fill_defaults): Initialize auxv_info hook.
414 * eblauxvinfo.c : New file.
415 * Makefile.am (gen_SOURCES): Add it.
416 * libebl.h: Declare ebl_auxv_info.
417
418 * eblcorenote.c: Rewritten with new signature.
419 * Makefile.am (gen_SOURCES): Add it.
420 * libebl.h (Ebl_Register_Location, Ebl_Core_Item): New types.
421 (ebl_core_note_info): Completely revamp signature.
422 * ebl-hooks.h: Update decl.
423 * eblopenbackend.c (default_core_note): Update signature.
424
Roland McGrath87d47802007-07-16 22:23:37 +00004252007-07-09 Roland McGrath <roland@redhat.com>
426
427 * eblobjnotetypename.c (ebl_object_note_type_name): Handle
428 NT_GNU_HWCAP, NT_GNU_BUILD_ID.
429
430 * eblobjnote.c (ebl_object_note): Handle NT_GNU_BUILD_ID.
431
Roland McGrath4be15242007-04-25 03:09:33 +00004322007-04-22 Roland McGrath <roland@redhat.com>
433
434 * eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PRXFPREG.
435
Ulrich Drepperc07fbb32007-03-30 19:14:59 +00004362007-03-10 Roland McGrath <roland@redhat.com>
437
438 * eblcorenote.c (ebl_core_note): For normally-zero types,
439 print in hex if not zero.
440
Ulrich Drepperaa915fd2007-02-05 07:25:33 +00004412007-01-11 Roland McGrath <roland@redhat.com>
442
443 * ebl-hooks.h (machine_section_flag_check): New hook.
444 * libebl.h: Declare ebl_machine_section_flag_check.
445 * eblmachinesectionflagcheck.c: New file.
446 * Makefile.am (gen_SOURCES): Add it.
447 * eblopenbackend.c (default_machine_section_flag_check): New function.
448 (fill_defaults): Use it.
449
Roland McGrathc373d852006-10-10 00:25:21 +00004502006-09-04 Roland McGrath <roland@redhat.com>
451
452 * ebl-hooks.h: Replace register_name hook with register_info.
453 Also yield natural bit width and base type encoding.
454 * eblopenbackend.c (default_register_name): Renamed
455 default_register_info, new args added.
456 (fill_defaults): Update initialization.
457 * eblregname.c: File renamed ...
458 * eblreginfo.c: ... to this.
459 (ebl_register_name): Renamed to ebl_register_info, new args added.
460 * libebl.h: Update decl.
461
462 * Makefile.am (gen_SOURCES): Update list.
463
Ulrich Drepper28ed8952006-07-07 03:43:47 +00004642006-07-06 Ulrich Drepper <drepper@redhat.com>
465
466 * ebldynamictagname.c: Add support for DT_GNU_HASH.
467 * ebldynamictagcheck.c: Likewise.
468 * eblsectiontypename.c: Add support for SHT_GNU_HASH.
469
4702006-07-05 Ulrich Drepper <drepper@redhat.com>
471
472 * Makefile.am (gen_SOURCES): Add eblsysvhashentrysize.c.
473 * libeblP.h (struct ebl): Add sysvhash_entrysize element.
474 * eblopenbackend.c (fill_defaults): Initialize sysvhash_entrysize.
475
476 * eblopenbackend.c (openbackend): If possible, fill machine, class,
477 and data values in from the ELF file.
478
4792006-07-04 Ulrich Drepper <drepper@redhat.com>
480
481 * Makefile.am (gen_SOURCES): Add eblrelativerelocp.c.
482 * eblrelativerelocp.c: New file.
483 * ebl-hooks.c: Add relative_reloc_p.
484 * eblopenbackend.c (default_relative_reloc_p): New function.
485 (fill_defaults): Hook it up.
486 * libebl.h: Declare ebl_relative_reloc_p.
487
Ulrich Drepper6ca46002006-06-12 22:40:23 +00004882006-06-12 Ulrich Drepper <drepper@redhat.com>
489
490 * Makefile.am (gen_SOURCES): Add eblnonerelocp.c.
491 * eblnonerelocp.c: New file.
492 * ebl-hooks.c: Add none_reloc_p.
493 * eblopenbackend.c (default_none_reloc_p): New function.
494 (fill_defaults): Hook it up.
495 * libebl.h: Declare ebl_none_reloc_p.
496
Ulrich Drepper41cbd762006-05-27 18:19:23 +00004972006-05-27 Ulrich Drepper <drepper@redhat.com>
498
499 * libebl.h: Add extern "C".
500
Roland McGrath994b4892005-12-05 22:46:21 +00005012005-11-25 Roland McGrath <roland@redhat.com>
502
503 * eblregname.c: New file.
504 * Makefile.am (gen_SOURCES): Add it.
505 * ebl-hooks.h: Declare register_name hook.
506 * libebl.h: Declare ebl_register_name.
507 * eblopenbackend.c (default_register_name): New function.
508 (fill_defaults): Use it.
509
Roland McGrath215c6322005-11-16 22:46:04 +00005102005-11-16 Roland McGrath <roland@redhat.com>
511
512 * libebl.h: Use "" for elf-knowledge.h, not <>.
513
Roland McGrathe47ab762005-11-17 03:16:00 +00005142005-11-15 Roland McGrath <roland@redhat.com>
515
516 * Makefile.am: Removed everything for building libebl_*.so modules,
517 now in ../backends/Makefile.am instead.
518 * alpha_init.c: Moved to ../backends.
519 * alpha_reloc.def: Likewise.
520 * alpha_retval.c: Likewise.
521 * alpha_symbol.c: Likewise.
522 * arm_init.c: Likewise.
523 * arm_reloc.def: Likewise.
524 * arm_symbol.c: Likewise.
525 * common-reloc.c: Likewise.
526 * i386_corenote.c: Likewise.
527 * i386_init.c: Likewise.
528 * i386_reloc.def: Likewise.
529 * i386_retval.c: Likewise.
530 * i386_symbol.c: Likewise.
531 * ia64_init.c: Likewise.
532 * ia64_reloc.def: Likewise.
533 * ia64_symbol.c: Likewise.
534 * libebl_CPU.h: Likewise.
535 * ppc64_init.c: Likewise.
536 * ppc64_reloc.def: Likewise.
537 * ppc64_retval.c: Likewise.
538 * ppc64_symbol.c: Likewise.
539 * ppc_init.c: Likewise.
540 * ppc_reloc.def: Likewise.
541 * ppc_retval.c: Likewise.
542 * ppc_symbol.c: Likewise.
543 * s390_init.c: Likewise.
544 * s390_reloc.def: Likewise.
545 * s390_symbol.c: Likewise.
546 * sh_init.c: Likewise.
547 * sh_reloc.def: Likewise.
548 * sh_symbol.c: Likewise.
549 * sparc_init.c: Likewise.
550 * sparc_reloc.def: Likewise.
551 * sparc_symbol.c: Likewise.
552 * x86_64_corenote.c: Likewise.
553 * x86_64_init.c: Likewise.
554 * x86_64_reloc.def: Likewise.
555 * x86_64_retval.c: Likewise.
556 * x86_64_symbol.c: Likewise.
557
558 * libebl.h: Comment fixes.
559
560 * alpha_retval.c: New file.
561 * Makefile.am (alpha_SRCS): Add it.
562 * alpha_init.c (alpha_init): Initialize return_value_location hook.
563
564 * ppc64_retval.c: New file.
565 * Makefile.am (ppc64_SRCS): Add it.
566 * ppc64_init.c (ppc64_init): Initialize return_value_location hook.
567
568 * ppc_retval.c: New file.
569 * Makefile.am (ppc_SRCS): Add it.
570 * ppc_init.c (ppc_init): Initialize return_value_location hook.
571
Roland McGrathcd60ea82005-11-16 01:57:40 +00005722005-11-14 Roland McGrath <roland@redhat.com>
573
574 * ia64_init.c (ia64_init): Initialize EH->reloc_simple_type.
575 * sh_init.c (sh_init): Likewise.
576 * x86_64_init.c (x86_64_init): Likewise.
577
578 * sparc_symbol.c (sparc_reloc_simple_type): New function.
579 * sparc_init.c (sparc_init): Use it.
580
581 * arm_symbol.c (arm_reloc_simple_type): New function.
582 * arm_init.c (arm_init): Use it.
583
584 * alpha_symbol.c (alpha_reloc_simple_type): New function.
585 * alpha_init.c (alpha_init): Use it.
586
587 * ia64_reloc.def: Update bits per H. J. Lu <hjl@lucon.org>.
588
589 * arm_reloc.def: Update bits per Daniel Jacobowitz <drow@false.org>.
590
591 * alpha_reloc.def: Update bits per Richard Henderson <rth@redhat.com>.
592
Roland McGrathe47ab762005-11-17 03:16:00 +00005932005-11-13 Roland McGrath <roland@redhat.com>
594
595 * x86_64_retval.c: New file.
596 * Makefile.am (x86_64_SRCS): Add it.
597 * x86_64_init.c (x86_64_init): Use x86_64_return_value_location.
598
599 * i386_retval.c: New file.
600 * Makefile.am (i386_SRCS): Add it.
601 (libdw): New variable.
602 (libebl_%.so): Use $(libdw) in link; use --as-needed.
603 * i386_init.c (i386_init): Use i386_return_value_location.
604
605 * eblretval.c: New file.
606 * Makefile.am (gen_SOURCES): Add it.
607 (INCLUDES): Search in libdw.
608 * libebl.h: Include <libdw.h>. Declare ebl_return_value_location.
609 * ebl-hooks.h: Declare return_value_location hook.
610 * eblopenbackend.c (default_return_value_location): New function.
611 (fill_defaults): Use it.
612
Roland McGrathcd60ea82005-11-16 01:57:40 +00006132005-11-10 Roland McGrath <roland@redhat.com>
614
615 * s390_init.c: New file.
616 * s390_reloc.def: New file.
617 * s390_symbol.c: New file.
618 * Makefile.am (modules, libebl_pic): Add s390.
619 (s390_SRCS, libebl_s390_pic_a_SOURCES): New variables.
620 (am_libebl_s390_pic_a_OBJECTS): New variable.
621
622 * ppc64_init.c: Use common-reloc.c.
623 * ppc64_symbol.c (ppc64_backend_name): Removed.
624 (ppc64_reloc_type_check, ppc64_reloc_type_name): Likewise.
625 (ppc64_copy_reloc_p, ppc64_reloc_valid_use): Likewise.
626
627 * ppc_init.c: Use common-reloc.c.
628 * ppc_symbol.c (ppc_backend_name): Removed.
629 (ppc_reloc_type_name, ppc_reloc_type_check): Likewise.
630 (ppc_reloc_valid_use, ppc_copy_reloc_p): Likewise.
631
632 * sparc_init.c: Use common-reloc.c.
633 * sparc_symbol.c (sparc_backend_name): Removed.
634 (sparc_reloc_type_name, sparc_reloc_type_check): Likewise.
635 (sparc_copy_reloc_p): Likewise.
636
637 * arm_init.c: Use common-reloc.c.
638 * arm_symbol.c (arm_backend_name): Removed.
639 (arm_reloc_type_name, arm_reloc_type_check, arm_copy_reloc_p): Removed.
640
641 * alpha_init.c: Use common-reloc.c.
642 * alpha_symbol.c (alpha_backend_name): Removed.
643 (alpha_reloc_type_name, alpha_reloc_type_check): Likewise.
644 (alpha_copy_reloc_p): Likewise.
645
646 * ia64_symbol.c (ia64_backend_name): Removed.
647 (ia64_reloc_type_name, ia64_reloc_type_check): Likewise.
648 (ia64_copy_reloc_p): Likewise.
649
650 * x86_64_init.c: Use common-reloc.c.
651 * x86_64_symbol.c (x86_64_backend_name): Removed.
652 (x86_64_copy_reloc_p, x86_64_reloc_valid_use): Likewise.
653 (x86_64_reloc_type_check, x86_64_reloc_type_name): Likewise.
654
655 * sh_init.c: Use common-reloc.c.
656 * sh_symbol.c: All functions removed.
657 (sh_reloc_simple_type): New function.
658 (sh_gotpc_reloc_check): New function.
659
660 * common-reloc.c: New file.
661 * Makefile.am (noinst_HEADERS): Add it.
662 * i386_init.c: Include it.
663
664 * sh_reloc.def: New file.
665 * i386_reloc.def: New file.
666 * alpha_reloc.def: New file.
667 * arm_reloc.def: New file.
668 * i386_reloc.def: New file.
669 * ia64_reloc.def: New file.
670 * ppc64_reloc.def: New file.
671 * ppc_reloc.def: New file.
672 * sh_reloc.def: New file.
673 * sparc_reloc.def: New file.
674 * x86_64_reloc.def: New file.
675 * Makefile.am (EXTRA_DIST): Add $(modules:=_reloc.def).
676
677 * libebl_alpha.map: Removed.
678 * libebl_ia64.map: Removed.
679 * libebl_ppc.map: Removed.
680 * libebl_sparc.map: Removed.
681 * libebl_arm.map: Removed.
682 * libebl_i386.map: Removed.
683 * libebl_ppc64.map: Removed.
684 * libebl_sh.map: Removed.
685 * libebl_x86_64.map: Removed.
686 * Makefile.am (EXTRA_DIST): Remove them.
687 (libebl_%.map, libebl_%.so): New pattern rules.
688
689 * libebl_alpha.h: Removed.
690 * libebl_ia64.h: Removed.
691 * libebl_ppc.h: Removed.
692 * libebl_sparc.h: Removed.
693 * libebl_arm.h: Removed.
694 * libebl_i386.h: Removed.
695 * libebl_ppc64.h: Removed.
696 * libebl_sh.h: Removed.
697 * libebl_x86_64.h: Removed.
698 * Makefile.am (noinst_HEADERS): Remove them.
699
700 * x86_64_corenote.c: Use libebl_CPU.h instead.
701 * x86_64_symbol.c: Likewise.
702 * i386_corenote.c: Likewise.
703
7042005-11-09 Roland McGrath <roland@redhat.com>
705
706 * ia64_symbol.c (ia64_reloc_simple_type): New function.
707
708 * ebl-hooks.h (reloc_simple_type): Take the Ebl handle, not Elf handle.
709 * eblrelocsimpletype.c (ebl_reloc_simple_type): Update caller.
710 * eblopenbackend.c (default_reloc_simple_type): Update signature.
711 * i386_symbol.c (i386_reloc_simple_type): Likewise.
712 * ppc64_symbol.c (ppc64_reloc_simple_type): Likewise.
713 * ppc_symbol.c (ppc_reloc_simple_type): Likewise.
714 * x86_64_symbol.c (x86_64_reloc_simple_type): Likewise.
715
716 * i386_symbol.c (i386_backend_name): Removed.
717 (i386_reloc_type_name, i386_reloc_type_check): Likewise.
718 (i386_reloc_valid_use): Removed.
719 (i386_copy_reloc_p): Removed.
720
721 * alpha_destr.c: Removed.
722 * arm_destr.c: Removed.
723 * i386_destr.c: Removed.
724 * ia64_destr.c: Removed.
725 * ppc64_destr.c: Removed.
726 * ppc_destr.c: Removed.
727 * sh_destr.c: Removed.
728 * sparc_destr.c: Removed.
729 * x86_64_destr.c: Removed.
730
731 * ebl-hooks.h: New file, broken out of ...
732 * libeblP.h (struct ebl): ... here. #include that for hook
733 declarations, after defining EBLHOOK macro.
734 * libebl_CPU.h: New file.
735 * Makefile.am (noinst_HEADERS): Add them.
736
737 * libeblP.h (struct ebl): Use uint_fast16_t for machine,
738 and uint_fast8_t for class and data.
739
7402005-08-14 Roland McGrath <roland@redhat.com>
741
742 * ia64_symbol.c (ia64_section_type_name): New function.
743 (ia64_dynamic_tag_check): New function.
744 (ia64_reloc_valid_use): New function.
745 * libebl_ia64.h: Declare them.
746 * ia64_init.c (ia64_init): Use them.
747 * Makefile.am (libebl_ia64.so): Link with libelf.
748
Ulrich Drepperfbe998a2005-08-29 16:27:10 +00007492005-08-28 Ulrich Drepper <drepper@redhat.com>
750
751 * Makefile.am: Use $(LINK) not $(CC) when creating DSOs.
752
Roland McGrathe53d04a2005-08-13 20:56:07 +00007532005-08-13 Roland McGrath <roland@redhat.com>
754
755 * ia64_symbol.c (ia64_machine_flag_check): New function.
756 * libebl_ia64.h: Declare it.
757 * ia64_init.c (ia64_init): Use it.
758
Ulrich Drepperc5c33a62005-08-13 17:50:47 +00007592005-08-13 Ulrich Drepper <drepper@redhat.com>
760
761 * libebl.h: Add ehdr parameter to ebl_bss_plt_p and
762 ebl_check_special_symbol.
763 * libeblP.h (struct ebl): Adjust callback functions.
764 * eblopenbackend.c: Adjust dummy functions.
765 * ebl_check_special_symbol.c: Add parameter and pass it on.
766 * eblbsspltp.c: Likewise.
767 * ppc_symbol.c (find_dyn_got): With ehdr passed, simplify search for
768 the dynamic section entry.
769 (ppc_check_special_symbol): Add ehdr parameter.
770 (ppc_bss_plt_p): Likewise.
771 * libebl_ppc.h: Adjust prototypes.
772 * ppc64_symbol.c (ppc_check_special_symbol): Add ehdr parameter.
773 (ppc_bss_plt_p): Likewise.
774 * libebl_ppc64.h: Adjust prototypes.
775
Roland McGrath653d3762005-08-13 01:59:10 +00007762005-08-12 Roland McGrath <roland@redhat.com>
777
Roland McGrathf8873cb2005-08-13 03:26:06 +0000778 * ppc_symbol.c (find_dyn_got): New function, broken out of ...
779 (ppc_bss_plt_p): ... here. Call that.
780 (ppc_check_special_symbol): Use find_dyn_got to fetch value to check
781 against _GLOBAL_OFFSET_TABLE_.
782
Roland McGrath653d3762005-08-13 01:59:10 +0000783 * libeblP.h (struct ebl): Add bss_plt_p hook.
784 * eblopenbackend.c (default_bss_plt_p): New function.
785 (fill_defaults): Use it.
786 * eblbsspltp.c: New file.
787 * Makefile.am (gen_SOURCES): Add it.
788 * libebl.h: Declare ebl_bss_plt_p.
789 * ppc_symbol.c (ppc_bss_plt_p): New function.
790 * libebl_ppc.h: Declare it.
791 * ppc_init.c (ppc_init): Use it.
792 * ppc64_symbol.c (ppc64_bss_plt_p): New function.
793 * libebl_ppc64.h: Declare it.
794 * ppc64_init.c (ppc64_init): Use it.
795
796 * ebl_check_special_symbol.c: New file.
797 * Makefile.am (gen_SOURCES): Add it.
798 * libebl.h: Declare ebl_check_special_symbol.
799 * libeblP.h (struct ebl): Add check_special_symbol hook.
800 * eblopenbackend.c (default_check_special_symbol): New function.
801 (fill_defaults): Use it.
802 * ppc_symbol.c (ppc_check_special_symbol): New function.
803 * libebl_ppc.h: Add prototype.
804 * ppc_init.c (ppc_init): Use it.
805 * ppc64_symbol.c (ppc64_check_special_symbol): New function.
806 * libebl_ppc64.h: Add prototype.
807 * ppc64_init.c (ppc64_init): Use it.
808
Ulrich Drepperb03b0572005-08-07 08:12:22 +00008092005-08-07 Ulrich Drepper <drepper@redhat.com>
810
811 * ppc_init.c: Add support for new DT_PPC_* and R_PPC_* values.
812 * ppc_symbol.c: Likewise.
813 * libebl_ppc.h: Likewise.
814 * ppc64_init.c: There is now also a dynamic_tag_check functions
815 * ppc64_symbol.c: Add dynamic_tag_check.
816 * libebl_ppc64.h: Add prototype.
817 * alpha_init.c: Add support for new DT_ALPHA_* value.
818 * alpha_symbol.c: Likewise.
819 * libebl_alpha.h: Likewise.
820
Ulrich Drepper6fcb3832005-08-03 21:10:49 +00008212005-08-03 Ulrich Drepper <drepper@redhat.com>
822
823 * libebl_alpha.map: Remove unnecessary exports.
824 * libebl_arm.map: Likewise.
825 * libebl_i386.map: Likewise.
826 * libebl_ia64.map: Likewise.
827 * libebl_ppc.map: Likewise.
828 * libebl_ppc64.map: Likewise.
829 * libebl_sh.map: Likewise.
830 * libebl_sparc.map: Likewise.
831 * libebl_x86_64.map: Likewise.
832
Ulrich Dreppera38998e2005-08-03 02:05:39 +00008332005-08-02 Ulrich Drepper <drepper@redhat.com>
834
835 * Makefile.am (libebl_a_SOURCES): Add eblelfclass.c, eblelfdata.c,
836 and eblelfmachine.c.
837 * elbopenbackend.c (machines): Add class and data fields. Initialize
838 them.
839 (ebl_openbackend): Initialize machine, class, data fields in result.
840 * libebl.h: Declare Add eblelfclass, eblelfdata, and eblelfmachine.
841 * libeblP.h (Ebl): Add machine, class, data fields.
842
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00008432005-07-23 Ulrich Drepper <drepper@redhat.com>
844
845 * eblsectionstripp.c: New file.
846 * Makefile.am (gen_SOURCES): Add eblsectionstripp.c.
847 * i386_init.c (i386_init): Install specific debugscn_p callback.
848 * i386_symbol.c (i386_debugscn_p): New function.
849 * libebl.h: Declare ebl_section_strip_p.
850 * libebl_i386.h: Declare i386_debugscn_p.
851
852 * libebl.h: Move Ebl definition to...
853 * libeblP.h: ...here.
854
8552005-07-21 Roland McGrath <roland@redhat.com>
856
857 * Makefile.am (install-ebl-modules): New target, commands from ...
858 (install): ... here. Make this depend on it.
859 (LIBEBL_SUBDIR): New variable, substituted by configure.
860 (install-ebl-modules): Install in $(libdir)/$(LIBEBL_SUBDIR).
861 * eblopenbackend.c (openbackend): Use LIBEBL_SUBDIR in module name.
862
8632005-07-21 Ulrich Drepper <drepper@redhat.com>
864
865 * eblcopyrelocp.c: New file.
866 * Makefile.am (gen_SOURCES): Add eblcopyrelocp.c.
867 * libebl.h: Declare ebl_copy_reloc_p.
868 * eblopenbackend.c (fill_defaults): Fill in copy_reloc_p.
869 (default_copy_reloc_p): New function.
870 * alpha_init.c: Define and use arch-specific copy_reloc_p function.
871 * alpha_symbol.c: Likewise.
872 * arm_init.c: Likewise.
873 * arm_symbol.c: Likewise.
874 * i386_init.c: Likewise.
875 * i386_symbol.c: Likewise.
876 * ia64_init.c: Likewise.
877 * ia64_symbol.c: Likewise.
878 * ppc64_init.c: Likewise.
879 * ppc64_symbol.c: Likewise.
880 * ppc_init.c: Likewise.
881 * ppc_symbol.c: Likewise.
882 * sh_init.c: Likewise.
883 * sh_symbol.c: Likewise.
884 * sparc_init.c: Likewise.
885 * sparc_symbol.c: Likewise.
886 * x86_64_init.c: Likewise.
887 * x86_64_symbol.c: Likewise.
888 * libebl_alpha.h: Declare the copy_reloc_p function.
889 * libebl_arm.h: Likewise.
890 * libebl_i386.h: Likewise.
891 * libebl_ia64.h: Likewise.
892 * libebl_ppc.h: Likewise.
893 * libebl_ppc64.h: Likewise.
894 * libebl_sh.h: Likewise.
895 * libebl_sparc.h: Likewise.
896 * libebl_x86_64.h: Likewise.
897
8982005-05-31 Roland McGrath <roland@redhat.com>
899
900 * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
901 tracking works right.
902
9032005-05-21 Ulrich Drepper <drepper@redhat.com>
904
905 * libebl_x86_64.map: Add x86_64_core_note.
906
9072005-05-19 Roland McGrath <roland@redhat.com>
908
909 * libebl_i386.map: Add i386_reloc_valid_use, i386_reloc_simple_type.
910 * libebl_ppc.map: Add ppc_reloc_simple_type.
911 * libebl_ppc64.map: Add ppc64_reloc_simple_type.
912 * libebl_x86_64.map: Add x86_64_reloc_simple_type.
913
9142005-05-11 Ulrich Drepper <drepper@redhat.com>
915
916 * eblcorenote.c: Handle new AT_* values and files with different
917 endianess.
918 * Makefile.am (x86_64_SRCS): Add x86_64_corenote.c.
919 * x86-64_corenote.c: New file.
920 * x86_64_init.c: Hook in x86_64_corenote.
921 * i386_corenote.c: Make file usable on 64-bit platforms.
922
923 * eblopenbackend.c: If modules version comparison fails, reinitialize
924 hooks.
925
9262005-05-10 Ulrich Drepper <drepper@redhat.com>
927
928 * eblopenbackend.c: Require the init function to return a string.
929 Compare it with MODVERSION from config.h.
930 * alpha_init.c: Change return type. Return MODVERSION or NULL.
931 * arm_init.c: Likewise.
932 * eblopenbackend.c: Likewise.
933 * i386_init.c: Likewise.
934 * ia64_init.c: Likewise.
935 * ppc64_init.c: Likewise.
936 * ppc_init.c: Likewise.
937 * sh_init.c: Likewise.
938 * sparc_init.c: Likewise.
939 * x86_64_init.c: Likewise.
940 * libeblP.h: Adjust ebl_bhinit_t.
941 * libebl_alpha.h: Adjust init function prototype.
942 * libebl_arm.h: Likewise.
943 * libebl_i386.h: Likewise.
944 * libebl_ia64.h: Likewise.
945 * libebl_ppc.h: Likewise.
946 * libebl_ppc64.h: Likewise.
947 * libebl_sh.h: Likewise.
948 * libebl_sparc.h: Likewise.
949 * libebl_x86_64.h: Likewise.
950
951 * mips_destr.c: Removed.
952 * mips_init.c: Removed.
953 * mips_symbol.c: Removed.
954 * libebl_mips.h: Removed.
955 * libebl_mips.map: Removed.
956
9572005-05-03 Roland McGrath <roland@redhat.com>
958
959 * libebl.h (Ebl): Add `reloc_simple_type' member.
960 * eblopenbackend.c (default_reloc_simple_type): New function.
961 (openbackend): Use that as default reloc_simple_type callback.
962 * eblrelocsimpletype.c: New file.
963 * Makefile.am (gen_SOURCES): Add it.
964 * i386_symbol.c (i386_reloc_simple_type): New function.
965 * libebl_i386.h: Declare it.
966 * i386_init.c (i386_init): Use it.
967 * x86_64_symbol.c (x86_64_reloc_simple_type): New function.
968 * libebl_x86_64.h: Declare it.
969 * x86_64_init.c (x86_64_init): Use it.
970 * ppc_symbol.c (ppc_reloc_simple_type): New function.
971 * libebl_ppc.h: Declare it.
972 * ppc_init.c (ppc_init): Use it.
973 * ppc64_symbol.c (ppc64_reloc_simple_type): New function.
974 * libebl_ppc64.h: Declare it.
975 * ppc64_init.c (ppc64_init): Use it.
976
9772005-03-17 Ulrich Drepper <drepper@redhat.com>
978
979 * eblcorenote.c (ebl_core_note): Add support for AT_SECURE.
980
9812005-02-15 Ulrich Drepper <drepper@redhat.com>
982
983 * Makefile.am (AM_CFLAGS): Add -Wformat=2.
984
9852005-02-14 Ulrich Drepper <drepper@redhat.com>
986
987 * alpha_destr.c: Add __attribute__((unused)) where needed.
988 * alpha_init.c: Likewise.
989 * alpha_symbol.c: Likewise.
990 * arm_destr.c: Likewise.
991 * arm_init.c: Likewise.
992 * arm_symbol.c: Likewise.
993 * i386_corenote.c: Likewise.
994 * i386_destr.c: Likewise.
995 * i386_init.c: Likewise.
996 * i386_symbol.c: Likewise.
997 * ia64_destr.c: Likewise.
998 * ia64_init.c: Likewise.
999 * ia64_symbol.c: Likewise.
1000 * mips_destr.c: Likewise.
1001 * mips_init.c: Likewise.
1002 * mips_symbol.c: Likewise.
1003 * ppc64_destr.c: Likewise.
1004 * ppc64_init.c: Likewise.
1005 * ppc64_symbol.c: Likewise.
1006 * ppc_destr.c: Likewise.
1007 * ppc_init.c: Likewise.
1008 * ppc_symbol.c: Likewise.
1009 * sh_destr.c: Likewise.
1010 * sh_init.c: Likewise.
1011 * sh_symbol.c: Likewise.
1012 * sparc_destr.c: Likewise.
1013 * sparc_init.c: Likewise.
1014 * sparc_symbol.c: Likewise.
1015 * x86_64_destr.c: Likewise.
1016 * x86_64_init.c: Likewise.
1017 * x86_64_symbol.c: Likewise.
1018
1019 * x86_64_symbol.c (reloc_map_table): Fix entries for R_X86_64_64
1020 and R_X86_64_32..
1021
10222005-02-06 Ulrich Drepper <drepper@redhat.com>
1023
1024 * eblstrtab.c: A few cleanups.
1025
1026 * eblopenbackend.c: Mark unused parameters.
1027
1028 * eblgstrtab.c: Cleanups a few printf format strings.
1029
1030 * Makefile.am: Cleanup AM_CFLAGS handling. Add -Wunused -Wextra.
1031
10322005-02-05 Ulrich Drepper <drepper@redhat.com>
1033
1034 * Makefile.am: Check for text relocations in constructed DSOs.
1035
1036 * eblstrtab.c: Minor cleanups.
1037
1038 * Makefile.am (AM_CFLAGS): Add -std=gnu99 and -fmudflap for MUDFLAP.
1039
10402004-08-16 Ulrich Drepper <drepper@redhat.com>
1041
1042 * Makefile.am (AM_CFLAGS): Add LIBSTR definition with base name of
1043 the lib directory.
1044 * eblopenbackend.c (openbackend): Use LIBSTR instead of hardcoded
1045 lib in path to ebl modules.
1046
10472004-04-01 Ulrich Drepper <drepper@redhat.com>
1048
1049 * Makefile.am: Add rules for ppc and ppc64 ebl module.
1050 * ppc_init..c: New file.
1051 * ppc_destr.c: New file.
1052 * ppc_symbol.c: New file.
1053 * libebl_ppc.h: New file.
1054 * libebl_ppc.map: New file.
1055 * ppc64_init..c: New file.
1056 * ppc64_destr.c: New file.
1057 * ppc64_symbol.c: New file.
1058 * libebl_ppc64.h: New file.
1059 * libebl_ppc64.map: New file.
1060
10612004-01-20 Ulrich Drepper <drepper@redhat.com>
1062
1063 * Makefile.am: Support building with mudflap.
1064
10652004-01-18 Ulrich Drepper <drepper@redhat.com>
1066
1067 * libeblP.h (_): Use elfutils domain.
1068
10692004-01-16 Ulrich Drepper <drepper@redhat.com>
1070
1071 * eblsectionname.c: Add support for SHN_BEFORE and SHN_AFTER.
1072
10732004-01-13 Ulrich Drepper <drepper@redhat.com>
1074
1075 * eblsegmenttypename.c ((ebl_segment_type_name): Add support for
1076 PT_GNU_RELRO.
1077
10782004-01-08 Ulrich Drepper <drepper@redhat.com>
1079
1080 * libebl.h: Remove last traces of libtool.
1081
10822004-01-05 Ulrich Drepper <drepper@redhat.com>
1083
1084 * elf-knowledge.h: Move to libelf subdir.
1085
1086 * Makefile.am (EXTRA_DIST): Remove libebl.map.
1087 * libebl.map: Removed.
1088
10892003-12-08 Ulrich Drepper <drepper@redhat.com>
1090
1091 * eblsectiontypename.c (ebl_section_type_name): Add support for
1092 SHT_SUNW_move, SHT_CHECKSUM, and SHT_GNU_LIBLIST.
1093
10942003-11-19 Ulrich Drepper <drepper@redhat.com>
1095
1096 * ia64_symbol.c (ia64_dynamic_tag_name): New function.
1097 * libebl_ia64.h (ia64_dynamic_tag_name): Declare.
1098 * ia64_init.c (ia64_init): Register i164_dynamic_tag_name.
1099
11002003-09-24 Ulrich Drepper <drepper@redhat.com>
1101
1102 * ia64_init.c (ia64_init): Initialize segment_type_name callback.
1103 * ia64_symbol.c (ia64_segment_type_name): Define.
1104 * libebl_ia64.h (ia64_segment_type_name): Declare.
1105
11062003-09-22 Ulrich Drepper <drepper@redhat.com>
1107
1108 * Makefile.am (AM_CFLAGS): Add -fpic.
1109
11102003-08-14 Ulrich Drepper <drepper@redhat.com>
1111
1112 * Makefile.am (install): Remove dependency on libebl.so.
1113
11142003-08-13 Ulrich Drepper <drepper@redhat.com>
1115
1116 * eblopenbackend.c: Adjust relative path to arch-specific DSOs
1117 assuming the code ends up in the application. Add second dlopen()
1118 try without any path, just the filename.
1119 * Makefile.in: Remove rules to build and install libebl.so.
1120
11212003-08-11 Ulrich Drepper <drepper@redhat.com>
1122
1123 * Moved to CVS archive.