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