Minor cleanups of last changes to elflint and libebl to support
[platform/upstream/elfutils.git] / libebl / ChangeLog
1 2005-08-13  Ulrich Drepper  <drepper@redhat.com>
2
3         * libebl.h: Add ehdr parameter to ebl_bss_plt_p and
4         ebl_check_special_symbol.
5         * libeblP.h (struct ebl): Adjust callback functions.
6         * eblopenbackend.c: Adjust dummy functions.
7         * ebl_check_special_symbol.c: Add parameter and pass it on.
8         * eblbsspltp.c: Likewise.
9         * ppc_symbol.c (find_dyn_got): With ehdr passed, simplify search for
10         the dynamic section entry.
11         (ppc_check_special_symbol): Add ehdr parameter.
12         (ppc_bss_plt_p): Likewise.
13         * libebl_ppc.h: Adjust prototypes.
14         * ppc64_symbol.c (ppc_check_special_symbol): Add ehdr parameter.
15         (ppc_bss_plt_p): Likewise.
16         * libebl_ppc64.h: Adjust prototypes.
17
18 2005-08-12  Roland McGrath  <roland@redhat.com>
19
20         * ppc_symbol.c (find_dyn_got): New function, broken out of ...
21         (ppc_bss_plt_p): ... here.  Call that.
22         (ppc_check_special_symbol): Use find_dyn_got to fetch value to check
23         against _GLOBAL_OFFSET_TABLE_.
24
25         * libeblP.h (struct ebl): Add bss_plt_p hook.
26         * eblopenbackend.c (default_bss_plt_p): New function.
27         (fill_defaults): Use it.
28         * eblbsspltp.c: New file.
29         * Makefile.am (gen_SOURCES): Add it.
30         * libebl.h: Declare ebl_bss_plt_p.
31         * ppc_symbol.c (ppc_bss_plt_p): New function.
32         * libebl_ppc.h: Declare it.
33         * ppc_init.c (ppc_init): Use it.
34         * ppc64_symbol.c (ppc64_bss_plt_p): New function.
35         * libebl_ppc64.h: Declare it.
36         * ppc64_init.c (ppc64_init): Use it.
37
38         * ebl_check_special_symbol.c: New file.
39         * Makefile.am (gen_SOURCES): Add it.
40         * libebl.h: Declare ebl_check_special_symbol.
41         * libeblP.h (struct ebl): Add check_special_symbol hook.
42         * eblopenbackend.c (default_check_special_symbol): New function.
43         (fill_defaults): Use it.
44         * ppc_symbol.c (ppc_check_special_symbol): New function.
45         * libebl_ppc.h: Add prototype.
46         * ppc_init.c (ppc_init): Use it.
47         * ppc64_symbol.c (ppc64_check_special_symbol): New function.
48         * libebl_ppc64.h: Add prototype.
49         * ppc64_init.c (ppc64_init): Use it.
50
51 2005-08-07  Ulrich Drepper  <drepper@redhat.com>
52
53         * ppc_init.c: Add support for new DT_PPC_* and R_PPC_* values.
54         * ppc_symbol.c: Likewise.
55         * libebl_ppc.h: Likewise.
56         * ppc64_init.c: There is now also a dynamic_tag_check functions
57         * ppc64_symbol.c: Add dynamic_tag_check.
58         * libebl_ppc64.h: Add prototype.
59         * alpha_init.c: Add support for new DT_ALPHA_* value.
60         * alpha_symbol.c: Likewise.
61         * libebl_alpha.h: Likewise.
62
63 2005-08-03  Ulrich Drepper  <drepper@redhat.com>
64
65         * libebl_alpha.map: Remove unnecessary exports.
66         * libebl_arm.map: Likewise.
67         * libebl_i386.map: Likewise.
68         * libebl_ia64.map: Likewise.
69         * libebl_ppc.map: Likewise.
70         * libebl_ppc64.map: Likewise.
71         * libebl_sh.map: Likewise.
72         * libebl_sparc.map: Likewise.
73         * libebl_x86_64.map: Likewise.
74
75 2005-08-02  Ulrich Drepper  <drepper@redhat.com>
76
77         * Makefile.am (libebl_a_SOURCES): Add eblelfclass.c, eblelfdata.c,
78         and eblelfmachine.c.
79         * elbopenbackend.c (machines): Add class and data fields.  Initialize
80         them.
81         (ebl_openbackend): Initialize machine, class, data fields in result.
82         * libebl.h: Declare Add eblelfclass, eblelfdata, and eblelfmachine.
83         * libeblP.h (Ebl): Add machine, class, data fields.
84
85 2005-07-23  Ulrich Drepper  <drepper@redhat.com>
86
87         * eblsectionstripp.c: New file.
88         * Makefile.am (gen_SOURCES): Add eblsectionstripp.c.
89         * i386_init.c (i386_init): Install specific debugscn_p callback.
90         * i386_symbol.c (i386_debugscn_p): New function.
91         * libebl.h: Declare ebl_section_strip_p.
92         * libebl_i386.h: Declare i386_debugscn_p.
93
94         * libebl.h: Move Ebl definition to...
95         * libeblP.h: ...here.
96
97 2005-07-21  Roland McGrath  <roland@redhat.com>
98
99         * Makefile.am (install-ebl-modules): New target, commands from ...
100         (install): ... here.  Make this depend on it.
101         (LIBEBL_SUBDIR): New variable, substituted by configure.
102         (install-ebl-modules): Install in $(libdir)/$(LIBEBL_SUBDIR).
103         * eblopenbackend.c (openbackend): Use LIBEBL_SUBDIR in module name.
104
105 2005-07-21  Ulrich Drepper  <drepper@redhat.com>
106
107         * eblcopyrelocp.c: New file.
108         * Makefile.am (gen_SOURCES): Add eblcopyrelocp.c.
109         * libebl.h: Declare ebl_copy_reloc_p.
110         * eblopenbackend.c (fill_defaults): Fill in copy_reloc_p.
111         (default_copy_reloc_p): New function.
112         * alpha_init.c: Define and use arch-specific copy_reloc_p function.
113         * alpha_symbol.c: Likewise.
114         * arm_init.c: Likewise.
115         * arm_symbol.c: Likewise.
116         * i386_init.c: Likewise.
117         * i386_symbol.c: Likewise.
118         * ia64_init.c: Likewise.
119         * ia64_symbol.c: Likewise.
120         * ppc64_init.c: Likewise.
121         * ppc64_symbol.c: Likewise.
122         * ppc_init.c: Likewise.
123         * ppc_symbol.c: Likewise.
124         * sh_init.c: Likewise.
125         * sh_symbol.c: Likewise.
126         * sparc_init.c: Likewise.
127         * sparc_symbol.c: Likewise.
128         * x86_64_init.c: Likewise.
129         * x86_64_symbol.c: Likewise.
130         * libebl_alpha.h: Declare the copy_reloc_p function.
131         * libebl_arm.h: Likewise.
132         * libebl_i386.h: Likewise.
133         * libebl_ia64.h: Likewise.
134         * libebl_ppc.h: Likewise.
135         * libebl_ppc64.h: Likewise.
136         * libebl_sh.h: Likewise.
137         * libebl_sparc.h: Likewise.
138         * libebl_x86_64.h: Likewise.
139
140 2005-05-31  Roland McGrath  <roland@redhat.com>
141
142         * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
143         tracking works right.
144
145 2005-05-21  Ulrich Drepper  <drepper@redhat.com>
146
147         * libebl_x86_64.map: Add x86_64_core_note.
148
149 2005-05-19  Roland McGrath  <roland@redhat.com>
150
151         * libebl_i386.map: Add i386_reloc_valid_use, i386_reloc_simple_type.
152         * libebl_ppc.map: Add ppc_reloc_simple_type.
153         * libebl_ppc64.map: Add ppc64_reloc_simple_type.
154         * libebl_x86_64.map: Add x86_64_reloc_simple_type.
155
156 2005-05-11  Ulrich Drepper  <drepper@redhat.com>
157
158         * eblcorenote.c: Handle new AT_* values and files with different
159         endianess.
160         * Makefile.am (x86_64_SRCS): Add x86_64_corenote.c.
161         * x86-64_corenote.c: New file.
162         * x86_64_init.c: Hook in x86_64_corenote.
163         * i386_corenote.c: Make file usable on 64-bit platforms.
164
165         * eblopenbackend.c: If modules version comparison fails, reinitialize
166         hooks.
167
168 2005-05-10  Ulrich Drepper  <drepper@redhat.com>
169
170         * eblopenbackend.c: Require the init function to return a string.
171         Compare it with MODVERSION from config.h.
172         * alpha_init.c: Change return type.  Return MODVERSION or NULL.
173         * arm_init.c: Likewise.
174         * eblopenbackend.c: Likewise.
175         * i386_init.c: Likewise.
176         * ia64_init.c: Likewise.
177         * ppc64_init.c: Likewise.
178         * ppc_init.c: Likewise.
179         * sh_init.c: Likewise.
180         * sparc_init.c: Likewise.
181         * x86_64_init.c: Likewise.
182         * libeblP.h: Adjust ebl_bhinit_t.
183         * libebl_alpha.h: Adjust init function prototype.
184         * libebl_arm.h: Likewise.
185         * libebl_i386.h: Likewise.
186         * libebl_ia64.h: Likewise.
187         * libebl_ppc.h: Likewise.
188         * libebl_ppc64.h: Likewise.
189         * libebl_sh.h: Likewise.
190         * libebl_sparc.h: Likewise.
191         * libebl_x86_64.h: Likewise.
192
193         * mips_destr.c: Removed.
194         * mips_init.c: Removed.
195         * mips_symbol.c: Removed.
196         * libebl_mips.h: Removed.
197         * libebl_mips.map: Removed.
198
199 2005-05-03  Roland McGrath  <roland@redhat.com>
200
201         * libebl.h (Ebl): Add `reloc_simple_type' member.
202         * eblopenbackend.c (default_reloc_simple_type): New function.
203         (openbackend): Use that as default reloc_simple_type callback.
204         * eblrelocsimpletype.c: New file.
205         * Makefile.am (gen_SOURCES): Add it.
206         * i386_symbol.c (i386_reloc_simple_type): New function.
207         * libebl_i386.h: Declare it.
208         * i386_init.c (i386_init): Use it.
209         * x86_64_symbol.c (x86_64_reloc_simple_type): New function.
210         * libebl_x86_64.h: Declare it.
211         * x86_64_init.c (x86_64_init): Use it.
212         * ppc_symbol.c (ppc_reloc_simple_type): New function.
213         * libebl_ppc.h: Declare it.
214         * ppc_init.c (ppc_init): Use it.
215         * ppc64_symbol.c (ppc64_reloc_simple_type): New function.
216         * libebl_ppc64.h: Declare it.
217         * ppc64_init.c (ppc64_init): Use it.
218
219 2005-03-17  Ulrich Drepper  <drepper@redhat.com>
220
221         * eblcorenote.c (ebl_core_note): Add support for AT_SECURE.
222
223 2005-02-15  Ulrich Drepper  <drepper@redhat.com>
224
225         * Makefile.am (AM_CFLAGS): Add -Wformat=2.
226
227 2005-02-14  Ulrich Drepper  <drepper@redhat.com>
228
229         * alpha_destr.c: Add __attribute__((unused)) where needed.
230         * alpha_init.c: Likewise.
231         * alpha_symbol.c: Likewise.
232         * arm_destr.c: Likewise.
233         * arm_init.c: Likewise.
234         * arm_symbol.c: Likewise.
235         * i386_corenote.c: Likewise.
236         * i386_destr.c: Likewise.
237         * i386_init.c: Likewise.
238         * i386_symbol.c: Likewise.
239         * ia64_destr.c: Likewise.
240         * ia64_init.c: Likewise.
241         * ia64_symbol.c: Likewise.
242         * mips_destr.c: Likewise.
243         * mips_init.c: Likewise.
244         * mips_symbol.c: Likewise.
245         * ppc64_destr.c: Likewise.
246         * ppc64_init.c: Likewise.
247         * ppc64_symbol.c: Likewise.
248         * ppc_destr.c: Likewise.
249         * ppc_init.c: Likewise.
250         * ppc_symbol.c: Likewise.
251         * sh_destr.c: Likewise.
252         * sh_init.c: Likewise.
253         * sh_symbol.c: Likewise.
254         * sparc_destr.c: Likewise.
255         * sparc_init.c: Likewise.
256         * sparc_symbol.c: Likewise.
257         * x86_64_destr.c: Likewise.
258         * x86_64_init.c: Likewise.
259         * x86_64_symbol.c: Likewise.
260
261         * x86_64_symbol.c (reloc_map_table): Fix entries for R_X86_64_64
262         and R_X86_64_32..
263
264 2005-02-06  Ulrich Drepper  <drepper@redhat.com>
265
266         * eblstrtab.c: A few cleanups.
267
268         * eblopenbackend.c: Mark unused parameters.
269
270         * eblgstrtab.c: Cleanups a few printf format strings.
271
272         * Makefile.am: Cleanup AM_CFLAGS handling.  Add -Wunused -Wextra.
273
274 2005-02-05  Ulrich Drepper  <drepper@redhat.com>
275
276         * Makefile.am: Check for text relocations in constructed DSOs.
277
278         * eblstrtab.c: Minor cleanups.
279
280         * Makefile.am (AM_CFLAGS): Add -std=gnu99 and -fmudflap for MUDFLAP.
281
282 2004-08-16  Ulrich Drepper  <drepper@redhat.com>
283
284         * Makefile.am (AM_CFLAGS): Add LIBSTR definition with base name of
285         the lib directory.
286         * eblopenbackend.c (openbackend): Use LIBSTR instead of hardcoded
287         lib in path to ebl modules.
288
289 2004-04-01  Ulrich Drepper  <drepper@redhat.com>
290
291         * Makefile.am: Add rules for ppc and ppc64 ebl module.
292         * ppc_init..c: New file.
293         * ppc_destr.c: New file.
294         * ppc_symbol.c: New file.
295         * libebl_ppc.h: New file.
296         * libebl_ppc.map: New file.
297         * ppc64_init..c: New file.
298         * ppc64_destr.c: New file.
299         * ppc64_symbol.c: New file.
300         * libebl_ppc64.h: New file.
301         * libebl_ppc64.map: New file.
302
303 2004-01-20  Ulrich Drepper  <drepper@redhat.com>
304
305         * Makefile.am: Support building with mudflap.
306
307 2004-01-18  Ulrich Drepper  <drepper@redhat.com>
308
309         * libeblP.h (_): Use elfutils domain.
310
311 2004-01-16  Ulrich Drepper  <drepper@redhat.com>
312
313         * eblsectionname.c: Add support for SHN_BEFORE and SHN_AFTER.
314
315 2004-01-13  Ulrich Drepper  <drepper@redhat.com>
316
317         * eblsegmenttypename.c ((ebl_segment_type_name): Add support for
318         PT_GNU_RELRO.
319
320 2004-01-08  Ulrich Drepper  <drepper@redhat.com>
321
322         * libebl.h: Remove last traces of libtool.
323
324 2004-01-05  Ulrich Drepper  <drepper@redhat.com>
325
326         * elf-knowledge.h: Move to libelf subdir.
327
328         * Makefile.am (EXTRA_DIST): Remove libebl.map.
329         * libebl.map: Removed.
330
331 2003-12-08  Ulrich Drepper  <drepper@redhat.com>
332
333         * eblsectiontypename.c (ebl_section_type_name): Add support for
334         SHT_SUNW_move, SHT_CHECKSUM, and SHT_GNU_LIBLIST.
335
336 2003-11-19  Ulrich Drepper  <drepper@redhat.com>
337
338         * ia64_symbol.c (ia64_dynamic_tag_name): New function.
339         * libebl_ia64.h (ia64_dynamic_tag_name): Declare.
340         * ia64_init.c (ia64_init): Register i164_dynamic_tag_name.
341
342 2003-09-24  Ulrich Drepper  <drepper@redhat.com>
343
344         * ia64_init.c (ia64_init): Initialize segment_type_name callback.
345         * ia64_symbol.c (ia64_segment_type_name): Define.
346         * libebl_ia64.h (ia64_segment_type_name): Declare.
347
348 2003-09-22  Ulrich Drepper  <drepper@redhat.com>
349
350         * Makefile.am (AM_CFLAGS): Add -fpic.
351
352 2003-08-14  Ulrich Drepper  <drepper@redhat.com>
353
354         * Makefile.am (install): Remove dependency on libebl.so.
355
356 2003-08-13  Ulrich Drepper  <drepper@redhat.com>
357
358         * eblopenbackend.c: Adjust relative path to arch-specific DSOs
359         assuming the code ends up in the application.  Add second dlopen()
360         try without any path, just the filename.
361         * Makefile.in: Remove rules to build and install libebl.so.
362
363 2003-08-11  Ulrich Drepper  <drepper@redhat.com>
364
365         * Moved to CVS archive.