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