blob: cb0d00954e2d012a3fd51de6c79af08d5909277f [file] [log] [blame]
Roland McGrathe53d04a2005-08-13 20:56:07 +000012005-08-13 Roland McGrath <roland@redhat.com>
2
3 * ia64_symbol.c (ia64_machine_flag_check): New function.
4 * libebl_ia64.h: Declare it.
5 * ia64_init.c (ia64_init): Use it.
6
Ulrich Drepperc5c33a62005-08-13 17:50:47 +000072005-08-13 Ulrich Drepper <drepper@redhat.com>
8
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.
23
Roland McGrath653d3762005-08-13 01:59:10 +0000242005-08-12 Roland McGrath <roland@redhat.com>
25
Roland McGrathf8873cb2005-08-13 03:26:06 +000026 * 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_.
30
Roland McGrath653d3762005-08-13 01:59:10 +000031 * 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.
43
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.
56
Ulrich Drepperb03b0572005-08-07 08:12:22 +0000572005-08-07 Ulrich Drepper <drepper@redhat.com>
58
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.
68
Ulrich Drepper6fcb3832005-08-03 21:10:49 +0000692005-08-03 Ulrich Drepper <drepper@redhat.com>
70
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.
80
Ulrich Dreppera38998e2005-08-03 02:05:39 +0000812005-08-02 Ulrich Drepper <drepper@redhat.com>
82
83 * Makefile.am (libebl_a_SOURCES): Add eblelfclass.c, eblelfdata.c,
84 and eblelfmachine.c.
85 * elbopenbackend.c (machines): Add class and data fields. Initialize
86 them.
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.
90
Ulrich Drepperb08d5a82005-07-26 05:00:05 +0000912005-07-23 Ulrich Drepper <drepper@redhat.com>
92
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.
99
100 * libebl.h: Move Ebl definition to...
101 * libeblP.h: ...here.
102
1032005-07-21 Roland McGrath <roland@redhat.com>
104
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.
110
1112005-07-21 Ulrich Drepper <drepper@redhat.com>
112
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.
145
1462005-05-31 Roland McGrath <roland@redhat.com>
147
148 * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
149 tracking works right.
150
1512005-05-21 Ulrich Drepper <drepper@redhat.com>
152
153 * libebl_x86_64.map: Add x86_64_core_note.
154
1552005-05-19 Roland McGrath <roland@redhat.com>
156
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.
161
1622005-05-11 Ulrich Drepper <drepper@redhat.com>
163
164 * eblcorenote.c: Handle new AT_* values and files with different
165 endianess.
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.
170
171 * eblopenbackend.c: If modules version comparison fails, reinitialize
172 hooks.
173
1742005-05-10 Ulrich Drepper <drepper@redhat.com>
175
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.
198
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.
204
2052005-05-03 Roland McGrath <roland@redhat.com>
206
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.
224
2252005-03-17 Ulrich Drepper <drepper@redhat.com>
226
227 * eblcorenote.c (ebl_core_note): Add support for AT_SECURE.
228
2292005-02-15 Ulrich Drepper <drepper@redhat.com>
230
231 * Makefile.am (AM_CFLAGS): Add -Wformat=2.
232
2332005-02-14 Ulrich Drepper <drepper@redhat.com>
234
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.
266
267 * x86_64_symbol.c (reloc_map_table): Fix entries for R_X86_64_64
268 and R_X86_64_32..
269
2702005-02-06 Ulrich Drepper <drepper@redhat.com>
271
272 * eblstrtab.c: A few cleanups.
273
274 * eblopenbackend.c: Mark unused parameters.
275
276 * eblgstrtab.c: Cleanups a few printf format strings.
277
278 * Makefile.am: Cleanup AM_CFLAGS handling. Add -Wunused -Wextra.
279
2802005-02-05 Ulrich Drepper <drepper@redhat.com>
281
282 * Makefile.am: Check for text relocations in constructed DSOs.
283
284 * eblstrtab.c: Minor cleanups.
285
286 * Makefile.am (AM_CFLAGS): Add -std=gnu99 and -fmudflap for MUDFLAP.
287
2882004-08-16 Ulrich Drepper <drepper@redhat.com>
289
290 * Makefile.am (AM_CFLAGS): Add LIBSTR definition with base name of
291 the lib directory.
292 * eblopenbackend.c (openbackend): Use LIBSTR instead of hardcoded
293 lib in path to ebl modules.
294
2952004-04-01 Ulrich Drepper <drepper@redhat.com>
296
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.
308
3092004-01-20 Ulrich Drepper <drepper@redhat.com>
310
311 * Makefile.am: Support building with mudflap.
312
3132004-01-18 Ulrich Drepper <drepper@redhat.com>
314
315 * libeblP.h (_): Use elfutils domain.
316
3172004-01-16 Ulrich Drepper <drepper@redhat.com>
318
319 * eblsectionname.c: Add support for SHN_BEFORE and SHN_AFTER.
320
3212004-01-13 Ulrich Drepper <drepper@redhat.com>
322
323 * eblsegmenttypename.c ((ebl_segment_type_name): Add support for
324 PT_GNU_RELRO.
325
3262004-01-08 Ulrich Drepper <drepper@redhat.com>
327
328 * libebl.h: Remove last traces of libtool.
329
3302004-01-05 Ulrich Drepper <drepper@redhat.com>
331
332 * elf-knowledge.h: Move to libelf subdir.
333
334 * Makefile.am (EXTRA_DIST): Remove libebl.map.
335 * libebl.map: Removed.
336
3372003-12-08 Ulrich Drepper <drepper@redhat.com>
338
339 * eblsectiontypename.c (ebl_section_type_name): Add support for
340 SHT_SUNW_move, SHT_CHECKSUM, and SHT_GNU_LIBLIST.
341
3422003-11-19 Ulrich Drepper <drepper@redhat.com>
343
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.
347
3482003-09-24 Ulrich Drepper <drepper@redhat.com>
349
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.
353
3542003-09-22 Ulrich Drepper <drepper@redhat.com>
355
356 * Makefile.am (AM_CFLAGS): Add -fpic.
357
3582003-08-14 Ulrich Drepper <drepper@redhat.com>
359
360 * Makefile.am (install): Remove dependency on libebl.so.
361
3622003-08-13 Ulrich Drepper <drepper@redhat.com>
363
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.
368
3692003-08-11 Ulrich Drepper <drepper@redhat.com>
370
371 * Moved to CVS archive.