[gcc/testsuite]
[official-gcc.git] / libbacktrace / ChangeLog
blobf3b74860df114244040d31b76456ee799360c4a8
1 2017-09-12  Steve Ellcey  <sellcey@cavium.com>
3         PR other/81096
4         * Makefile.am (ttest_CFLAGS): Add $(AM_CFLAGS)
5         * Makefile.in: Regenerate.
7 2017-09-12  Steve Ellcey  <sellcey@cavium.com>
9         PR other/81096
10         * libbacktrace/Makefile.in
11         (HAVE_PTHREAD_TRUE@@NATIVE_TRUE@ttest_CFLAGS): Add $(AM_CFLAGS)
13 2017-08-02  David Edelsohn  <dje.gcc@gmail.com>
15         PR bootstrap/81638
16         * xcoff.c (xcoff_process_linenos): Initialize incl to NULL.
18 2017-07-28  Tony Reix  <tony.reix@atos.net>
20         * xcoff.c: Don't leak a file descriptor if an archive is malformed.
22 2017-07-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
24         * fileline.c (fileline_initialize): Print pid_t as long.
26 2017-07-26  Tony Reix  <tony.reix@atos.net>
28         * configure.ac: Check for XCOFF32/XCOFF64.  Check for loadquery.
29         * filetype.awk: Separate AIX XCOFF32 and XCOFF64.
30         * xcoff.c: Add support for AIX XCOFF32 and XCOFF64 formats.
31         * configure, config.h.in: Regenerate.
33 2017-07-21  Tony Reix  <tony.reix@atos.net>
35         * filetype.awk: Add AIX XCOFF type detection.
36         * configure.ac: Recognize xcoff format.
37         * Makefile.am (FORMAT_FILES): Add xcoff.c.
38         * fileline.c: Include <unistd.h>.
39         (fileline_initialize): Add case for AIX procfs.
40         * xcoff.c: New file.
41         * configure, Makefile.in: Rebuild.
43 2017-06-21  Richard Biener  <rguenther@suse.de>
45         * configure.ac: Add AC_SYS_LARGEFILE.
46         * config.h.in: Regenerate.
47         * configure: Likewise.
49 2017-06-11  Ian Lance Taylor  <iant@golang.org>
51         * elf.c (backtrace_initialize): Always set *fileline_fn.
52         * ttest.c: New file.
53         * btest.c: Move support functions into testlib.c.  Change calls to
54         check to pass file name.
55         * testlib.c: New file, copied from (part of) btest.c.
56         * testlib.h: New file, declarations for testlib.c.
57         * edtest.c: Use testlib.h and testlib.c.
58         * configure.ac: Test for -pthread, set HAVE_PTHREAD conditional.
59         * Makefile.am (btest_SOURCES): Add testlib.c.
60         (edtest_SOURCES): Likewise.
61         (CHECK_PROGRAMS): Add ttest if HAVE_PTHREAD.
62         (ttest_SOURCES, ttest_CFLAGS, ttest_LDADD): Define.
63         * configure, Makefile.in: Rebuild.
65 2017-05-19  Than McIntosh  <thanm@google.com>
67         * dwarf.c (free_line_header): Don't free dirs if dirs_count == 0.
68         (read_line_header): Don't allocate dirs if dirs_count == 0.
69         * edtest.c: New file.
70         * edtest2.c: New file.
71         * Makefile.am (edtest_SOURCES, edtest_LDADD): Define.
72         (check_PROGRAMS): Add edtest.
73         (edtest2_build.c, gen_edtest2_build): New targets.
74         * Makefile.in: Rebuild.
76 2017-03-08  Sam Thursfield  <sam.thursfield@codethink.co.uk>
78         * btest.c (test5): Replace #ifdef guard with 'unused' attribute
79         to fix compile warning when BACKTRACE_SUPPORTED isn't defined.
81 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
83         Update copyright years.
85 2016-11-15  Matthias Klose  <doko@ubuntu.com>
87         * configure: Regenerate.
89 2016-09-11  Carlos Liam  <carlos@aarzee.me>
91         * all: Remove meaningless trailing whitespace.
93 2016-05-18  Uros Bizjak  <ubizjak@gmail.com>
95         PR target/71161
96         * elf.c (phdr_callback) [__i386__]: Add
97         __attribute__((__force_align_arg_pointer__)).
99 2016-03-02  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
101         * elf.c (backtrace_initialize): Properly initialize elf_fileline_fn to
102         avoid possible crash.
103         (elf_add): Don't set *fileline_fn to elf_nodebug value in case of
104         missing debug info anymore.
106 2016-02-06  John David Anglin  <danglin@gcc.gnu.org>
108         * mmap.c (MAP_FAILED): Define if not defined.
110 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
112         Update copyright years.
114 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
116         * configure.ac: Specify that DJGPP do not have mmap
117         even when sys/mman.h exists.
118         * configure: Regenerate
120 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
122         PR libgfortran/68115
123         * configure.ac: Set libbacktrace_cv_sys_sync to no on hppa*-*-hpux*.
124         * configure: Regenerate.
125         * elf.c (backtrace_initialize): Cast __sync_bool_compare_and_swap call
126         to void.
128 2015-09-17  Ian Lance Taylor  <iant@google.com>
130         * posix.c (backtrace_open): Cast second argument of open() to int.
132 2015-09-11  Ian Lance Taylor  <iant@google.com>
134         * Makefile.am (backtrace.lo): Depend on internal.h.
135         (sort.lo, stest.lo): Add explicit dependencies.
136         * Makefile.in: Rebuild.
138 2015-09-09  Hans-Peter Nilsson  <hp@axis.com>
140         * backtrace.c: #include <sys/types.h>.
142 2015-09-08  Ian Lance Taylor  <iant@google.com>
144         PR other/67457
145         * backtrace.c: #include "internal.h".
146         (struct backtrace_data): Add can_alloc field.
147         (unwind): If can_alloc is false, don't try to get file/line
148         information.
149         (backtrace_full): Set can_alloc field in bdata.
150         * alloc.c (backtrace_alloc): Don't call error_callback if it is
151         NULL.
152         * mmap.c (backtrace_alloc): Likewise.
153         * internal.h: Update comments for backtrace_alloc and
154         backtrace_free.
156 2015-09-08  Ian Lance Taylor  <iant@google.com>
158         PR other/67457
159         * mmap.c (backtrace_alloc): Correct test for mmap failure.
161 2015-08-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
163         * configure.ac: For spu-*-* targets, set have_fcntl to no.
164         * configure: Regenerate.
166 2015-08-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
168         * configure.ac: Remove [disable-shared] argument to LT_INIT.
169         Remove setting PIC_FLAG when building as target library.
170         * configure: Regenerate.
172 2015-08-26  Hans-Peter Nilsson  <hp@axis.com>
174         * configure.ac: Only compile with -fPIC if the target
175         supports it.
176         * configure: Regenerate.
178 2015-08-24  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
180         * configure.ac: Set have_mmap to no on spu-*-* targets.
181         * configure: Regenerate.
183 2015-08-13  Ian Lance Taylor  <iant@google.com>
185         * dwarf.c (read_function_entry): Add vec_inlined parameter.
186         Change all callers.
188 2015-06-11  Martin Sebor  <msebor@redhat.com>
190         PR sanitizer/65479
191         * dwarf.c (struct line): Add new field idx.
192         (line_compare): Use it.
193         (add_line): Set it.
194         (read_line_info): Reset it.
196 2015-05-29  Tristan Gingold  <gingold@adacore.com>
198         * pecoff.c: New file.
199         * Makefile.am (FORMAT_FILES): Add pecoff.c and dependencies.
200         * Makefile.in: Regenerate.
201         * filetype.awk: Detect pecoff.
202         * configure.ac: Define BACKTRACE_SUPPORTS_DATA on elf platforms.
203         Add pecoff.
204         * btest.c (test5): Test enabled only if BACKTRACE_SUPPORTS_DATA is
205         true.
206         * backtrace-supported.h.in (BACKTRACE_SUPPORTS_DATA): Define.
207         * configure: Regenerate.
208         * pecoff.c: New file.
210 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
212         * Makefile.in: Regenerated with automake-1.11.6.
213         * aclocal.m4: Likewise.
214         * configure: Likewise.
216 2015-01-24  Matthias Klose  <doko@ubuntu.com>
218         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
219         * configure: Regenerate.
221 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
223         Update copyright years.
225 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
227         PR bootstrap/63784
228         * configure: Regenerated.
230 2014-11-11  David Malcolm  <dmalcolm@redhat.com>
232         * ChangeLog.jit: New.
234 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
236         PR target/63610
237         * configure: Regenerate.
239 2014-10-23  Ian Lance Taylor  <iant@google.com>
241         * internal.h (backtrace_atomic_load_pointer) [no atomic or sync]:
242         Fix to return void *.
244 2014-05-08  Ian Lance Taylor  <iant@google.com>
246         * mmap.c (backtrace_free): If freeing a large aligned block of
247         memory, call munmap rather than holding onto it.
248         (backtrace_vector_grow): When growing a vector, double the number
249         of pages requested.  When releasing the old version of a grown
250         vector, pass the correct size to backtrace_free.
252 2014-03-07  Ian Lance Taylor  <iant@google.com>
254         * sort.c (backtrace_qsort): Use middle element as pivot.
256 2014-03-06  Ian Lance Taylor  <iant@google.com>
258         * sort.c: New file.
259         * stest.c: New file.
260         * internal.h (backtrace_qsort): Declare.
261         * dwarf.c (read_abbrevs): Call backtrace_qsort instead of qsort.
262         (read_line_info, read_function_entry): Likewise.
263         (read_function_info, build_dwarf_data): Likewise.
264         * elf.c (elf_initialize_syminfo): Likewise.
265         * Makefile.am (libbacktrace_la_SOURCES): Add sort.c.
266         (stest_SOURCES, stest_LDADD): Define.
267         (check_PROGRAMS): Add stest.
269 2014-02-07  Misty De Meo  <misty@brew.sh>
271         PR target/58710
272         * configure.ac: Use AC_LINK_IFELSE in check for
273         _Unwind_GetIPInfo.
274         * configure: Regenerate.
276 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
278         Update copyright years
280 2013-12-06  Jakub Jelinek  <jakub@redhat.com>
282         * elf.c (ET_DYN): Undefine and define again.
283         (elf_add): Add exe argument, if true and ehdr.e_type is ET_DYN,
284         return early -1 without closing the descriptor.
285         (struct phdr_data): Add exe_descriptor.
286         (phdr_callback): If pd->exe_descriptor is not -1, for very first
287         call if dlpi_name is NULL just call elf_add with the exe_descriptor,
288         otherwise backtrace_close the exe_descriptor if not -1.  Adjust
289         call to elf_add.
290         (backtrace_initialize): Adjust call to elf_add.  If it returns
291         -1, set pd.exe_descriptor to descriptor, otherwise set it to -1.
293 2013-12-05  Ian Lance Taylor  <iant@google.com>
295         * alloc.c (backtrace_vector_finish): Add error_callback and data
296         parameters.  Call backtrace_vector_release.  Return address base.
297         * mmap.c (backtrace_vector_finish): Add error_callback and data
298         parameters.  Return address base.
299         * dwarf.c (read_function_info): Get new address base from
300         backtrace_vector_finish.
301         * internal.h (backtrace_vector_finish): Update declaration.
303 2013-11-27  Ian Lance Taylor  <iant@google.com>
305         * dwarf.c (find_address_ranges): New static function, broken out
306         of build_address_map.
307         (build_address_map): Call it.
308         * btest.c (check): Check for missing filename or function, rather
309         than crashing.
310         (f3): Check that enough frames were returned.
312 2013-11-19  Jakub Jelinek  <jakub@redhat.com>
314         * backtrace.h (backtrace_syminfo_callback): Add symsize argument.
315         * elf.c (elf_syminfo): Pass 0 or sym->size to the callback as
316         last argument.
317         * btest.c (struct symdata): Add size field.
318         (callback_three): Add symsize argument.  Copy it to the data->size
319         field.
320         (f23): Set symdata.size to 0.
321         (test5): Likewise.  If sizeof (int) > 1, lookup address of
322         ((uintptr_t) &global) + 1.  Verify symdata.val and symdata.size
323         values.
325         * atomic.c: Include sys/types.h.
327 2013-11-18  Ian Lance Taylor  <iant@google.com>
329         * configure.ac: Check for support of __atomic extensions.
330         * internal.h: Declare or #define atomic functions for use in
331         backtrace code.
332         * atomic.c: New file.
333         * dwarf.c (dwarf_lookup_pc): Use atomic functions.
334         (dwarf_fileline, backtrace_dwarf_add): Likewise.
335         * elf.c (elf_add_syminfo_data, elf_syminfo): Likewise.
336         (backtrace_initialize): Likewise.
337         * fileline.c (fileline_initialize): Likewise.
338         * Makefile.am (libbacktrace_la_SOURCES): Add atomic.c.
339         * configure, config.h.in, Makefile.in: Rebuild.
341 2013-11-18  Jakub Jelinek  <jakub@redhat.com>
343         * elf.c (SHN_UNDEF): Define.
344         (elf_initialize_syminfo): Add base_address argument.  Ignore symbols
345         with st_shndx == SHN_UNDEF.  Add base_address to address fields.
346         (elf_add): Adjust caller.
348         * elf.c (phdr_callback): Process info->dlpi_addr == 0 normally.
350 2013-11-16  Ian Lance Taylor  <iant@google.com>
352         * backtrace.h (backtrace_create_state): Correct comment about
353         threading.
355 2013-11-15  Ian Lance Taylor  <iant@google.com>
357         * backtrace.h (backtrace_syminfo): Update comment and parameter
358         name to take any address, not just a PC value.
359         * elf.c (STT_OBJECT): Define.
360         (elf_nosyms): Rename parameter pc to addr.
361         (elf_symbol_search): Rename local variable pc to addr.
362         (elf_initialize_syminfo): Add STT_OBJECT symbols to elf_symbols.
363         (elf_syminfo): Rename parameter pc to addr.
364         * btest.c (global): New global variable.
365         (test5): New test.
366         (main): Call test5.
368 2013-10-17  Ian Lance Taylor  <iant@google.com>
370         * elf.c (elf_add): Don't get the wrong offsets if a debug section
371         is missing.
373 2013-10-15  David Malcolm  <dmalcolm@redhat.com>
375         * configure.ac: Add --enable-host-shared, setting up
376         pre-existing PIC_FLAG variable within Makefile.am et al.
377         * configure: Regenerate.
379 2013-09-20  Alan Modra  <amodra@gmail.com>
381         * configure: Regenerate.
383 2013-07-23  Alexander Monakov  <amonakov@ispras.ru>
385         * elf.c (elf_syminfo): Loop over the elf_syminfo_data chain.
387 2013-07-23  Alexander Monakov  <amonakov@ispras.ru>
389         * elf.c (backtrace_initialize): Pass elf_fileline_fn to
390         dl_iterate_phdr callbacks.
392 2013-03-25  Ian Lance Taylor  <iant@google.com>
394         * alloc.c: #include <sys/types.h>.
395         * mmap.c: Likewise.
397 2013-01-31  Ian Lance Taylor  <iant@google.com>
399         * dwarf.c (read_function_info): Permit fvec parameter to be NULL.
400         (dwarf_lookup_pc): Don't use ddata->fvec if threaded.
402 2013-01-25  Jakub Jelinek  <jakub@redhat.com>
404         PR other/56076
405         * dwarf.c (read_line_header): Don't crash if DW_AT_comp_dir
406         attribute was not seen.
408 2013-01-16  Ian Lance Taylor  <iant@google.com>
410         * dwarf.c (struct unit): Add filename and abs_filename fields.
411         (build_address_map): Set new fields when reading unit.
412         (dwarf_lookup_pc): If we don't find an entry in the line table,
413         just return the main file name.
415 2013-01-14  Richard Sandiford  <rdsandiford@googlemail.com>
417         Update copyright years.
419 2013-01-01  Ian Lance Taylor  <iant@google.com>
421         PR bootstrap/54834
422         * Makefile.am (AM_CPPFLAGS): Remove -I ../gcc/include and -I
423         $(MULTIBUILDTOP)/../../gcc/include.
424         * Makefile.in: Rebuild.
426 2013-01-01  Ian Lance Taylor  <iant@google.com>
428         PR other/55536
429         * mmap.c (backtrace_alloc): Don't call sync functions if not
430         threaded.
431         (backtrace_free): Likewise.
433 2012-12-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
435         * mmapio.c: Define MAP_FAILED if not defined.
437 2012-12-11  Jakub Jelinek  <jakub@redhat.com>
439         PR bootstrap/54926
440         * Makefile.am (AM_CFLAGS): Remove -frandom-seed=$@.
441         * configure.ac: If --with-target-subdir, add -frandom-seed=$@
442         to EXTRA_FLAGS unconditionally, otherwise check whether the compiler
443         accepts it.
444         * Makefile.in: Regenerated.
445         * configure: Regenerated.
447 2012-12-07  Jakub Jelinek  <jakub@redhat.com>
449         PR bootstrap/54926
450         * Makefile.am (AM_CFLAGS): Add -frandom-seed=$@.
451         * Makefile.in: Regenerated.
453 2012-11-20  Ian Lance Taylor  <iant@google.com>
455         * dwarf.c (read_attribute): Always clear val.
457 2012-11-13  Ian Lance Taylor  <iant@google.com>
459         PR other/55312
460         * configure.ac: Only add -Werror if building a target library.
461         * configure: Rebuild.
463 2012-11-12  Ian Lance Taylor  <iant@google.com>
464             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
465             Gerald Pfeifer  <gerald@pfeifer.com>
467         * configure.ac: Check for getexecname.
468         * fileline.c: #include <errno.h>.  Define getexecname if not
469         available.
470         (fileline_initialize): Try to find the executable in a few
471         different ways.
472         * print.c (error_callback): Only print the filename if it came
473         from the backtrace state.
474         * configure, config.h.in: Rebuild.
476 2012-10-29  Ian Lance Taylor  <iant@google.com>
478         * mmap.c (backtrace_vector_release): Correct last patch: add
479         aligned, not size.
481 2012-10-29  Ian Lance Taylor  <iant@google.com>
483         * mmap.c (backtrace_vector_release): Make sure freed block is
484         aligned on 8-byte boundary.
486 2012-10-26  Ian Lance Taylor  <iant@google.com>
488         PR other/55087
489         * posix.c (backtrace_open): Add does_not_exist parameter.
490         * elf.c (phdr_callback): Do not warn if shared library could not
491         be opened.
492         * fileline.c (fileline_initialize): Update calls to
493         backtrace_open.
494         * internal.h (backtrace_open): Update declaration.
496 2012-10-26  Jack Howarth  <howarth@bromo.med.uc.edu>
498         PR target/55061
499         * configure.ac: Check for _Unwind_GetIPInfo function declaration.
500         * configure: Regenerate.
502 2012-10-24  Ian Lance Taylor  <iant@google.com>
504         PR target/55061
505         * configure.ac: Check whether -funwind-tables option works.
506         * configure: Rebuild.
508 2012-10-11  Ian Lance Taylor  <iant@google.com>
510         * configure.ac: Do not use dl_iterate_phdr on Solaris 10.
511         * configure: Rebuild.
513 2012-10-10  Ian Lance Taylor  <iant@google.com>
515         * elf.c: Rename all Elf typedefs to start with b_elf, and be all
516         lower case.
518 2012-10-10  Hans-Peter Nilsson  <hp@bitrange.com>
520         * elf.c (elf_add_syminfo_data): Add casts to avoid warning.
522 2012-10-09  Ian Lance Taylor  <iant@google.com>
524         * dwarf.c (dwarf_fileline): Add cast to avoid warning.
525         (backtrace_dwarf_add): Likewise.
527 2012-10-09  Ian Lance Taylor  <iant@google.com>
529         Add support for tracing through shared libraries.
530         * configure.ac: Check for link.h and dl_iterate_phdr.
531         * elf.c: #include <link.h> if system has dl_iterate_phdr.  #undef
532         ELF macros before #defining them.
533         (dl_phdr_info, dl_iterate_phdr): Define if system does not have
534         dl_iterate_phdr.
535         (struct elf_syminfo_data): Add next field.
536         (elf_initialize_syminfo): Initialize next field.
537         (elf_add_syminfo_data): New static function.
538         (elf_add): New static function, broken out of
539         backtrace_initialize.  Call backtrace_dwarf_add instead of
540         backtrace_dwarf_initialize.
541         (struct phdr_data): Define.
542         (phdr_callback): New static function.
543         (backtrace_initialize): Call elf_add.
544         * dwarf.c (struct dwarf_data): Add next and base_address fields.
545         (add_unit_addr): Add base_address parameter.  Change all callers.
546         (add_unit_ranges, build_address_map): Likewise.
547         (add_line): Add ddata parameter.  Change all callers.
548         (read_line_program, add_function_range): Likewise.
549         (dwarf_lookup_pc): New static function, broken out of
550         dwarf_fileline.
551         (dwarf_fileline): Call dwarf_lookup_pc.
552         (build_dwarf_data): New static function.
553         (backtrace_dwarf_add): New function.
554         (backtrace_dwarf_initialize): Remove.
555         * internal.h (backtrace_dwarf_initialize): Don't declare.
556         (backtrace_dwarf_add): Declare.
557         * configure, config.h.in: Rebuild.
559 2012-10-04  Gerald Pfeifer  <gerald@pfeifer.com>
561         * btest.c (f23): Avoid uninitialized variable warning.
563 2012-10-04  Ian Lance Taylor  <iant@google.com>
565         * dwarf.c: If the system header files do not declare strnlen,
566         provide our own version.
568 2012-10-03  Ian Lance Taylor  <iant@google.com>
570         * dwarf.c (read_uleb128): Fix overflow test.
571         (read_sleb128): Likewise.
572         (build_address_map): Don't change unit_buf.start.
574 2012-10-02  Uros Bizjak  <ubizjak@gmail.com>
576         PR other/54761
577         * configure.ac (EXTRA_FLAGS): New.
578         * Makefile.am (AM_FLAGS): Add $(EXTRA_FLAGS).
579         * configure, Makefile.in: Regenerate.
581 2012-09-29  Ian Lance Taylor  <iant@google.com>
583         PR other/54749
584         * fileline.c (fileline_initialize): Pass errnum as -1 when
585         reporting that we could not read executable information after a
586         previous failure.
588 2012-09-27  Ian Lance Taylor  <iant@google.com>
590         PR bootstrap/54732
591         * configure.ac: Add no-dependencies to AM_INIT_AUTOMAKE.
592         * Makefile.am: Add dependencies for all objects.
593         * configure, aclocal.m4, Makefile.in: Rebuild.
595 2012-09-27  Ian Lance Taylor  <iant@google.com>
597         PR other/54726
598         * elf.c (backtrace_initialize): Set *fileln_fn, not
599         state->fileln_fn.
601 2012-09-19  Ian Lance Taylor  <iant@google.com>
603         * configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled
604         as a target library.
605         * configure: Rebuild.
607 2012-09-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
608             Ian Lance Taylor  <iant@google.com>
610         * configure.ac (GCC_HEADER_STDINT): Invoke.
611         * backtrace.h: If we can't find <stdint.h>, use "gstdint.h".
612         * btest.c: Don't include <stdint.h>.
613         * dwarf.c: Likewise.
614         * configure, aclocal.m4, Makefile.in, config.h.in: Rebuild.
616 2012-09-18  Ian Lance Taylor  <iant@google.com>
618         PR bootstrap/54623
619         * Makefile.am (AM_CPPFLAGS): Define.
620         (AM_CFLAGS): Remove -I options.
621         * Makefile.in: Rebuild.
623 2012-09-18  Ian Lance Taylor  <iant@google.com>
625         * posix.c (O_BINARY): Define if not defined.
626         (backtrace_open): Pass O_BINARY to open.  Only call fcntl if
627         HAVE_FCNTL is defined.
628         * configure.ac: Test for the fcntl function.
629         * configure, config.h.in: Rebuild.
631 2012-09-18  Ian Lance Taylor  <iant@google.com>
633         * btest.c (test1, test2, test3, test4): Add the unused attribute.
635 2012-09-18  Ian Lance Taylor  <iant@google.com>
637         * dwarf.c: Correct test of HAVE_DECL_STRNLEN.
639 2012-09-18  Ian Lance Taylor  <iant@google.com>
641         * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
642         * mmapio.c: Don't define _GNU_SOURCE.
643         * configure, config.h.in: Rebuild.
645 2012-09-18  Ian Lance Taylor  <iant@google.com>
647         * configure.ac: Check whether strnlen is declared.
648         * dwarf.c: Declare strnlen if not declared.
649         * configure, config.h.in: Rebuild.
651 2012-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
653         * fileline.c: Include <stdlib.h>.
654         * mmap.c: Likewise.
656 2012-09-17  Ian Lance Taylor  <iant@google.com>
658         PR bootstrap/54611
659         * nounwind.c (backtrace_full): Rename from backtrace.  Add state
660         parameter.
662 2012-09-17  Gerald Pfeifer  <gerald@pfeifer.com>
664         PR bootstrap/54611
665         * nounwind.c (backtrace_simple): Add state parameter.
667 2012-09-17  Ian Lance Taylor  <iant@google.com>
669         PR bootstrap/54609
670         * unknown.c (unknown_fileline): Add state parameter, remove
671         fileline_data parameter, name error_callback parameter.
672         (backtrace_initialize): Add state parameter.
674 2012-09-17  Ian Lance Taylor  <iant@google.com>
676         * Initial implementation.
678 Copyright (C) 2012-2017 Free Software Foundation, Inc.
680 Copying and distribution of this file, with or without modification,
681 are permitted in any medium without royalty provided the copyright
682 notice and this notice are preserved.