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