blob: f9d7b9ec672a67248efe52ef4284cd669540aa95 [file] [log] [blame]
Roland McGrath7e827f22009-01-06 02:09:50 -080012008-01-06 Roland McGrath <roland@redhat.com>
Roland McGrath1f6d2012008-12-31 00:21:04 -08002
3 * libdwP.h (struct Dwarf_Abbrev): Change type of 'has_children' to bool.
4 Reorder members.
5 * dwarf_haschildren.c: Return -1 for error case, not 0.
6
Roland McGrathbca43152009-01-05 23:59:32 -08007 * Makefile.am (libdw.so): Link in $(zip_LIBS).
8
Ulrich Drepperac194d02009-01-06 00:30:01 -080092009-01-06 Ulrich Drepper <drepper@redhat.com>
10
Roland McGrathc462c632009-01-06 01:04:31 -080011 * dwarf.h: Add definition for unwind and call frame information.
Ulrich Drepperac194d02009-01-06 00:30:01 -080012
13 * memory-access.h: Define read_ubyte_unaligned, read_sbyte_unaligned,
14 read_ubyte_unaligned_inc, and read_sbyte_unaligned_inc.
15
Roland McGrathb4d6f0f2008-08-25 22:55:17 +0000162008-08-15 Roland McGrath <roland@redhat.com>
17
18 * libdw.map (ELFUTILS_0.136): New version set, inherits from
19 ELFUTILS_0.130. Add dwfl_addrsegment, dwfl_report_segment.
20
Ulrich Drepper8d358d92008-01-22 06:34:31 +0000212008-01-21 Ulrich Drepper <drepper@redhat.com>
22
23 * dwarf_child.c: Minor optimizations.
24 * dwarf_getattrs.c: Likewise.
25 * dwarf_getpubnames.c: Likewise.
26 * dwarf_siblingof.c: Likewise.
27 * dwarf_tag.c: Likewise.
28
Ulrich Drepperb27ce002008-01-18 20:08:54 +0000292008-01-18 Ulrich Drepper <drepper@redhat.com>
30
31 * dwarf_getsrclines.c (dwarf_getsrclines): Don't require exact match
32 of DWARF_VERSION comparison, just fail if the file's version is newer.
33
Ulrich Drepper35f08c42008-01-18 19:59:08 +0000342008-01-17 Nick Clifton <nickc@redhat.com>
35
36 * dwarf.h (DWARF3_LENGTH_MIN_ESCAPE_CODE): New define.
37 (DWARF3_LENGTH_MAX_ESCAPE_CODE): New define.
38 (DWARF3_LENGTH_64_BIT): New define.
39 * dwarf_getaranges (dwarf_getaranges): Use the new definitions.
40 * dwarf_getpubnames: Include dwarf.h.
41 (get_offsets): Use the new definitions.
42 * dwarf_getsrclines.c (dwarf_getsrclines): Use the new defintions.
43 * dwarf_nextcu.c: Include dwarf.h. Correct comment.
44 (dwarf_nextcu): Use the new definitions.
45
46 * libdwP.h (DIE_OFFSET_FROM_CU_OFFSET): New macro.
Ulrich Dreppera969d8e2008-01-22 06:15:00 +000047 * dwarf_diecu.c (dwarf_diecu): Use the new macro.
Ulrich Drepper35f08c42008-01-18 19:59:08 +000048 * dwarf_getaranges (dwarf_getaranges): Use the new macro.
49 * dwarf_nextcu.c (dwarf_nextcu): Use the new macro.
50
51 * dwarf_getpubnames (get_offsets): Replace assertion with test and
52 error return.
53
54 * dwarf_entry_breakpoints.c (dwarf_entry_breakpoints): Use CUDIE.
55
56 * dwarf_siblingof (dwarf_siblingof): Detect a NULL return pointer.
57 Set the address in the return structure to the address of the next
58 non-sibling die, if there is no sibling and the return pointer is
59 not the same as the die pointer.
60 * libdw.h: Expand the description of the dwarf_siblingof prototype.
61
62 * dwarf_child.c: Fix typo in comment.
63
64 * libdwP.h (DWARF_VERSION): Change to 3.
65
66 * dwarf_formref.c (__libdw_formref.c): Handle attributes which do
67 not have a initialised valp pointer.
68
69 * dwarf_getattrs.c (dwarf_getattrs): Return 1 rather than 0 when
70 the end of the attributes is reached. When the callback fails,
71 return the address of the failing attribute, not the address of
72 its successor.
73 * libdw.h: Expand the description of the dwarf_getattrs prototype.
74
75 * dwarf_child.c (__libdw_find_attr): Use the new definition.
76 (dwarf_child): Likewise.
77 * dwarf_tag.c (__libdw_findabbrev): Likewise.
78 (dwarf_tag): Likewise.
79
Ulrich Dreppere219f1c2008-01-09 05:49:49 +0000802008-01-08 Roland McGrath <roland@redhat.com>
81
82 * Makefile.am (euinclude): Variable removed.
83 (pkginclude_HEADERS): Set this instead of euinclude_HEADERS.
84 (libdw.so): Pass -Wl,--enable-new-dtags,-rpath,$(pkglibdir).
85
Roland McGrathe4c22ea2007-10-23 13:07:39 +0000862007-10-17 Roland McGrath <roland@redhat.com>
87
88 * libdw.h (__deprecated_attribute__): New macro.
89 (dwarf_formref): Mark it deprecated.
90 * dwarf_formref.c (__libdw_formref): New function, broken out of ...
91 (dwarf_formref): ... here. Call it. Remove INTDEF.
92 * libdwP.h: Remove INTDECL.
93 Declare __libdw_formref.
94 * dwarf_siblingof.c (dwarf_siblingof): Call __libdw_formref instead.
95 * dwarf_formref_die.c: Likewise. Handle DW_FORM_ref_addr here.
96
97 * libdw_form.c (__libdw_form_val_len): Fix DW_FORM_ref_addr result,
98 needs to check CU->version.
99
100 * libdwP.h (struct Dwarf_CU): New member `version'.
101 * libdw_findcu.c (__libdw_findcu): Initialize it.
102
103 * dwarf_child.c: Return 1 for null entry as first child.
104
Ulrich Drepperb597dfa2007-10-16 05:21:27 +00001052007-10-05 Roland McGrath <roland@redhat.com>
106
107 * dwarf_begin_elf.c (check_section): Punt on SHT_NOBITS sections.
108
109 * libdw.h (__extern_inline): Rename to __libdw_extern_inline.
110 [__OPTIMIZE__] (dwarf_whatattr, dwarf_whatform): Update uses.
111
Roland McGrath59ea7f32007-10-04 08:50:09 +00001122007-10-03 Roland McGrath <roland@redhat.com>
113
114 * libdw.map (ELFUTILS_0.130: Add dwfl_build_id_find_elf
115 and dwfl_build_id_find_debuginfo.
116
117 * libdw.map (ELFUTILS_0.130): New version set, inherits from
118 ELFUTILS_0.127. Add dwfl_module_build_id, dwfl_module_report_build_id.
119
Roland McGrath057ec6b2007-10-02 20:55:05 +00001202007-10-02 Roland McGrath <roland@redhat.com>
121
122 * libdw_visit_scopes.c (classify_die): Return walk for class_type and
123 structure_type.
124
Roland McGrathd1a48172007-08-07 19:51:01 +00001252007-08-07 Roland McGrath <roland@redhat.com>
126
127 * dwarf_getscopes.c (pc_match): Swallow dwarf_haspc error return when
128 error code is DWARF_E_NOERROR (0).
129
130 * dwarf_getscopes.c (pc_record): Always bail early if DIE->prune.
131 Fix typo in __libdw_visit_scopes argument.
132
133 * dwarf_getscopes.c (pc_match): Check dwarf_haspc error return,
134 swallow DWARF_E_NO_DEBUG_RANGES but not other errors.
135
Roland McGrath87d47802007-07-16 22:23:37 +00001362007-07-03 Roland McGrath <roland@redhat.com>
137
138 * libdw.h (__extern_inline): New macro.
139 [__OPTIMIZE__] (dwarf_whatattr, dwarf_whatform): Use it.
140
Roland McGrath43da9892007-04-16 23:13:37 +00001412007-04-16 Roland McGrath <roland@redhat.com>
142
143 * libdw.map (ELFUTILS_0.127): Add dwfl_module_address_section.
144
Roland McGrathbf2ee482007-04-05 09:27:36 +00001452007-04-05 Roland McGrath <roland@redhat.com>
146
Roland McGrath43da9892007-04-16 23:13:37 +0000147 * dwarf_getsrcdirs.c: New file.
148 * Makefile.am (libdw_a_SOURCES): Add it.
149 * libdw.h: Declare dwarf_getsrcdirs.
150 * libdw.map (ELFUTILS_0.127): Add it.
151
152 * libdwP.h (struct Dwarf_Files_s): New member ndirs.
153 * dwarf_getsrclines.c (dwarf_getsrclines): Don't clobber NDIRLIST to
154 zero before we use it to check for DWARF_E_INVALID_DIR_IDX.
155 Save DIRARRAY in the Dwarf_Files.
156
Roland McGrathbf2ee482007-04-05 09:27:36 +0000157 * dwarf_ranges.c (dwarf_ranges): Don't sign-extend 32-bit BEGIN
158 address to check for all-ones base address entry. Check directly.
159 Reported by Sébastien Dugué <sebastien.dugue@bull.net>.
160
Ulrich Drepperc07fbb32007-03-30 19:14:59 +00001612007-03-25 Roland McGrath <roland@redhat.com>
162
163 * dwarf_begin_elf.c (check_section): Return Dwarf * instead of void.
164 Return NULL when freeing RESULT on error.
165 (global_read, scngrp_read): Check return value from check_section,
166 break out of loop after it has freed RESULT.
167 (valid_p): Handle null argument.
168
Ulrich Drepper6258e742007-03-13 06:22:40 +00001692007-03-12 Roland McGrath <roland@redhat.com>
170
171 * libdw.map (ELFUTILS_0.127): Add dwfl_report_begin_add.
172
1732007-03-04 Roland McGrath <roland@redhat.com>
174
175 * libdw.map (ELFUTILS_0.127): New version set, inherits from
176 ELFUTILS_0.126. Add dwfl_module_addrsym.
177
Ulrich Drepper903c1162007-02-15 19:40:37 +00001782007-02-10 Roland McGrath <roland@redhat.com>
179
180 * dwarf.h (DW_OP_fbreg): Comment fix.
181
Ulrich Drepperaa915fd2007-02-05 07:25:33 +00001822007-02-03 Roland McGrath <roland@redhat.com>
183
184 * dwarf_getelf.c (dwarf_getelf): Renamed from dwarf_get_elf.
185 * libdw.map (ELFUTILS_0.126): New version set, inherits from
186 ELFUTILS_0.122. Move dwarf_getelf there; it was never truly
187 exported in the past.
188
Roland McGrath8190db62006-12-17 23:56:51 +00001892006-12-17 Roland McGrath <roland@redhat.com>
190
191 * dwarf_getlocation.c (dwarf_getlocation_addr): Use zero as base
192 address when the CU is missing attributes due to buggy GCC.
193
Roland McGrathc373d852006-10-10 00:25:21 +00001942006-08-29 Roland McGrath <roland@redhat.com>
195
196 * Makefile.am (CLEANFILES): Add libdw.so.$(VERSION).
197
198 * libdw.h (dwarf_diecu): Add __nonnull_attribute__.
199 (dwarf_child): Don't list arg 1 in __nonnull_attribute__.
200
201 * libdw_alloc.c (__libdw_allocate): Take new ALIGN argument, make sure
202 result is aligned. Adjust NEWP->remaining here for this allocation.
203 * libdwP.h: Update decl.
204 (libdw_alloc): Update caller.
205
Ulrich Drepper077c65f2006-07-12 19:54:51 +00002062006-07-12 Ulrich Drepper <drepper@redhat.com>
207
208 * dwarf_child.c: Adjust for internal_function_def removal.
209 * dwarf_getabbrev.c: Likewise.
210 * dwarf_tag.c: Likewise.
211 * libdw_form.c: Likewise.
212 * memory-access.c: Likewise.
213
Ulrich Dreppere1812e12006-07-12 07:46:03 +00002142006-06-28 Roland McGrath <roland@redhat.com>
215
216 * libdw.map: Export dwfl_linecu, dwfl_line_comp_dir.
217
218 * libdw.map: Bump to 0.122; export dwfl_module_getsymtab and
219 dwfl_module_getsym.
220
Ulrich Drepper3be74472006-05-27 18:15:40 +00002212006-05-27 Ulrich Drepper <drepper@redhat.com>
222
223 * libdw.h: Add extern "C".
224
Ulrich Dreppere7a73172006-05-22 18:16:45 +00002252006-05-22 Ulrich Drepper <drepper@redhat.com>
226
227 * dwarf_getaranges.c (dwarf_getaranges): Handle files without
228 aranges information.
229
Ulrich Drepper4f3d2a22006-05-22 01:30:56 +00002302006-05-21 Ulrich Drepper <drepper@redhat.com>
231
232 * libdw.h: Add nonnull attributes to dwarf_tag, dwarf_getattrs,
233 dwarf_haschildren.
234
Roland McGrath2dade662006-02-28 22:13:20 +00002352006-02-28 Roland McGrath <roland@redhat.com>
236
237 * dwarf.h: Add missing DW_ATE_*, DW_TAG_*, DW_LANG_*, DW_CFA_*,
238 DW_OP_* values, to match DWARF 3.0. Add new DW_DS_*, DW_END_*
239 values from DWARF 3.0.
240
Roland McGrath08333122006-02-27 04:54:26 +00002412006-02-22 Roland McGrath <roland@redhat.com>
242
243 * libdw.map: Bump to 0.120; export dwfl_version.
244
Roland McGrath50ffcbf2005-12-23 01:51:43 +00002452005-12-22 Roland McGrath <roland@redhat.com>
246
247 * libdw.map: Bump to 0.119; export dwfl_linux_proc_maps_report.
248
Roland McGrathdec3a242005-12-12 08:35:55 +00002492005-12-12 Roland McGrath <roland@redhat.com>
250
251 * dwarf_ranges.c: Copy CU base address-finding code from
252 dwarf_getlocation.
253
Roland McGrathf64a4422005-12-09 23:40:30 +00002542005-12-09 Roland McGrath <roland@redhat.com>
255
256 * dwarf_getlocation.c (dwarf_getlocation_addr): Add some unlikelys.
257 Delay CU base lookup until it's needed.
258 If CU base lookup fails with no error, flag invalid DWARF.
259
Roland McGrath994b4892005-12-05 22:46:21 +00002602005-11-25 Roland McGrath <roland@redhat.com>
261
262 * libdw.map: Bump to 0.118; export dwfl_module_register_names.
263
Roland McGrathe47ab762005-11-17 03:16:00 +00002642005-11-15 Roland McGrath <roland@redhat.com>
265
266 * Makefile.am [BUILD_STATIC] (AM_CFLAGS): Add -fpic.
267
2682005-11-13 Roland McGrath <roland@redhat.com>
269
270 * libdw.map: Bump to 0.117; export dwfl_module_return_value_location.
271
Roland McGrath07d4f2f2005-10-28 06:56:24 +00002722005-10-27 Roland McGrath <roland@redhat.com>
273
274 * dwarf_entry_breakpoints.c (search_range): Fix binary search code;
275 don't match end_sequence markers.
276
277 * dwarf_getsrclines.c (compare_lines): Sort end_sequence markers
278 before normal records at the same address.
279 * dwarf_getsrc_die.c (dwarf_getsrc_die): Don't match an end_sequence
280 marker.
281
2822005-10-26 Roland McGrath <roland@redhat.com>
283
Roland McGrath6724c902005-10-28 07:07:19 +0000284 * dwarf_getfuncs.c (dwarf_getfuncs): Use Dwarf_Die, not Dwarf_Func.
285 * dwarf_func_file.c: Renamed to ...
286 * dwarf_decl_file.c: ... here.
287 * dwarf_func_col.c: Renamed to ...
288 * dwarf_decl_column.c: ... here.
289 * dwarf_func_line.c: Renamed to ...
290 * dwarf_decl_line.c: ... here.
291 (dwarf_func_line): Renamed to ...
292 (dwarf_decl_line): ... this. Take a Dwarf_Die * argument.
293 (__libdw_func_intval): Renamed __libdw_attr_intval.
294 * dwarf_func_name.c: File removed.
295 * dwarf_func_lowpc.c: File removed.
296 * dwarf_func_highpc.c: File removed.
297 * dwarf_func_entrypc.c: File removed.
298 * dwarf_func_die.c: File removed.
299 * Makefile.am (libdw_a_SOURCES): Updated.
300 * libdw.h: Update decls.
301 (Dwarf_Func): Type removed.
302 * libdwP.h: Update decls.
303 (struct Dwarf_Func_s): Type removed.
304 * libdw.map: Updated.
305
306 * libdwP.h (CUDIE): New macro.
307 * dwarf_getlocation.c (dwarf_getlocation_addr): Use it.
308 * dwarf_getscopes_die.c (dwarf_getscopes_die): Likewise.
309 * dwarf_ranges.c (dwarf_ranges): Likewise.
310
311 * dwarf_getloclist.c: Renamed to ...
312 * dwarf_getlocation.c: ... here.
313 (getloclist): Renamed to getlocation.
314 (dwarf_getloclist): Renamed to dwarf_getlocation.
315 (dwarf_addrloclists): Renamed to dwarf_getlocation_addr.
316 * Makefile.am (libdw_a_SOURCES): Updated.
317 * libdw.h (dwarf_getloclist): Renamed to dwarf_getlocation.
318 (dwarf_addrloclists): Renamed dwarf_getlocation_addr.
319 (Dwarf_Loc): Renamed Dwarf_Op.
320 * libdwP.h (struct loc_s): Update use.
321 * libdw.map: Update map.
322
Roland McGrath07d4f2f2005-10-28 06:56:24 +0000323 * dwarf_entry_breakpoints.c: Use the second line record within the
324 function, regardless of its source location data.
325
3262005-10-25 Roland McGrath <roland@redhat.com>
327
328 * dwarf_entry_breakpoints.c: Fall back to entrypc for contiguous too.
329
330 * libdw.map: Add dwarf_entrypc, dwarf_entry_breakpoints.
331
3322005-10-14 Roland McGrath <roland@redhat.com>
333
334 * dwarf_diecu.c (dwarf_diecu): New file.
335 * Makefile.am (libdw_a_SOURCES): Add it.
336 * libdw.h: Declare dwarf_diecu.
337 * libdw.map: Export it.
338
339 * libdw.map: Bump to 0.116; export dwarf_ranges.
340
3412005-09-20 Roland McGrath <roland@redhat.com>
342
343 * dwarf_haspc.c: Use dwarf_ranges.
344 * dwarf_entry_breakpoints.c: Likewise.
345
346 * dwarf_ranges.c: New file.
347 * Makefile.am (libdw_a_SOURCES): Add it.
348 * libdw.h: Declare dwarf_ranges.
349 * libdwP.h: Add INTDECL.
350
3512005-09-14 Roland McGrath <roland@redhat.com>
352
353 * dwarf_entry_breakpoints.c (dwarf_entry_breakpoints): Fix braino in
354 prologue_end marker scanning loop.
355
3562005-09-11 Roland McGrath <roland@redhat.com>
357
358 * dwarf.h: Comment typo fix.
359
3602005-09-07 Roland McGrath <roland@redhat.com>
361
362 * dwarf_entry_breakpoints.c: New file.
363 * Makefile.am (libdw_a_SOURCES): Add it.
364 * libdw.h: Declare dwarf_entry_breakpoints.
365
366 * dwarf_entrypc.c: New file.
367 * Makefile.am (libdw_a_SOURCES): Add it.
368 * libdw.h: Declare dwarf_entrypc.
369 * libdwP.h: Add INTDECL.
370
Ulrich Drepperfbe998a2005-08-29 16:27:10 +00003712005-08-28 Ulrich Drepper <drepper@redhat.com>
372
373 * Makefile.am: Use $(LINK) not $(CC) when creating DSO.
374 (%.os): Use COMPILE.os.
375 (COMPILE.os): Filter out gconv options.
376
Roland McGrath71e15a02005-08-27 10:33:26 +00003772005-08-27 Roland McGrath <roland@redhat.com>
378
379 * dwarf_getscopes.c (dwarf_getscopes): Rewritten using
380 __libdw_visit_scopes.
381
382 * dwarf_getscopes_die.c: New file.
383 * Makefile.am (libdw_a_SOURCES): Add it.
384 * libdw.h: Declare dwarf_getscopes_die.
385 * libdw.map: Bump to 0.115 and add it.
386
387 * libdw_visit_scopes.c (__libdw_visit_scopes): Pass a struct
388 containing a DIE and its parent pointer, instead of just Dwarf_Die.
389 Take two functions for both preorder and postorder visitors.
390 * libdwP.h: Update decl.
391 (struct Dwarf_Die_Chain): New type.
392 * dwarf_func_inline.c: Update uses.
393
394 * dwarf_diename.c (dwarf_diename): Use dwarf_attr_integrate.
395 Add INTDEF.
396 * libdwP.h: Add INTDECL.
397 * dwarf_func_name.c (dwarf_func_name): Use dwarf_diename.
398
Roland McGrathd17fac72005-08-23 08:20:21 +00003992005-08-23 Roland McGrath <roland@redhat.com>
400
401 * dwarf_attr_integrate.c (dwarf_attr_integrate): Treat
402 DW_AT_specification the same as DW_AT_abstract_origin.
403
4042005-08-20 Roland McGrath <roland@redhat.com>
405
406 * libdw.map: Add dwfl_cumodule, remove dwfl_linecu.
407 Add dwfl_linux_kernel_report_offline, dwfl_offline_section_address,
408 and dwfl_report_offline.
409
4102005-08-19 Roland McGrath <roland@redhat.com>
411
412 * libdw.map: Bump version to ELFUTILS_0.114 for libdwfl changes.
413 Add dwfl_module_relocate_address, dwfl_module_relocations,
414 dwfl_module_relocation_info.
415
Roland McGrathf5fda7d2005-08-18 22:01:57 +00004162005-08-18 Roland McGrath <roland@redhat.com>
417
418 * dwarf_getscopes.c (dwarf_getscopes): Include the CU itself as
419 outermost scope in the results.
420
Roland McGrath1ecb6062005-08-15 09:53:04 +00004212005-08-15 Roland McGrath <roland@redhat.com>
422
423 * dwarf_func_inline.c: New file.
424 * Makefile.am (libdw_a_SOURCES): Add it.
425 * libdw.h: Declare dwarf_func_inline, dwarf_func_inline_instances.
426 * libdw.map: Add them.
427
428 * dwarf_func_die.c: New file.
429 * Makefile.am (libdw_a_SOURCES): Add it.
430 * libdw.h: Declare dwarf_func_die.
431 * libdw.map: Add it. Bump version to ELFUTILS_0.114.
432
Roland McGrath1c83bf12005-08-11 07:03:55 +00004332005-08-10 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper6d5c3bd2005-08-11 04:37:52 +0000434
Roland McGrath1c83bf12005-08-11 07:03:55 +0000435 * dwarf_getsrclines.c (dwarf_getsrclines): Correct fallout of renaming
436 of DW_LNS_set_epilog_begin.
Ulrich Drepper6d5c3bd2005-08-11 04:37:52 +0000437
Roland McGrath4959bf82005-08-09 10:31:08 +00004382005-08-09 Roland McGrath <roland@redhat.com>
439
Roland McGrathb6312e12005-08-09 10:36:01 +0000440 * dwarf.h (DW_LNS_set_epilog_begin): Renamed DW_LNS_set_epilogue_begin.
441
Roland McGrath4959bf82005-08-09 10:31:08 +0000442 * dwarf_end.c: Add INTDEF.
443 * dwarf_error.c (dwarf_errmsg): Likewise.
444 * libdwP.h (dwarf_end, dwarf_errmsg): Add INTDECLs.
445
Roland McGratha5a89682005-08-02 01:24:01 +00004462005-08-01 Roland McGrath <roland@redhat.com>
447
448 * dwarf_getaranges.c (dwarf_getaranges): Check for bogus offset.
449 * dwarf_getabbrev.c (__libdw_getabbrev): Likewise.
450
Ulrich Drepper18618fd2005-07-28 21:29:22 +00004512005-07-28 Ulrich Drepper <drepper@redhat.com>
452
453 * Makefile.am (libdw.so): No need to link with libeu.a anymore.
454 (libdw_a_LIBADD): Add all files from libdwfl.a.
455
Roland McGrath366784a2005-07-28 06:20:53 +00004562005-07-27 Roland McGrath <roland@redhat.com>
457
Roland McGrath18385902005-07-28 07:12:38 +0000458 * Makefile.am (libdw.so): Link ../libdwfl/libdwfl_pic.a in,
459 along with ../libebl/libebl.a and ../lib/libeu.a;
460 depend on ../libelf/libelf.so.
461 (libdw_so_LDADD): New variable.
462 * libdw.map: Add dwfl_* symbols formerly in ../libdwfl/libdwfl.map.
463
Roland McGrath366784a2005-07-28 06:20:53 +0000464 * libdw.map: Define an empty base version and move all symbols to
465 version ELFUTILS_0.111; don't define ELFUTILS_1.0 at all yet.
466
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00004672005-07-23 Ulrich Drepper <drepper@redhat.com>
468
469 * dwarf_error.c: Add internal alias for dwarf_errno.
470 * libdwP.h: Declare __dwarf_errno_internal.
471 * dwarf_getloclist.c: Use INTDEF for dwarf_errno.
472
473 * dwarf_error.c [USE_TLS]: Actually use __thread in definition of
474 global_error.
475
4762005-06-01 Roland McGrath <roland@redhat.com>
477
478 * dwarf_getaranges.c (dwarf_getaranges): Sort result array.
479 * dwarf_getarange_addr.c (dwarf_getarange_addr): Use binary search.
480
4812005-06-08 Roland McGrath <roland@redhat.com>
482
483 * memory-access.h (get_uleb128_step, get_uleb128): Remove casts.
484 (get_sleb128_step, get_sleb128): Likewise.
485 * dwarf_getattrs.c (dwarf_getattrs): Add consts.
486 * dwarf_getloclist.c (getloclist): Likewise.
487 * dwarf_formblock.c (dwarf_formblock): Likewise.
488 * dwarf_getsrclines.c (dwarf_getsrclines): Likewise.
489 * dwarf_getabbrevattr.c (dwarf_getabbrevattr): Likewise.
490 * dwarf_formref.c (dwarf_formref): Likewise.
491 * dwarf_formsdata.c (dwarf_formsdata): Likewise.
492 * dwarf_formudata.c (dwarf_formudata): Likewise.
493 * dwarf_haschildren.c (dwarf_haschildren): Likewise.
494 * dwarf_child.c (__libdw_find_attr, __libdw_find_attr): Likewise.
495 * dwarf_tag.c (dwarf_tag): Likewise.
496 * dwarf_getabbrev.c (__libdw_getabbrev): Likewise.
497 * memory-access.c (__libdw_get_uleb128, __libdw_get_sleb128): Likewise.
498 * libdw_form.c (__libdw_form_val_len): Likewise.
499 * libdwP.h: Update decl.
500
5012005-06-04 Roland McGrath <roland@redhat.com>
502
503 * memory-access.h (get_uleb128_rest_return): New macro.
504 [! IS_LIBDW] (__libdw_get_uleb128): New static, defined using it.
505 (get_sleb128_rest_return): New macro.
506 [! IS_LIBDW] (__libdw_get_sleb128): New static, defined using it.
507 * memory-access.c: New file.
508 * Makefile.am (libdw_a_SOURCES): Add it.
509 (DEFS): Add -DIS_LIBDW.
510
5112005-05-31 Roland McGrath <roland@redhat.com>
512
513 * dwarf_formref_die.c (dwarf_formref_die): Add CU header offset to
514 formref offset.
515
5162005-05-30 Roland McGrath <roland@redhat.com>
517
518 * dwarf_getloclist.c (dwarf_addrloclists): Use DW_AT_entry_pc for base
519 address if DW_AT_low_pc is missing. Not to spec, but GCC generates it.
520
521 * dwarf_getloclist.c (dwarf_addrloclists): Don't sign-extend 4-byte
522 BEGIN value. Instead, match base address entries separately for
523 32/64 size cases.
524
5252005-05-28 Roland McGrath <roland@redhat.com>
526
527 * dwarf_getloclist.c (dwarf_addrloclists): Fix decoding to advance
528 past location expression contents.
529
5302005-05-23 Roland McGrath <roland@redhat.com>
531
532 * dwarf_getsrclines.c: Comment typo fix.
533
534 * dwarf_haspc.c (dwarf_haspc): Fix CU DIE address calculation.
535 * dwarf_getloclist.c (dwarf_addrloclists): Likewise.
536
5372005-05-22 Ulrich Drepper <drepper@redhat.com>
538
539 * libdwP.h: Only use INTDECL for alias prototypes.
540
5412005-05-19 Roland McGrath <roland@redhat.com>
542
543 * dwarf_getloclist.c (attr_ok): Permit DW_AT_static_link too.
544
545 * dwarf_getscopevar.c: New file.
546 * Makefile.am (libdw_a_SOURCES): Add it.
547 * libdw.h: Declare dwarf_getscopevar.
548
549 * dwarf_getsrcfiles.c: Add INTDEF.
550 * dwarf_haschildren.c: Likewise.
551 * libdwP.h (dwarf_getsrcfiles, dwarf_haschildren): Add INTDECL.
552
553 * dwarf_getscopes.c: New file.
554 * Makefile.am (libdw_a_SOURCES): Add it.
555 * libdw.h: Declare dwarf_getscopes.
556 * libdw.map: Add it.
557
5582005-05-18 Roland McGrath <roland@redhat.com>
559
560 * libdwP.h (IDX_debug_ranges): New enum constant.
561 * dwarf_begin_elf.c (dwarf_scnnames): Add it for ".debug_ranges".
562 * libdwP.h (DWARF_E_NO_DEBUG_RANGES): New enum constant.
563 * dwarf_error.c (errmsgs): Add it.
564 * dwarf_haspc.c: New file.
565 * libdw.h: Declare dwarf_haspc.
566 * libdw.map: Add it.
567 * libdwP.h: Add INTDECL.
568
569 * dwarf_attr_integrate.c: New file.
570 * dwarf_hasattr_integrate.c: New file.
571 * Makefile.am (libdw_a_SOURCES): Add them.
572 * libdw.h: Declare dwarf_attr_integrate, dwarf_hasattr_integrate.
573 * libdw.map: Add them.
574
575 * dwarf_hasattr.c: Add INTDEF.
576 * libdwP.h: Add INTDECL for it.
577
578 * dwarf_formref_die.c: New file.
579 * Makefile.am (libdw_a_SOURCES): Add it.
580 * libdw.h (dwarf_formref_die): Declare it.
581 * libdwP.h (dwarf_formref_die): Add INTDECL.
582 * libdw.map: Add it.
583
584 * dwarf_getloclist.c (attr_ok, getloclist): New functions, broken out
585 of ...
586 (dwarf_getloclist): ... here. Call them.
587 (dwarf_addrloclists): New function.
588 * libdw.h: Declare it.
589 * libdw.map: Add it.
590
591 * dwarf_getmacros.c (dwarf_getmacros): Don't bail at
592 DW_MACINFO_end_file. Recognize type 0 as terminator.
593
5942005-05-05 Roland McGrath <roland@redhat.com>
595
596 * dwarf_getsrc_die.c (dwarf_getsrc_die): Use binary search.
597
598 * dwarf_getsrclines.c (dwarf_getsrclines): Sort result array, since
599 the line program does not produce all entries in ascending order.
600
6012005-04-25 Ulrich Drepper <drepper@redhat.com>
602
603 * dwarf_getsrc_file.c (dwarf_getsrc_file): Handle multiple
604 occurences (e.g., inlines) better.
605
6062005-04-24 Ulrich Drepper <drepper@redhat.com>
607
608 * libdw.h (DWARF_END_ABBREV): Define.
609 * dwarf_getabbrev.c (__libdw_getabbrev): Return DWARF_END_ABBREV if
610 end is reached.
611 * dwarf_offabbrev.c (dwarf_offabbrev): Return -1 on error, 1 if end
612 of records reached.
613 * dwarf_tag.c (__libdw_findabbrev): Also recognize DWARF_END_ABBREV
614 as error of __libdw_getabbrev.
615
6162005-04-04 Ulrich Drepper <drepper@redhat.com>
617
618 * dwarf_getsrc_file.c (dwarf_getsrc_file): Minor optimization.
619
620 * dwarf_getsrc_file.c (dwarf_getsrc_file): Always pass number of
621 results back to caller.
622
6232005-04-04 Roland McGrath <roland@redhat.com>
624
625 * dwarf_getsrc_file.c (dwarf_getsrc_file): Use size_t for CUHL.
626
627 * dwarf_func_line.c (__libdw_func_intval): Use internal_function in
628 defn.
629
6302005-04-04 Ulrich Drepper <drepper@redhat.com>
631
632 * dwarf_getsrc_file.c (dwarf_getsrc_file): Use INTUSE.
633
634 * dwarf_getsrc_file.c: New file.
635 * Makefile.am (libdw_a_SOURCES): Add dwarf_getsrc_file.c.
636 * libdw.h: Declare dwarf_getsrc_file.
637 * libdw.map: Add dwarf_getsrc_file.
638
6392005-04-02 Ulrich Drepper <drepper@redhat.com>
640
641 * dwarf_func_entrypc.c: New file.
642 * dwarf_func_col.c: New file.
643 * dwarf_func_line.c: New file.
644 * dwarf_func_file.c: New file.
645 * libdw.h: Add prototypes for new functions.
646 * libdw.map: Add dwarf_func_entrypc, dwarf_func_col, dwarf_func_line,
647 dwarf_func_file.
648 * Makefile.am (libdw_a_SOURCES): Add dwarf_func_entrypc.c,
649 dwarf_func_col.c, dwarf_func_line.c, dwarf_func_file.c.
650 * libdwP.h (struct Dwarf_Func_s): Add cudie element.
651 Declare __libdw_func_intval and __dwarf_formsdata_internal.
652 * dwarf_getfuncs.c: Also fill in cudie in Dwarf_Func object.
653 * dwarf_formsdata.c: Use INTUSE and INTDEF to avoid PLTs.
654
655 * dwarf.h: Add some DWARF3 definitions.
656
6572005-04-01 Ulrich Drepper <drepper@redhat.com>
658
659 * dwarf_getfuncs.c: New file.
660 * dwarf_func_highpc.c: New file.
661 * dwarf_func_lowpc.c: New file.
662 * dwarf_func_name.c: New file.
663 * Makefile.am (libdw_a_SOURCES): Add dwarf_getfuncs.c,
664 dwarf_func_highpc.c, dwarf_func_lowpc.c, and dwarf_func_name.c.
665 * libdw.map: Add dwarf_getfuncs, dwarf_func_highpc, dwarf_func_lowpc,
666 and dwarf_func_name.
667 * libdw.h: Add prototypes for new functions.
668 * dwarf_child.c: Use INTUSE and INTDEF to avoid PLTs.
669 * dwarf_siblingof.c: Likewise.
670 * dwarf_dieoffset.c: Likewise.
671 * dwarf_highpc.c: Likewise.
672 * dwarf_lowpc.c: Likewise.
673 * libdwP.h: Add prototypes for internal functions.
674 Define Dwarf_Func_s structure.
675
6762005-03-29 Ulrich Drepper <drepper@redhat.com>
677
678 * libdw.h: Add padding in Dwarf_die.
679
680 * dwarf_arrayorder.c: Use INTUSE and INTDEF to avoid PLTs.
681 * dwarf_attr.c: Likewise.
682 * dwarf_begin.c: Likewise.
683 * dwarf_begin_elf.c: Likewise.
684 * dwarf_bitoffset.c: Likewise.
685 * dwarf_bitsize.c: Likewise.
686 * dwarf_bytesize.c: Likewise.
687 * dwarf_diename.c: Likewise.
688 * dwarf_formaddr.c: Likewise.
689 * dwarf_formblock.c: Likewise.
690 * dwarf_formref.c: Likewise.
691 * dwarf_formstring.c: Likewise.
692 * dwarf_formudata.c: Likewise.
693 * dwarf_getarange_addr.c: Likewise.
694 * dwarf_getarangeinfo.c: Likewise.
695 * dwarf_getaranges.c: Likewise.
696 * dwarf_getloclist.c: Likewise.
697 * dwarf_getmacros.c: Likewise.
698 * dwarf_getsrc_die.c: Likewise.
699 * dwarf_getsrcfiles.c: Likewise.
700 * dwarf_getsrclines.c: Likewise.
701 * dwarf_highpc.c: Likewise.
702 * dwarf_lowpc.c: Likewise.
703 * dwarf_nextcu.c: Likewise.
704 * dwarf_offdie.c: Likewise.
705 * dwarf_siblingof.c: Likewise.
706 * dwarf_srclang.c: Likewise.
707 * dwarf_tag.c: Likewise.
708 * libdw_findcu.c: Likewise.
709 * libdwP.h: Add prototypes for internal functions.
710
711 * dwarf_addrdie.c: New file.
712 * dwarf_macro_opcode.c: New file.
713 * dwarf_macro_param1.c: New file.
714 * dwarf_macro_param2.c: New file.
715 * libdw.h: Add declarations. Move Dwarf_Macro definition to libdwP.h.
716 * libdwP.h: Remove Dwarf_Macro definition.
717 * Makefile.am (libdw_a_SOURCES): Add dwarf_addrdie.c,
718 dwarf_macro_opcode.c, dwarf_macro_param1.c, and dwarf_macro_param2.c.
719 * libdw.map: Add entries for new functions.
720
7212005-03-21 Ulrich Drepper <drepper@redhat.com>
722
723 * libdw.h: Handle broken gcc < 4.
724
7252005-02-15 Ulrich Drepper <drepper@redhat.com>
726
727 * Makefile (AM_CFLAGS): Add -Wunused -Wextra -Wformat=2.
728
729 * dwarf_begin_elf.c: Fix warnings.
730 * dwarf_dieoffset.c: Likewise.
731 * dwarf_end.c: Likewise.
732 * dwarf_error.c: Likewise.
733 * dwarf_getpubnames.c: Likewise.
734
735 * libdwP.h: Add new error values.
736 * dwarf_error.c: Support new error values.
737 * dwarf_getpubnames.c: Check parameter value.
738
7392005-02-05 Ulrich Drepper <drepper@redhat.com>
740
741 * Makefile.am: Check for text relocations in constructed DSO.
742
743 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap.
744
7452005-02-04 Ulrich Drepper <drepper@redhat.com>
746
747 * dwarf_siblingof.c (dwarf_siblingof): Add some buffer boundary
748 checks to not read over buffer boundaries for ill-formed DWARF data.
749
7502004-09-25 Ulrich Drepper <drepper@redhat.com>
751
752 * dwarf_child.c: Make compile with gcc 4.0.
753 * dwarf_error.c: Likewise.
754 * dwarf_formblock.c: Likewise.
755 * dwarf_getabbrev.c: Likewise.
756 * dwarf_getattrs.c: Likewise.
757 * dwarf_getsrclines.c: Likewise.
758 * dwarf_tag.c: Likewise.
759 * libdw_form.c: Likewise.
760
7612004-01-20 Ulrich Drepper <drepper@redhat.com>
762
763 * Makefile.am: Support building with mudflap.
764
765 * dwarf_getloclist.c: Fix warnings gcc 3.4 spits out.
766 * dwarf_getsrclines.c: Likewise.
767 * dwarf_memory-access.h: Likewise.
768
7692004-01-19 Ulrich Drepper <drepper@redhat.com>
770
771 * dwarf_getsrcfiles.c: Third parameter can be NULL.
772
773 * libdw.h: Define Dwarf_macro. Declare dwarf_getmacros.
774 Third parameter of dwarf_getsrcfiles can be NULL.
775
776 * libdw.map: Add dwarf_getmacros.
777 * Makefile.am (libdw_a_SOURCES): Add dwarf_getmacros.
778 * dwarf_getmacros.c: New file.
779
7802004-01-18 Ulrich Drepper <drepper@redhat.com>
781
782 * libdw.h: Second parameter of dwarf_getaranges can be NULL.
783
784 * dwarf_nextcu.c: Return -1 if dwarf parameter is NULL.
785
786 * dwarf_getsrclines.c:
787 Use read_2ubyte_unaligned_inc instead of _inc-less variant.
788
789 * dwarf_getaranges.c: Allow naranges parameter to be NULL.
790
791 * libdwP.h (_): Use elfutils domain.
792
793 * dwarf_getsrclines.c (dwarf_getsrclines): Add more branch prediction.
794
795 * dwarf_getsrclines.c: Fix typo in comment.
796
7972004-01-17 Ulrich Drepper <drepper@redhat.com>
798
799 * Makefile.am: Support building with mudflap.
800
8012004-01-16 Ulrich Drepper <drepper@redhat.com>
802
803 * memory-access.h: Add lots of const in case a pointer passed is const.
804
805 * dwarf_formflag.c: New file.
806 * dwarf_getattrs.c: New file.
807 * dwarf_error.c: Add new error value.
808 * libdw.h: Add prototypes for new functions. Adjust prototype for
809 dwarf_getpubnames.
810 * libdw.map: Add new functions.
811 * dwarf_getpubnames.c: Change type of return value and fourth parameter
812 to ptrdiff_t.
813 * libdwP.h: Add new error value.
814 * Makefile.am (libdw_a_SOURCES): Add dwarf_getattrs.c and
815 dwarf_formflag.c.
816
817 * dwarf_getpubnames.c (dwarf_getpubnames): Just fail if dbg is NULL.
818
8192004-01-12 Ulrich Drepper <drepper@redhat.com>
820
821 * dwarf_getarange_addr.c: New file
822 * dwarf_getarangeinfo.c: New file.
823 * dwarf_getaranges.c: New file.
824 * dwarf_onerange.c: New file.
825 * libdw.h: Declare new functions. Define Dwarf_Arange and
826 Dwarf_Aranges.
827 * libdw.map: Add new functions.
828 * libdwP.h: Add new errors. Add aranges member to struct Dwarf.
829 Define Dwarf_Aranges_s and Dwarf_Arange_s.
830 * Makefile.am (libdw_a_SOURCES): Add dwarf_getaranges.c,
831 dwarf_onearange.c, dwarf_getarangeinfo.c, dwarf_getarange_addr.c.
832 * dwarf_error.c: Add new message.
833
8342004-01-11 Ulrich Drepper <drepper@redhat.com>
835
836 * Makefile.am (libdw_a_SOURCES): Add dwarf_lineaddr.c, dwarf_linecol.c,
837 dwarf_linebeginstatement.c, dwarf_lineendsequence.c, dwarf_lineblock.c,
838 dwarf_lineprologueend.c, dwarf_lineepiloguebegin.c, dwarf_onesrcline.c.
839 * dwarf_error.c: Add another message.
840 * dwarf_getsrc_die.c: Adjust for Dwarf_Files and Dwarf_Lines
841 introduction.
842 * dwarf_filesrc.c: Likewise.
843 * dwarf_getsrcfiles.c: Likewise.
844 * dwarf_getsrclines.c: Likewise.
845 * dwarf_lineaddr.c: New file.
846 * dwarf_linebeginstatement.c: New file.
847 * dwarf_lineblock.c: New file.
848 * dwarf_linecol.c: New file.
849 * dwarf_lineendsequence.c: New file.
850 * dwarf_lineepiloguebegin.c: New file.
851 * dwarf_lineno.c: New file.
852 * dwarf_lineprologueend.c: New file.
853 * dwarf_onesrcline.c: New file.
854 * dwarf_lineno.c: Change interface to store result in object pointed
855 to by second parameter.
856 * libdw.h: Add prototypes for new functions. Change dwarf_lineno
857 prototype. Define Dwarf_Files and Dwarf_Lines.
858 * libdw.map: Add new functions.
859 * libdwP.h: Define Dwarf_Files_s and Dwarf_Lines_s.
860 * libdw_findcu.c: Don't initialize nlines field.
861
862 * dwarf_siblingof: Little optimization.
863
864 * dwarf_begin.c: Remember that the ELF descriptor must be closed.
865 * dwarf_end.c: Close ELF descriptor if free_elf is set.
866 * libdwP.h (struct Dwarf): Add free_elf field.
867
868 * Makefile.am (libdw_a_SOURCES): Add dwarf_getstring.c and
869 dwarf_offabbrev.c.
870 * dwarf_getstring.c: New file.
871 * dwarf_offabbrev.c: New file.
872 * libdw.map: Add dwarf_getstring and dwarf_offabbrev.
873 * dwarf_getabbrev.c (__libdw_getabbrev): Add new dbg and result
874 parameters. Don't allocate memory if not necessary and don't lookup
875 previous results if no CU given.
876 (dwarf_getabbrev): Adjust call to __libdw_getabbrev.
877 * dwarf_tag.c: Adjust call to __libdw_getabbrev.
878 * libdw.h: Declare dwarf_offabbrev and dwarf_getstring.
879 * libdwP.h: Change prototype for __libdw_getabbrev.
880
881 * dwarf_getabbrevattr.c: Add offsetp parameter. Fill in before
882 returning if this is wanted.
883
8842004-01-09 Ulrich Drepper <drepper@redhat.com>
885
886 * dwarf_nextcu.c: Add new parameter offset_sizep. Initialize it
887 with offset_size value.
888 * libdw.h: Adjust dwarf_nextcu prototype.
889 * libdwP.h (struct Dwarf_CU): Add offset_size member.
890 * libdw_findcu.c: Adjust dwarf_nextcu call. Initialize offset_size
891 member of new CU struct.
892 * dwarf_formstring.c: Depend on offset_size not address_size for
893 DW_FORM_strp handling.
894 * dwarf_form.c: Likewise for DW_FORM_strp and DW_FORM_ref_addr.
895
896 * dwarf_tag.c (__libdw_findabbrev): Return correct value for
897 failing lookup.
898 (dwarf_tag): Correctly recognize failed lookup.
899
900 * dwarf_end.c (cu_free): Call tdestroy for locs member. Use new
901 function noop_free.
902 * dwarf_error.c: Add message for DWARF_E_NO_BLOCK.
903 * dwarf_formblock.c: New file.
904 * dwarf_getloclist.c: Rewrite to handle a single block.
905 * libdw.h: Define Dwarf_Block. Rename Dwarf_Loc members. Remove
906 Dwarf_Locdesc definition. Declare dwarf_formblock. Remove
907 dwarf_getloclistent declaration.
908 * libdw.map: Add dwarf_formblock, remove dwarf_getloclistent.
909 * libdwP.h: Define struct loc_s and DWARF_E_NO_BLOCK.
910 Add locs member to struct Dwarf_CU.
911 * libdw_fundcu.c: Initialize locs member of new CU.
912 * Makefile.am (libdw_a_SOURCES): Add dwarf_formblock.c.
913 Remove dwarf_getloclistent.c.
914
9152004-01-07 Ulrich Drepper <drepper@redhat.com>
916
917 * libdw.h: Use __nonnull__ attribute only for gcc >= 3.3.
918 * libdwP.h: Likewise.
919
920 * dwarf_getloclist.c: New file.
921 * dwarf_getloclistent.c: New file.
922 * libdw.h: Define Dwarf_Loc and Dwarf_Locdesc.
923 Declare dwarf_getloclistent and dwarf_getloclist.
924 * libdw.map: Add dwarf_getloclistent and dwarf_getloclist.
925 * libdwP.h: Define DWARF_E_NO_LOCLIST.
926 * Makefile.am (libdw_a_SOURCES): Add dwarf_getloclistent.c and
927 dwarf_getloclist.c.
928
929 * dwarf_error.c: More error messages.
930
9312004-01-06 Ulrich Drepper <drepper@redhat.com>
932
933 * dwarf_getsrclines.c: Remove debugging support.
934
935 * dwarf_getsrcfiles.c: New file.
936 * dwarf_filesrc.c: New file.
937 * libdw.h: Declare these functions. Define Dwarf_File.
938 * libdwP.c: Adjust Dwarf_File_s definition.
939 * libdw.map: Add these functions.
940 * Makefile.am (libdw_a_SOURCES): Add dwarf_getsrcfiles.c and
941 dwarf_filesrc.c.
942 * dwarf_getsrclines.c: Initialize cu->files.
943
9442004-01-05 Ulrich Drepper <drepper@redhat.com>
945
946 * libdw.h: Add more nonnull function attributes.
947
948 * dwarf_begin_elf.c (dwarf_begin_elf): Don't initialize mem_tail->next.
949 * dwarf_end.c (cu_free): New function.
950 (dwarf_end): Also free CU tree. Correct freeing of memory blocks.
951 * dwarf_error.c (errmsgs): Add new messages.
952 * dwarf_getsrc_die.c: New file.
953 * dwarf_getsrclines.c: New file.
954 * dwarf_lineno.c: New file.
955 * dwarf_linesrc.c: New file.
956 * dwarf_nextcu.c (dwarf_nextcu): Use read_*byte_unaligned_inc
957 instead of the *_inc-less variants.
958 * libdw.h: Define Dwarf_Line. Add some function attributes. Declare
959 dwarf_getsrclines, dwarf_getsrc_die, dwarf_lineno, and dwarf_linesrc.
960 * libdw.map: Add dwarf_getsrclines, dwarf_getsrc_die, dwarf_lineno,
961 and dwarf_linesrc.
962 * libdwP.h: Add more error codes.
963 (struct Dwarf): Remove mem_tail.next member.
964 (Dwarf_File): Define type.
965 (struct Dwarf_Line_s): Define type.
966 (struct Dwarf_CU): Add lines and nlines members.
967 (libdw_alloc): Define local variable _tail and use it.
968 Add some function attributes.
969 * libdw_alloc.c (__libdw_allocate): Don't initialize next member.
970 * libdw_findcu.c (__libdw_findcu): Initialize lines and nlines members.
971 * memory-access.h: Add unlikely for the endian conversion paths.
972 * Makefile.am (AM_CFLAGS): Add -std parameter.
973 (libdw_a_SOURCES): Add dwarf_getsrclines, dwarf_getsrc_die,
974 dwarf_lineno, and dwarf_linesrc.
975
9762003-08-11 Ulrich Drepper <drepper@redhat.com>
977
978 * Moved to CVS archive.