]> git.ipfire.org Git - thirdparty/gcc.git/blame - libbacktrace/ChangeLog
re PR gcov-profile/81080 (target libgcov not built with large file support)
[thirdparty/gcc.git] / libbacktrace / ChangeLog
CommitLineData
d1609a23
ILT
12017-06-11 Ian Lance Taylor <iant@golang.org>
2
3 * elf.c (backtrace_initialize): Always set *fileline_fn.
4 * ttest.c: New file.
5 * btest.c: Move support functions into testlib.c. Change calls to
6 check to pass file name.
7 * testlib.c: New file, copied from (part of) btest.c.
8 * testlib.h: New file, declarations for testlib.c.
9 * edtest.c: Use testlib.h and testlib.c.
10 * configure.ac: Test for -pthread, set HAVE_PTHREAD conditional.
11 * Makefile.am (btest_SOURCES): Add testlib.c.
12 (edtest_SOURCES): Likewise.
13 (CHECK_PROGRAMS): Add ttest if HAVE_PTHREAD.
14 (ttest_SOURCES, ttest_CFLAGS, ttest_LDADD): Define.
15 * configure, Makefile.in: Rebuild.
16
281161d1
TM
172017-05-19 Than McIntosh <thanm@google.com>
18
19 * dwarf.c (free_line_header): Don't free dirs if dirs_count == 0.
20 (read_line_header): Don't allocate dirs if dirs_count == 0.
21 * edtest.c: New file.
22 * edtest2.c: New file.
23 * Makefile.am (edtest_SOURCES, edtest_LDADD): Define.
24 (check_PROGRAMS): Add edtest.
25 (edtest2_build.c, gen_edtest2_build): New targets.
26 * Makefile.in: Rebuild.
27
121eb024
ST
282017-03-08 Sam Thursfield <sam.thursfield@codethink.co.uk>
29
30 * btest.c (test5): Replace #ifdef guard with 'unused' attribute
31 to fix compile warning when BACKTRACE_SUPPORTED isn't defined.
32
cbe34bb5
JJ
332017-01-01 Jakub Jelinek <jakub@redhat.com>
34
35 Update copyright years.
36
84c1b9d3
MK
372016-11-15 Matthias Klose <doko@ubuntu.com>
38
39 * configure: Regenerate.
40
84ebf639
CL
412016-09-11 Carlos Liam <carlos@aarzee.me>
42
43 * all: Remove meaningless trailing whitespace.
44
28644f75
UB
452016-05-18 Uros Bizjak <ubizjak@gmail.com>
46
47 PR target/71161
48 * elf.c (phdr_callback) [__i386__]: Add
49 __attribute__((__force_align_arg_pointer__)).
50
26ac52db
MO
512016-03-02 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
52
53 * elf.c (backtrace_initialize): Properly initialize elf_fileline_fn to
54 avoid possible crash.
55 (elf_add): Don't set *fileline_fn to elf_nodebug value in case of
56 missing debug info anymore.
57
09b08e17
JDA
582016-02-06 John David Anglin <danglin@gcc.gnu.org>
59
60 * mmap.c (MAP_FAILED): Define if not defined.
61
818ab71a
JJ
622016-01-04 Jakub Jelinek <jakub@redhat.com>
63
64 Update copyright years.
65
5b4bbc7d
AP
662015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
67
28644f75
UB
68 * configure.ac: Specify that DJGPP do not have mmap
69 even when sys/mman.h exists.
5b4bbc7d
AP
70 * configure: Regenerate
71
2f401a8f
JDA
722015-12-09 John David Anglin <danglin@gcc.gnu.org>
73
28644f75 74 PR libgfortran/68115
2f401a8f
JDA
75 * configure.ac: Set libbacktrace_cv_sys_sync to no on hppa*-*-hpux*.
76 * configure: Regenerate.
77 * elf.c (backtrace_initialize): Cast __sync_bool_compare_and_swap call
78 to void.
79
750cdaf7
ILT
802015-09-17 Ian Lance Taylor <iant@google.com>
81
82 * posix.c (backtrace_open): Cast second argument of open() to int.
83
fc002444
ILT
842015-09-11 Ian Lance Taylor <iant@google.com>
85
86 * Makefile.am (backtrace.lo): Depend on internal.h.
87 (sort.lo, stest.lo): Add explicit dependencies.
88 * Makefile.in: Rebuild.
89
50809ff9
HPN
902015-09-09 Hans-Peter Nilsson <hp@axis.com>
91
92 * backtrace.c: #include <sys/types.h>.
93
c478516b
ILT
942015-09-08 Ian Lance Taylor <iant@google.com>
95
96 PR other/67457
97 * backtrace.c: #include "internal.h".
98 (struct backtrace_data): Add can_alloc field.
99 (unwind): If can_alloc is false, don't try to get file/line
100 information.
101 (backtrace_full): Set can_alloc field in bdata.
102 * alloc.c (backtrace_alloc): Don't call error_callback if it is
103 NULL.
104 * mmap.c (backtrace_alloc): Likewise.
105 * internal.h: Update comments for backtrace_alloc and
106 backtrace_free.
107
981d281f
ILT
1082015-09-08 Ian Lance Taylor <iant@google.com>
109
110 PR other/67457
111 * mmap.c (backtrace_alloc): Correct test for mmap failure.
112
8f5027bf
UW
1132015-08-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
114
115 * configure.ac: For spu-*-* targets, set have_fcntl to no.
116 * configure: Regenerate.
117
7e5c7547
UW
1182015-08-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
119
120 * configure.ac: Remove [disable-shared] argument to LT_INIT.
121 Remove setting PIC_FLAG when building as target library.
122 * configure: Regenerate.
123
7ce9cf39
HPN
1242015-08-26 Hans-Peter Nilsson <hp@axis.com>
125
126 * configure.ac: Only compile with -fPIC if the target
127 supports it.
128 * configure: Regenerate.
129
1b533361
UW
1302015-08-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
131
132 * configure.ac: Set have_mmap to no on spu-*-* targets.
133 * configure: Regenerate.
134
d96fa208
ILT
1352015-08-13 Ian Lance Taylor <iant@google.com>
136
137 * dwarf.c (read_function_entry): Add vec_inlined parameter.
138 Change all callers.
139
d99a7b4d
MS
1402015-06-11 Martin Sebor <msebor@redhat.com>
141
142 PR sanitizer/65479
143 * dwarf.c (struct line): Add new field idx.
144 (line_compare): Use it.
145 (add_line): Set it.
146 (read_line_info): Reset it.
147
e24afc10
TG
1482015-05-29 Tristan Gingold <gingold@adacore.com>
149
150 * pecoff.c: New file.
151 * Makefile.am (FORMAT_FILES): Add pecoff.c and dependencies.
152 * Makefile.in: Regenerate.
153 * filetype.awk: Detect pecoff.
154 * configure.ac: Define BACKTRACE_SUPPORTS_DATA on elf platforms.
155 Add pecoff.
156 * btest.c (test5): Test enabled only if BACKTRACE_SUPPORTS_DATA is
157 true.
158 * backtrace-supported.h.in (BACKTRACE_SUPPORTS_DATA): Define.
159 * configure: Regenerate.
160 * pecoff.c: New file.
161
df96c0f7
MH
1622015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
163
164 * Makefile.in: Regenerated with automake-1.11.6.
165 * aclocal.m4: Likewise.
166 * configure: Likewise.
167
2b8fa469
MK
1682015-01-24 Matthias Klose <doko@ubuntu.com>
169
170 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
171 * configure: Regenerate.
172
5624e564
JJ
1732015-01-05 Jakub Jelinek <jakub@redhat.com>
174
175 Update copyright years.
176
a699d672
L
1772014-11-21 H.J. Lu <hongjiu.lu@intel.com>
178
179 PR bootstrap/63784
180 * configure: Regenerated.
181
35485da9
DM
1822014-11-11 David Malcolm <dmalcolm@redhat.com>
183
184 * ChangeLog.jit: New.
185
ebf6d33b
FXC
1862014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
187
188 PR target/63610
189 * configure: Regenerate.
190
c96601d2
ILT
1912014-10-23 Ian Lance Taylor <iant@google.com>
192
193 * internal.h (backtrace_atomic_load_pointer) [no atomic or sync]:
194 Fix to return void *.
195
d573fd89
ILT
1962014-05-08 Ian Lance Taylor <iant@google.com>
197
198 * mmap.c (backtrace_free): If freeing a large aligned block of
199 memory, call munmap rather than holding onto it.
200 (backtrace_vector_grow): When growing a vector, double the number
201 of pages requested. When releasing the old version of a grown
202 vector, pass the correct size to backtrace_free.
203
dbe20842
ILT
2042014-03-07 Ian Lance Taylor <iant@google.com>
205
206 * sort.c (backtrace_qsort): Use middle element as pivot.
207
c5604b48
ILT
2082014-03-06 Ian Lance Taylor <iant@google.com>
209
210 * sort.c: New file.
211 * stest.c: New file.
212 * internal.h (backtrace_qsort): Declare.
213 * dwarf.c (read_abbrevs): Call backtrace_qsort instead of qsort.
214 (read_line_info, read_function_entry): Likewise.
215 (read_function_info, build_dwarf_data): Likewise.
216 * elf.c (elf_initialize_syminfo): Likewise.
217 * Makefile.am (libbacktrace_la_SOURCES): Add sort.c.
218 (stest_SOURCES, stest_LDADD): Define.
219 (check_PROGRAMS): Add stest.
220
63fefb4b
MDM
2212014-02-07 Misty De Meo <misty@brew.sh>
222
223 PR target/58710
224 * configure.ac: Use AC_LINK_IFELSE in check for
225 _Unwind_GetIPInfo.
226 * configure: Regenerate.
227
afeba5cb
RS
2282014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
229
230 Update copyright years
231
0284b52e
JJ
2322013-12-06 Jakub Jelinek <jakub@redhat.com>
233
234 * elf.c (ET_DYN): Undefine and define again.
235 (elf_add): Add exe argument, if true and ehdr.e_type is ET_DYN,
236 return early -1 without closing the descriptor.
237 (struct phdr_data): Add exe_descriptor.
238 (phdr_callback): If pd->exe_descriptor is not -1, for very first
239 call if dlpi_name is NULL just call elf_add with the exe_descriptor,
240 otherwise backtrace_close the exe_descriptor if not -1. Adjust
241 call to elf_add.
242 (backtrace_initialize): Adjust call to elf_add. If it returns
243 -1, set pd.exe_descriptor to descriptor, otherwise set it to -1.
244
bfd74f22
ILT
2452013-12-05 Ian Lance Taylor <iant@google.com>
246
247 * alloc.c (backtrace_vector_finish): Add error_callback and data
248 parameters. Call backtrace_vector_release. Return address base.
249 * mmap.c (backtrace_vector_finish): Add error_callback and data
250 parameters. Return address base.
251 * dwarf.c (read_function_info): Get new address base from
252 backtrace_vector_finish.
253 * internal.h (backtrace_vector_finish): Update declaration.
254
b8ddd61b
ILT
2552013-11-27 Ian Lance Taylor <iant@google.com>
256
257 * dwarf.c (find_address_ranges): New static function, broken out
258 of build_address_map.
259 (build_address_map): Call it.
260 * btest.c (check): Check for missing filename or function, rather
261 than crashing.
262 (f3): Check that enough frames were returned.
263
64856e1e
JJ
2642013-11-19 Jakub Jelinek <jakub@redhat.com>
265
1f96a712
JJ
266 * backtrace.h (backtrace_syminfo_callback): Add symsize argument.
267 * elf.c (elf_syminfo): Pass 0 or sym->size to the callback as
268 last argument.
269 * btest.c (struct symdata): Add size field.
270 (callback_three): Add symsize argument. Copy it to the data->size
271 field.
272 (f23): Set symdata.size to 0.
273 (test5): Likewise. If sizeof (int) > 1, lookup address of
274 ((uintptr_t) &global) + 1. Verify symdata.val and symdata.size
275 values.
276
64856e1e
JJ
277 * atomic.c: Include sys/types.h.
278
49579c7e
ILT
2792013-11-18 Ian Lance Taylor <iant@google.com>
280
281 * configure.ac: Check for support of __atomic extensions.
282 * internal.h: Declare or #define atomic functions for use in
283 backtrace code.
284 * atomic.c: New file.
285 * dwarf.c (dwarf_lookup_pc): Use atomic functions.
286 (dwarf_fileline, backtrace_dwarf_add): Likewise.
287 * elf.c (elf_add_syminfo_data, elf_syminfo): Likewise.
288 (backtrace_initialize): Likewise.
289 * fileline.c (fileline_initialize): Likewise.
290 * Makefile.am (libbacktrace_la_SOURCES): Add atomic.c.
291 * configure, config.h.in, Makefile.in: Rebuild.
292
582f5a2d
JJ
2932013-11-18 Jakub Jelinek <jakub@redhat.com>
294
f1857815
JJ
295 * elf.c (SHN_UNDEF): Define.
296 (elf_initialize_syminfo): Add base_address argument. Ignore symbols
297 with st_shndx == SHN_UNDEF. Add base_address to address fields.
298 (elf_add): Adjust caller.
299
582f5a2d
JJ
300 * elf.c (phdr_callback): Process info->dlpi_addr == 0 normally.
301
25e6253e
ILT
3022013-11-16 Ian Lance Taylor <iant@google.com>
303
304 * backtrace.h (backtrace_create_state): Correct comment about
305 threading.
306
cfa658e4
ILT
3072013-11-15 Ian Lance Taylor <iant@google.com>
308
309 * backtrace.h (backtrace_syminfo): Update comment and parameter
310 name to take any address, not just a PC value.
311 * elf.c (STT_OBJECT): Define.
312 (elf_nosyms): Rename parameter pc to addr.
313 (elf_symbol_search): Rename local variable pc to addr.
314 (elf_initialize_syminfo): Add STT_OBJECT symbols to elf_symbols.
315 (elf_syminfo): Rename parameter pc to addr.
316 * btest.c (global): New global variable.
317 (test5): New test.
318 (main): Call test5.
319
6c084a5b
ILT
3202013-10-17 Ian Lance Taylor <iant@google.com>
321
322 * elf.c (elf_add): Don't get the wrong offsets if a debug section
323 is missing.
324
459260ec
DM
3252013-10-15 David Malcolm <dmalcolm@redhat.com>
326
327 * configure.ac: Add --enable-host-shared, setting up
328 pre-existing PIC_FLAG variable within Makefile.am et al.
329 * configure: Regenerate.
330
3cbe17f7
AM
3312013-09-20 Alan Modra <amodra@gmail.com>
332
333 * configure: Regenerate.
334
78625ce6
AM
3352013-07-23 Alexander Monakov <amonakov@ispras.ru>
336
337 * elf.c (elf_syminfo): Loop over the elf_syminfo_data chain.
338
0153887c
AM
3392013-07-23 Alexander Monakov <amonakov@ispras.ru>
340
341 * elf.c (backtrace_initialize): Pass elf_fileline_fn to
342 dl_iterate_phdr callbacks.
343
85d8c21e
ILT
3442013-03-25 Ian Lance Taylor <iant@google.com>
345
346 * alloc.c: #include <sys/types.h>.
347 * mmap.c: Likewise.
348
38811401
ILT
3492013-01-31 Ian Lance Taylor <iant@google.com>
350
351 * dwarf.c (read_function_info): Permit fvec parameter to be NULL.
352 (dwarf_lookup_pc): Don't use ddata->fvec if threaded.
353
1e678aed
JJ
3542013-01-25 Jakub Jelinek <jakub@redhat.com>
355
356 PR other/56076
357 * dwarf.c (read_line_header): Don't crash if DW_AT_comp_dir
358 attribute was not seen.
359
6b514c53
ILT
3602013-01-16 Ian Lance Taylor <iant@google.com>
361
362 * dwarf.c (struct unit): Add filename and abs_filename fields.
363 (build_address_map): Set new fields when reading unit.
364 (dwarf_lookup_pc): If we don't find an entry in the line table,
365 just return the main file name.
366
f8a7e1a4
RS
3672013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
368
369 Update copyright years.
370
c3de1960
ILT
3712013-01-01 Ian Lance Taylor <iant@google.com>
372
373 PR bootstrap/54834
374 * Makefile.am (AM_CPPFLAGS): Remove -I ../gcc/include and -I
375 $(MULTIBUILDTOP)/../../gcc/include.
376 * Makefile.in: Rebuild.
377
2a5195d9
ILT
3782013-01-01 Ian Lance Taylor <iant@google.com>
379
380 PR other/55536
381 * mmap.c (backtrace_alloc): Don't call sync functions if not
382 threaded.
383 (backtrace_free): Likewise.
384
85619b6f
JDA
3852012-12-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
386
387 * mmapio.c: Define MAP_FAILED if not defined.
388
36a58fb3
JJ
3892012-12-11 Jakub Jelinek <jakub@redhat.com>
390
391 PR bootstrap/54926
392 * Makefile.am (AM_CFLAGS): Remove -frandom-seed=$@.
393 * configure.ac: If --with-target-subdir, add -frandom-seed=$@
394 to EXTRA_FLAGS unconditionally, otherwise check whether the compiler
395 accepts it.
396 * Makefile.in: Regenerated.
397 * configure: Regenerated.
398
a58dfde0
JJ
3992012-12-07 Jakub Jelinek <jakub@redhat.com>
400
401 PR bootstrap/54926
402 * Makefile.am (AM_CFLAGS): Add -frandom-seed=$@.
403 * Makefile.in: Regenerated.
404
b20ade36
ILT
4052012-11-20 Ian Lance Taylor <iant@google.com>
406
407 * dwarf.c (read_attribute): Always clear val.
408
73c3ed27
ILT
4092012-11-13 Ian Lance Taylor <iant@google.com>
410
411 PR other/55312
412 * configure.ac: Only add -Werror if building a target library.
2a5195d9 413 * configure: Rebuild.
73c3ed27 414
33521509
ILT
4152012-11-12 Ian Lance Taylor <iant@google.com>
416 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
417 Gerald Pfeifer <gerald@pfeifer.com>
418
419 * configure.ac: Check for getexecname.
420 * fileline.c: #include <errno.h>. Define getexecname if not
421 available.
422 (fileline_initialize): Try to find the executable in a few
423 different ways.
424 * print.c (error_callback): Only print the filename if it came
425 from the backtrace state.
426 * configure, config.h.in: Rebuild.
427
8fe91dea
ILT
4282012-10-29 Ian Lance Taylor <iant@google.com>
429
430 * mmap.c (backtrace_vector_release): Correct last patch: add
431 aligned, not size.
432
8277de34
ILT
4332012-10-29 Ian Lance Taylor <iant@google.com>
434
435 * mmap.c (backtrace_vector_release): Make sure freed block is
436 aligned on 8-byte boundary.
437
73f41491
ILT
4382012-10-26 Ian Lance Taylor <iant@google.com>
439
440 PR other/55087
441 * posix.c (backtrace_open): Add does_not_exist parameter.
442 * elf.c (phdr_callback): Do not warn if shared library could not
443 be opened.
444 * fileline.c (fileline_initialize): Update calls to
445 backtrace_open.
446 * internal.h (backtrace_open): Update declaration.
447
385710cf
JH
4482012-10-26 Jack Howarth <howarth@bromo.med.uc.edu>
449
450 PR target/55061
451 * configure.ac: Check for _Unwind_GetIPInfo function declaration.
452 * configure: Regenerate.
453
32061319
ILT
4542012-10-24 Ian Lance Taylor <iant@google.com>
455
456 PR target/55061
457 * configure.ac: Check whether -funwind-tables option works.
458 * configure: Rebuild.
459
5551b12c
ILT
4602012-10-11 Ian Lance Taylor <iant@google.com>
461
462 * configure.ac: Do not use dl_iterate_phdr on Solaris 10.
463 * configure: Rebuild.
464
40d15b5b
ILT
4652012-10-10 Ian Lance Taylor <iant@google.com>
466
467 * elf.c: Rename all Elf typedefs to start with b_elf, and be all
468 lower case.
469
74f80620
HPN
4702012-10-10 Hans-Peter Nilsson <hp@bitrange.com>
471
472 * elf.c (elf_add_syminfo_data): Add casts to avoid warning.
473
ce8aa074
ILT
4742012-10-09 Ian Lance Taylor <iant@google.com>
475
476 * dwarf.c (dwarf_fileline): Add cast to avoid warning.
477 (backtrace_dwarf_add): Likewise.
478
e561a992
ILT
4792012-10-09 Ian Lance Taylor <iant@google.com>
480
481 Add support for tracing through shared libraries.
482 * configure.ac: Check for link.h and dl_iterate_phdr.
483 * elf.c: #include <link.h> if system has dl_iterate_phdr. #undef
484 ELF macros before #defining them.
485 (dl_phdr_info, dl_iterate_phdr): Define if system does not have
486 dl_iterate_phdr.
487 (struct elf_syminfo_data): Add next field.
488 (elf_initialize_syminfo): Initialize next field.
489 (elf_add_syminfo_data): New static function.
490 (elf_add): New static function, broken out of
491 backtrace_initialize. Call backtrace_dwarf_add instead of
492 backtrace_dwarf_initialize.
493 (struct phdr_data): Define.
494 (phdr_callback): New static function.
495 (backtrace_initialize): Call elf_add.
496 * dwarf.c (struct dwarf_data): Add next and base_address fields.
497 (add_unit_addr): Add base_address parameter. Change all callers.
498 (add_unit_ranges, build_address_map): Likewise.
499 (add_line): Add ddata parameter. Change all callers.
500 (read_line_program, add_function_range): Likewise.
501 (dwarf_lookup_pc): New static function, broken out of
502 dwarf_fileline.
503 (dwarf_fileline): Call dwarf_lookup_pc.
504 (build_dwarf_data): New static function.
505 (backtrace_dwarf_add): New function.
506 (backtrace_dwarf_initialize): Remove.
507 * internal.h (backtrace_dwarf_initialize): Don't declare.
508 (backtrace_dwarf_add): Declare.
509 * configure, config.h.in: Rebuild.
510
068ef6d1
GP
5112012-10-04 Gerald Pfeifer <gerald@pfeifer.com>
512
513 * btest.c (f23): Avoid uninitialized variable warning.
e561a992 514
244e2d9c
ILT
5152012-10-04 Ian Lance Taylor <iant@google.com>
516
517 * dwarf.c: If the system header files do not declare strnlen,
518 provide our own version.
519
be4ba8ae
ILT
5202012-10-03 Ian Lance Taylor <iant@google.com>
521
522 * dwarf.c (read_uleb128): Fix overflow test.
523 (read_sleb128): Likewise.
524 (build_address_map): Don't change unit_buf.start.
525
56195009
UB
5262012-10-02 Uros Bizjak <ubizjak@gmail.com>
527
faf86a02
UB
528 PR other/54761
529 * configure.ac (EXTRA_FLAGS): New.
56195009 530 * Makefile.am (AM_FLAGS): Add $(EXTRA_FLAGS).
faf86a02 531 * configure, Makefile.in: Regenerate.
56195009 532
8a447b3d
ILT
5332012-09-29 Ian Lance Taylor <iant@google.com>
534
535 PR other/54749
536 * fileline.c (fileline_initialize): Pass errnum as -1 when
537 reporting that we could not read executable information after a
538 previous failure.
539
af710874
ILT
5402012-09-27 Ian Lance Taylor <iant@google.com>
541
542 PR bootstrap/54732
543 * configure.ac: Add no-dependencies to AM_INIT_AUTOMAKE.
544 * Makefile.am: Add dependencies for all objects.
545 * configure, aclocal.m4, Makefile.in: Rebuild.
546
588f4f8f
ILT
5472012-09-27 Ian Lance Taylor <iant@google.com>
548
549 PR other/54726
550 * elf.c (backtrace_initialize): Set *fileln_fn, not
551 state->fileln_fn.
552
64b89453
ILT
5532012-09-19 Ian Lance Taylor <iant@google.com>
554
555 * configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled
556 as a target library.
557 * configure: Rebuild.
558
76850556
RO
5592012-09-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
560 Ian Lance Taylor <iant@google.com>
561
562 * configure.ac (GCC_HEADER_STDINT): Invoke.
563 * backtrace.h: If we can't find <stdint.h>, use "gstdint.h".
564 * btest.c: Don't include <stdint.h>.
565 * dwarf.c: Likewise.
566 * configure, aclocal.m4, Makefile.in, config.h.in: Rebuild.
567
9425c00b
ILT
5682012-09-18 Ian Lance Taylor <iant@google.com>
569
570 PR bootstrap/54623
571 * Makefile.am (AM_CPPFLAGS): Define.
572 (AM_CFLAGS): Remove -I options.
573 * Makefile.in: Rebuild.
574
3319ef17
ILT
5752012-09-18 Ian Lance Taylor <iant@google.com>
576
577 * posix.c (O_BINARY): Define if not defined.
578 (backtrace_open): Pass O_BINARY to open. Only call fcntl if
579 HAVE_FCNTL is defined.
580 * configure.ac: Test for the fcntl function.
581 * configure, config.h.in: Rebuild.
582
bd3e497d
ILT
5832012-09-18 Ian Lance Taylor <iant@google.com>
584
585 * btest.c (test1, test2, test3, test4): Add the unused attribute.
586
30e15876
ILT
5872012-09-18 Ian Lance Taylor <iant@google.com>
588
589 * dwarf.c: Correct test of HAVE_DECL_STRNLEN.
590
d4c059d5
ILT
5912012-09-18 Ian Lance Taylor <iant@google.com>
592
593 * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
594 * mmapio.c: Don't define _GNU_SOURCE.
595 * configure, config.h.in: Rebuild.
596
772a71a9
ILT
5972012-09-18 Ian Lance Taylor <iant@google.com>
598
599 * configure.ac: Check whether strnlen is declared.
600 * dwarf.c: Declare strnlen if not declared.
601 * configure, config.h.in: Rebuild.
602
c0558468
RO
6032012-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
604
605 * fileline.c: Include <stdlib.h>.
606 * mmap.c: Likewise.
607
c5812e0b
ILT
6082012-09-17 Ian Lance Taylor <iant@google.com>
609
610 PR bootstrap/54611
611 * nounwind.c (backtrace_full): Rename from backtrace. Add state
612 parameter.
613
e8f4008a
GP
6142012-09-17 Gerald Pfeifer <gerald@pfeifer.com>
615
616 PR bootstrap/54611
617 * nounwind.c (backtrace_simple): Add state parameter.
618
f588eb27
ILT
6192012-09-17 Ian Lance Taylor <iant@google.com>
620
621 PR bootstrap/54609
622 * unknown.c (unknown_fileline): Add state parameter, remove
623 fileline_data parameter, name error_callback parameter.
624 (backtrace_initialize): Add state parameter.
625
eff02e4f
ILT
6262012-09-17 Ian Lance Taylor <iant@google.com>
627
628 * Initial implementation.
818ab71a 629\f
cbe34bb5 630Copyright (C) 2012-2017 Free Software Foundation, Inc.
818ab71a
JJ
631
632Copying and distribution of this file, with or without modification,
633are permitted in any medium without royalty provided the copyright
634notice and this notice are preserved.