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