blob: e83094e62dcc07e123dbcc7e370c2d1e991a5610 [file] [log] [blame]
Roland McGrath366784a2005-07-28 06:20:53 +000012005-07-27 Roland McGrath <roland@redhat.com>
2
Roland McGrath18385902005-07-28 07:12:38 +00003 * ptest.c: Moved to ../tests/dwflmodtest.c.
4
5 * Makefile.am (libdw.so): Link ../libdwfl/libdwfl_pic.a in,
6 along with ../libebl/libebl.a and ../lib/libeu.a;
7 depend on ../libelf/libelf.so.
8 (libdw_so_LDADD): New variable.
9 * libdw.map: Add dwfl_* symbols formerly in ../libdwfl/libdwfl.map.
10
Roland McGrath366784a2005-07-28 06:20:53 +000011 * libdw.map: Define an empty base version and move all symbols to
12 version ELFUTILS_0.111; don't define ELFUTILS_1.0 at all yet.
13
Ulrich Drepperb08d5a82005-07-26 05:00:05 +0000142005-07-23 Ulrich Drepper <drepper@redhat.com>
15
16 * dwarf_error.c: Add internal alias for dwarf_errno.
17 * libdwP.h: Declare __dwarf_errno_internal.
18 * dwarf_getloclist.c: Use INTDEF for dwarf_errno.
19
20 * dwarf_error.c [USE_TLS]: Actually use __thread in definition of
21 global_error.
22
232005-06-01 Roland McGrath <roland@redhat.com>
24
25 * dwarf_getaranges.c (dwarf_getaranges): Sort result array.
26 * dwarf_getarange_addr.c (dwarf_getarange_addr): Use binary search.
27
282005-06-08 Roland McGrath <roland@redhat.com>
29
30 * memory-access.h (get_uleb128_step, get_uleb128): Remove casts.
31 (get_sleb128_step, get_sleb128): Likewise.
32 * dwarf_getattrs.c (dwarf_getattrs): Add consts.
33 * dwarf_getloclist.c (getloclist): Likewise.
34 * dwarf_formblock.c (dwarf_formblock): Likewise.
35 * dwarf_getsrclines.c (dwarf_getsrclines): Likewise.
36 * dwarf_getabbrevattr.c (dwarf_getabbrevattr): Likewise.
37 * dwarf_formref.c (dwarf_formref): Likewise.
38 * dwarf_formsdata.c (dwarf_formsdata): Likewise.
39 * dwarf_formudata.c (dwarf_formudata): Likewise.
40 * dwarf_haschildren.c (dwarf_haschildren): Likewise.
41 * dwarf_child.c (__libdw_find_attr, __libdw_find_attr): Likewise.
42 * dwarf_tag.c (dwarf_tag): Likewise.
43 * dwarf_getabbrev.c (__libdw_getabbrev): Likewise.
44 * memory-access.c (__libdw_get_uleb128, __libdw_get_sleb128): Likewise.
45 * libdw_form.c (__libdw_form_val_len): Likewise.
46 * libdwP.h: Update decl.
47
482005-06-04 Roland McGrath <roland@redhat.com>
49
50 * memory-access.h (get_uleb128_rest_return): New macro.
51 [! IS_LIBDW] (__libdw_get_uleb128): New static, defined using it.
52 (get_sleb128_rest_return): New macro.
53 [! IS_LIBDW] (__libdw_get_sleb128): New static, defined using it.
54 * memory-access.c: New file.
55 * Makefile.am (libdw_a_SOURCES): Add it.
56 (DEFS): Add -DIS_LIBDW.
57
582005-05-31 Roland McGrath <roland@redhat.com>
59
60 * dwarf_formref_die.c (dwarf_formref_die): Add CU header offset to
61 formref offset.
62
632005-05-30 Roland McGrath <roland@redhat.com>
64
65 * dwarf_getloclist.c (dwarf_addrloclists): Use DW_AT_entry_pc for base
66 address if DW_AT_low_pc is missing. Not to spec, but GCC generates it.
67
68 * dwarf_getloclist.c (dwarf_addrloclists): Don't sign-extend 4-byte
69 BEGIN value. Instead, match base address entries separately for
70 32/64 size cases.
71
722005-05-28 Roland McGrath <roland@redhat.com>
73
74 * dwarf_getloclist.c (dwarf_addrloclists): Fix decoding to advance
75 past location expression contents.
76
772005-05-23 Roland McGrath <roland@redhat.com>
78
79 * dwarf_getsrclines.c: Comment typo fix.
80
81 * dwarf_haspc.c (dwarf_haspc): Fix CU DIE address calculation.
82 * dwarf_getloclist.c (dwarf_addrloclists): Likewise.
83
842005-05-22 Ulrich Drepper <drepper@redhat.com>
85
86 * libdwP.h: Only use INTDECL for alias prototypes.
87
882005-05-19 Roland McGrath <roland@redhat.com>
89
90 * dwarf_getloclist.c (attr_ok): Permit DW_AT_static_link too.
91
92 * dwarf_getscopevar.c: New file.
93 * Makefile.am (libdw_a_SOURCES): Add it.
94 * libdw.h: Declare dwarf_getscopevar.
95
96 * dwarf_getsrcfiles.c: Add INTDEF.
97 * dwarf_haschildren.c: Likewise.
98 * libdwP.h (dwarf_getsrcfiles, dwarf_haschildren): Add INTDECL.
99
100 * dwarf_getscopes.c: New file.
101 * Makefile.am (libdw_a_SOURCES): Add it.
102 * libdw.h: Declare dwarf_getscopes.
103 * libdw.map: Add it.
104
1052005-05-18 Roland McGrath <roland@redhat.com>
106
107 * libdwP.h (IDX_debug_ranges): New enum constant.
108 * dwarf_begin_elf.c (dwarf_scnnames): Add it for ".debug_ranges".
109 * libdwP.h (DWARF_E_NO_DEBUG_RANGES): New enum constant.
110 * dwarf_error.c (errmsgs): Add it.
111 * dwarf_haspc.c: New file.
112 * libdw.h: Declare dwarf_haspc.
113 * libdw.map: Add it.
114 * libdwP.h: Add INTDECL.
115
116 * dwarf_attr_integrate.c: New file.
117 * dwarf_hasattr_integrate.c: New file.
118 * Makefile.am (libdw_a_SOURCES): Add them.
119 * libdw.h: Declare dwarf_attr_integrate, dwarf_hasattr_integrate.
120 * libdw.map: Add them.
121
122 * dwarf_hasattr.c: Add INTDEF.
123 * libdwP.h: Add INTDECL for it.
124
125 * dwarf_formref_die.c: New file.
126 * Makefile.am (libdw_a_SOURCES): Add it.
127 * libdw.h (dwarf_formref_die): Declare it.
128 * libdwP.h (dwarf_formref_die): Add INTDECL.
129 * libdw.map: Add it.
130
131 * dwarf_getloclist.c (attr_ok, getloclist): New functions, broken out
132 of ...
133 (dwarf_getloclist): ... here. Call them.
134 (dwarf_addrloclists): New function.
135 * libdw.h: Declare it.
136 * libdw.map: Add it.
137
138 * dwarf_getmacros.c (dwarf_getmacros): Don't bail at
139 DW_MACINFO_end_file. Recognize type 0 as terminator.
140
1412005-05-05 Roland McGrath <roland@redhat.com>
142
143 * dwarf_getsrc_die.c (dwarf_getsrc_die): Use binary search.
144
145 * dwarf_getsrclines.c (dwarf_getsrclines): Sort result array, since
146 the line program does not produce all entries in ascending order.
147
1482005-04-25 Ulrich Drepper <drepper@redhat.com>
149
150 * dwarf_getsrc_file.c (dwarf_getsrc_file): Handle multiple
151 occurences (e.g., inlines) better.
152
1532005-04-24 Ulrich Drepper <drepper@redhat.com>
154
155 * libdw.h (DWARF_END_ABBREV): Define.
156 * dwarf_getabbrev.c (__libdw_getabbrev): Return DWARF_END_ABBREV if
157 end is reached.
158 * dwarf_offabbrev.c (dwarf_offabbrev): Return -1 on error, 1 if end
159 of records reached.
160 * dwarf_tag.c (__libdw_findabbrev): Also recognize DWARF_END_ABBREV
161 as error of __libdw_getabbrev.
162
1632005-04-04 Ulrich Drepper <drepper@redhat.com>
164
165 * dwarf_getsrc_file.c (dwarf_getsrc_file): Minor optimization.
166
167 * dwarf_getsrc_file.c (dwarf_getsrc_file): Always pass number of
168 results back to caller.
169
1702005-04-04 Roland McGrath <roland@redhat.com>
171
172 * dwarf_getsrc_file.c (dwarf_getsrc_file): Use size_t for CUHL.
173
174 * dwarf_func_line.c (__libdw_func_intval): Use internal_function in
175 defn.
176
1772005-04-04 Ulrich Drepper <drepper@redhat.com>
178
179 * dwarf_getsrc_file.c (dwarf_getsrc_file): Use INTUSE.
180
181 * dwarf_getsrc_file.c: New file.
182 * Makefile.am (libdw_a_SOURCES): Add dwarf_getsrc_file.c.
183 * libdw.h: Declare dwarf_getsrc_file.
184 * libdw.map: Add dwarf_getsrc_file.
185
1862005-04-02 Ulrich Drepper <drepper@redhat.com>
187
188 * dwarf_func_entrypc.c: New file.
189 * dwarf_func_col.c: New file.
190 * dwarf_func_line.c: New file.
191 * dwarf_func_file.c: New file.
192 * libdw.h: Add prototypes for new functions.
193 * libdw.map: Add dwarf_func_entrypc, dwarf_func_col, dwarf_func_line,
194 dwarf_func_file.
195 * Makefile.am (libdw_a_SOURCES): Add dwarf_func_entrypc.c,
196 dwarf_func_col.c, dwarf_func_line.c, dwarf_func_file.c.
197 * libdwP.h (struct Dwarf_Func_s): Add cudie element.
198 Declare __libdw_func_intval and __dwarf_formsdata_internal.
199 * dwarf_getfuncs.c: Also fill in cudie in Dwarf_Func object.
200 * dwarf_formsdata.c: Use INTUSE and INTDEF to avoid PLTs.
201
202 * dwarf.h: Add some DWARF3 definitions.
203
2042005-04-01 Ulrich Drepper <drepper@redhat.com>
205
206 * dwarf_getfuncs.c: New file.
207 * dwarf_func_highpc.c: New file.
208 * dwarf_func_lowpc.c: New file.
209 * dwarf_func_name.c: New file.
210 * Makefile.am (libdw_a_SOURCES): Add dwarf_getfuncs.c,
211 dwarf_func_highpc.c, dwarf_func_lowpc.c, and dwarf_func_name.c.
212 * libdw.map: Add dwarf_getfuncs, dwarf_func_highpc, dwarf_func_lowpc,
213 and dwarf_func_name.
214 * libdw.h: Add prototypes for new functions.
215 * dwarf_child.c: Use INTUSE and INTDEF to avoid PLTs.
216 * dwarf_siblingof.c: Likewise.
217 * dwarf_dieoffset.c: Likewise.
218 * dwarf_highpc.c: Likewise.
219 * dwarf_lowpc.c: Likewise.
220 * libdwP.h: Add prototypes for internal functions.
221 Define Dwarf_Func_s structure.
222
2232005-03-29 Ulrich Drepper <drepper@redhat.com>
224
225 * libdw.h: Add padding in Dwarf_die.
226
227 * dwarf_arrayorder.c: Use INTUSE and INTDEF to avoid PLTs.
228 * dwarf_attr.c: Likewise.
229 * dwarf_begin.c: Likewise.
230 * dwarf_begin_elf.c: Likewise.
231 * dwarf_bitoffset.c: Likewise.
232 * dwarf_bitsize.c: Likewise.
233 * dwarf_bytesize.c: Likewise.
234 * dwarf_diename.c: Likewise.
235 * dwarf_formaddr.c: Likewise.
236 * dwarf_formblock.c: Likewise.
237 * dwarf_formref.c: Likewise.
238 * dwarf_formstring.c: Likewise.
239 * dwarf_formudata.c: Likewise.
240 * dwarf_getarange_addr.c: Likewise.
241 * dwarf_getarangeinfo.c: Likewise.
242 * dwarf_getaranges.c: Likewise.
243 * dwarf_getloclist.c: Likewise.
244 * dwarf_getmacros.c: Likewise.
245 * dwarf_getsrc_die.c: Likewise.
246 * dwarf_getsrcfiles.c: Likewise.
247 * dwarf_getsrclines.c: Likewise.
248 * dwarf_highpc.c: Likewise.
249 * dwarf_lowpc.c: Likewise.
250 * dwarf_nextcu.c: Likewise.
251 * dwarf_offdie.c: Likewise.
252 * dwarf_siblingof.c: Likewise.
253 * dwarf_srclang.c: Likewise.
254 * dwarf_tag.c: Likewise.
255 * libdw_findcu.c: Likewise.
256 * libdwP.h: Add prototypes for internal functions.
257
258 * dwarf_addrdie.c: New file.
259 * dwarf_macro_opcode.c: New file.
260 * dwarf_macro_param1.c: New file.
261 * dwarf_macro_param2.c: New file.
262 * libdw.h: Add declarations. Move Dwarf_Macro definition to libdwP.h.
263 * libdwP.h: Remove Dwarf_Macro definition.
264 * Makefile.am (libdw_a_SOURCES): Add dwarf_addrdie.c,
265 dwarf_macro_opcode.c, dwarf_macro_param1.c, and dwarf_macro_param2.c.
266 * libdw.map: Add entries for new functions.
267
2682005-03-21 Ulrich Drepper <drepper@redhat.com>
269
270 * libdw.h: Handle broken gcc < 4.
271
2722005-02-15 Ulrich Drepper <drepper@redhat.com>
273
274 * Makefile (AM_CFLAGS): Add -Wunused -Wextra -Wformat=2.
275
276 * dwarf_begin_elf.c: Fix warnings.
277 * dwarf_dieoffset.c: Likewise.
278 * dwarf_end.c: Likewise.
279 * dwarf_error.c: Likewise.
280 * dwarf_getpubnames.c: Likewise.
281
282 * libdwP.h: Add new error values.
283 * dwarf_error.c: Support new error values.
284 * dwarf_getpubnames.c: Check parameter value.
285
2862005-02-05 Ulrich Drepper <drepper@redhat.com>
287
288 * Makefile.am: Check for text relocations in constructed DSO.
289
290 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap.
291
2922005-02-04 Ulrich Drepper <drepper@redhat.com>
293
294 * dwarf_siblingof.c (dwarf_siblingof): Add some buffer boundary
295 checks to not read over buffer boundaries for ill-formed DWARF data.
296
2972004-09-25 Ulrich Drepper <drepper@redhat.com>
298
299 * dwarf_child.c: Make compile with gcc 4.0.
300 * dwarf_error.c: Likewise.
301 * dwarf_formblock.c: Likewise.
302 * dwarf_getabbrev.c: Likewise.
303 * dwarf_getattrs.c: Likewise.
304 * dwarf_getsrclines.c: Likewise.
305 * dwarf_tag.c: Likewise.
306 * libdw_form.c: Likewise.
307
3082004-01-20 Ulrich Drepper <drepper@redhat.com>
309
310 * Makefile.am: Support building with mudflap.
311
312 * dwarf_getloclist.c: Fix warnings gcc 3.4 spits out.
313 * dwarf_getsrclines.c: Likewise.
314 * dwarf_memory-access.h: Likewise.
315
3162004-01-19 Ulrich Drepper <drepper@redhat.com>
317
318 * dwarf_getsrcfiles.c: Third parameter can be NULL.
319
320 * libdw.h: Define Dwarf_macro. Declare dwarf_getmacros.
321 Third parameter of dwarf_getsrcfiles can be NULL.
322
323 * libdw.map: Add dwarf_getmacros.
324 * Makefile.am (libdw_a_SOURCES): Add dwarf_getmacros.
325 * dwarf_getmacros.c: New file.
326
3272004-01-18 Ulrich Drepper <drepper@redhat.com>
328
329 * libdw.h: Second parameter of dwarf_getaranges can be NULL.
330
331 * dwarf_nextcu.c: Return -1 if dwarf parameter is NULL.
332
333 * dwarf_getsrclines.c:
334 Use read_2ubyte_unaligned_inc instead of _inc-less variant.
335
336 * dwarf_getaranges.c: Allow naranges parameter to be NULL.
337
338 * libdwP.h (_): Use elfutils domain.
339
340 * dwarf_getsrclines.c (dwarf_getsrclines): Add more branch prediction.
341
342 * dwarf_getsrclines.c: Fix typo in comment.
343
3442004-01-17 Ulrich Drepper <drepper@redhat.com>
345
346 * Makefile.am: Support building with mudflap.
347
3482004-01-16 Ulrich Drepper <drepper@redhat.com>
349
350 * memory-access.h: Add lots of const in case a pointer passed is const.
351
352 * dwarf_formflag.c: New file.
353 * dwarf_getattrs.c: New file.
354 * dwarf_error.c: Add new error value.
355 * libdw.h: Add prototypes for new functions. Adjust prototype for
356 dwarf_getpubnames.
357 * libdw.map: Add new functions.
358 * dwarf_getpubnames.c: Change type of return value and fourth parameter
359 to ptrdiff_t.
360 * libdwP.h: Add new error value.
361 * Makefile.am (libdw_a_SOURCES): Add dwarf_getattrs.c and
362 dwarf_formflag.c.
363
364 * dwarf_getpubnames.c (dwarf_getpubnames): Just fail if dbg is NULL.
365
3662004-01-12 Ulrich Drepper <drepper@redhat.com>
367
368 * dwarf_getarange_addr.c: New file
369 * dwarf_getarangeinfo.c: New file.
370 * dwarf_getaranges.c: New file.
371 * dwarf_onerange.c: New file.
372 * libdw.h: Declare new functions. Define Dwarf_Arange and
373 Dwarf_Aranges.
374 * libdw.map: Add new functions.
375 * libdwP.h: Add new errors. Add aranges member to struct Dwarf.
376 Define Dwarf_Aranges_s and Dwarf_Arange_s.
377 * Makefile.am (libdw_a_SOURCES): Add dwarf_getaranges.c,
378 dwarf_onearange.c, dwarf_getarangeinfo.c, dwarf_getarange_addr.c.
379 * dwarf_error.c: Add new message.
380
3812004-01-11 Ulrich Drepper <drepper@redhat.com>
382
383 * Makefile.am (libdw_a_SOURCES): Add dwarf_lineaddr.c, dwarf_linecol.c,
384 dwarf_linebeginstatement.c, dwarf_lineendsequence.c, dwarf_lineblock.c,
385 dwarf_lineprologueend.c, dwarf_lineepiloguebegin.c, dwarf_onesrcline.c.
386 * dwarf_error.c: Add another message.
387 * dwarf_getsrc_die.c: Adjust for Dwarf_Files and Dwarf_Lines
388 introduction.
389 * dwarf_filesrc.c: Likewise.
390 * dwarf_getsrcfiles.c: Likewise.
391 * dwarf_getsrclines.c: Likewise.
392 * dwarf_lineaddr.c: New file.
393 * dwarf_linebeginstatement.c: New file.
394 * dwarf_lineblock.c: New file.
395 * dwarf_linecol.c: New file.
396 * dwarf_lineendsequence.c: New file.
397 * dwarf_lineepiloguebegin.c: New file.
398 * dwarf_lineno.c: New file.
399 * dwarf_lineprologueend.c: New file.
400 * dwarf_onesrcline.c: New file.
401 * dwarf_lineno.c: Change interface to store result in object pointed
402 to by second parameter.
403 * libdw.h: Add prototypes for new functions. Change dwarf_lineno
404 prototype. Define Dwarf_Files and Dwarf_Lines.
405 * libdw.map: Add new functions.
406 * libdwP.h: Define Dwarf_Files_s and Dwarf_Lines_s.
407 * libdw_findcu.c: Don't initialize nlines field.
408
409 * dwarf_siblingof: Little optimization.
410
411 * dwarf_begin.c: Remember that the ELF descriptor must be closed.
412 * dwarf_end.c: Close ELF descriptor if free_elf is set.
413 * libdwP.h (struct Dwarf): Add free_elf field.
414
415 * Makefile.am (libdw_a_SOURCES): Add dwarf_getstring.c and
416 dwarf_offabbrev.c.
417 * dwarf_getstring.c: New file.
418 * dwarf_offabbrev.c: New file.
419 * libdw.map: Add dwarf_getstring and dwarf_offabbrev.
420 * dwarf_getabbrev.c (__libdw_getabbrev): Add new dbg and result
421 parameters. Don't allocate memory if not necessary and don't lookup
422 previous results if no CU given.
423 (dwarf_getabbrev): Adjust call to __libdw_getabbrev.
424 * dwarf_tag.c: Adjust call to __libdw_getabbrev.
425 * libdw.h: Declare dwarf_offabbrev and dwarf_getstring.
426 * libdwP.h: Change prototype for __libdw_getabbrev.
427
428 * dwarf_getabbrevattr.c: Add offsetp parameter. Fill in before
429 returning if this is wanted.
430
4312004-01-09 Ulrich Drepper <drepper@redhat.com>
432
433 * dwarf_nextcu.c: Add new parameter offset_sizep. Initialize it
434 with offset_size value.
435 * libdw.h: Adjust dwarf_nextcu prototype.
436 * libdwP.h (struct Dwarf_CU): Add offset_size member.
437 * libdw_findcu.c: Adjust dwarf_nextcu call. Initialize offset_size
438 member of new CU struct.
439 * dwarf_formstring.c: Depend on offset_size not address_size for
440 DW_FORM_strp handling.
441 * dwarf_form.c: Likewise for DW_FORM_strp and DW_FORM_ref_addr.
442
443 * dwarf_tag.c (__libdw_findabbrev): Return correct value for
444 failing lookup.
445 (dwarf_tag): Correctly recognize failed lookup.
446
447 * dwarf_end.c (cu_free): Call tdestroy for locs member. Use new
448 function noop_free.
449 * dwarf_error.c: Add message for DWARF_E_NO_BLOCK.
450 * dwarf_formblock.c: New file.
451 * dwarf_getloclist.c: Rewrite to handle a single block.
452 * libdw.h: Define Dwarf_Block. Rename Dwarf_Loc members. Remove
453 Dwarf_Locdesc definition. Declare dwarf_formblock. Remove
454 dwarf_getloclistent declaration.
455 * libdw.map: Add dwarf_formblock, remove dwarf_getloclistent.
456 * libdwP.h: Define struct loc_s and DWARF_E_NO_BLOCK.
457 Add locs member to struct Dwarf_CU.
458 * libdw_fundcu.c: Initialize locs member of new CU.
459 * Makefile.am (libdw_a_SOURCES): Add dwarf_formblock.c.
460 Remove dwarf_getloclistent.c.
461
4622004-01-07 Ulrich Drepper <drepper@redhat.com>
463
464 * libdw.h: Use __nonnull__ attribute only for gcc >= 3.3.
465 * libdwP.h: Likewise.
466
467 * dwarf_getloclist.c: New file.
468 * dwarf_getloclistent.c: New file.
469 * libdw.h: Define Dwarf_Loc and Dwarf_Locdesc.
470 Declare dwarf_getloclistent and dwarf_getloclist.
471 * libdw.map: Add dwarf_getloclistent and dwarf_getloclist.
472 * libdwP.h: Define DWARF_E_NO_LOCLIST.
473 * Makefile.am (libdw_a_SOURCES): Add dwarf_getloclistent.c and
474 dwarf_getloclist.c.
475
476 * dwarf_error.c: More error messages.
477
4782004-01-06 Ulrich Drepper <drepper@redhat.com>
479
480 * dwarf_getsrclines.c: Remove debugging support.
481
482 * dwarf_getsrcfiles.c: New file.
483 * dwarf_filesrc.c: New file.
484 * libdw.h: Declare these functions. Define Dwarf_File.
485 * libdwP.c: Adjust Dwarf_File_s definition.
486 * libdw.map: Add these functions.
487 * Makefile.am (libdw_a_SOURCES): Add dwarf_getsrcfiles.c and
488 dwarf_filesrc.c.
489 * dwarf_getsrclines.c: Initialize cu->files.
490
4912004-01-05 Ulrich Drepper <drepper@redhat.com>
492
493 * libdw.h: Add more nonnull function attributes.
494
495 * dwarf_begin_elf.c (dwarf_begin_elf): Don't initialize mem_tail->next.
496 * dwarf_end.c (cu_free): New function.
497 (dwarf_end): Also free CU tree. Correct freeing of memory blocks.
498 * dwarf_error.c (errmsgs): Add new messages.
499 * dwarf_getsrc_die.c: New file.
500 * dwarf_getsrclines.c: New file.
501 * dwarf_lineno.c: New file.
502 * dwarf_linesrc.c: New file.
503 * dwarf_nextcu.c (dwarf_nextcu): Use read_*byte_unaligned_inc
504 instead of the *_inc-less variants.
505 * libdw.h: Define Dwarf_Line. Add some function attributes. Declare
506 dwarf_getsrclines, dwarf_getsrc_die, dwarf_lineno, and dwarf_linesrc.
507 * libdw.map: Add dwarf_getsrclines, dwarf_getsrc_die, dwarf_lineno,
508 and dwarf_linesrc.
509 * libdwP.h: Add more error codes.
510 (struct Dwarf): Remove mem_tail.next member.
511 (Dwarf_File): Define type.
512 (struct Dwarf_Line_s): Define type.
513 (struct Dwarf_CU): Add lines and nlines members.
514 (libdw_alloc): Define local variable _tail and use it.
515 Add some function attributes.
516 * libdw_alloc.c (__libdw_allocate): Don't initialize next member.
517 * libdw_findcu.c (__libdw_findcu): Initialize lines and nlines members.
518 * memory-access.h: Add unlikely for the endian conversion paths.
519 * Makefile.am (AM_CFLAGS): Add -std parameter.
520 (libdw_a_SOURCES): Add dwarf_getsrclines, dwarf_getsrc_die,
521 dwarf_lineno, and dwarf_linesrc.
522
5232003-08-11 Ulrich Drepper <drepper@redhat.com>
524
525 * Moved to CVS archive.