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