diagnostic-show-locus.c: remove unused field from class colorizer
[official-gcc.git] / libbacktrace / ChangeLog
blob3a2255679c0aabe5e71eb9f6c4b9152b1e791fdf
1 2017-08-02  David Edelsohn  <dje.gcc@gmail.com>
3         PR bootstrap/81638
4         * xcoff.c (xcoff_process_linenos): Initialize incl to NULL.
6 2017-07-28  Tony Reix  <tony.reix@atos.net>
8         * xcoff.c: Don't leak a file descriptor if an archive is malformed.
10 2017-07-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12         * fileline.c (fileline_initialize): Print pid_t as long.
14 2017-07-26  Tony Reix  <tony.reix@atos.net>
16         * configure.ac: Check for XCOFF32/XCOFF64.  Check for loadquery.
17         * filetype.awk: Separate AIX XCOFF32 and XCOFF64.
18         * xcoff.c: Add support for AIX XCOFF32 and XCOFF64 formats.
19         * configure, config.h.in: Regenerate.
21 2017-07-21  Tony Reix  <tony.reix@atos.net>
23         * filetype.awk: Add AIX XCOFF type detection.
24         * configure.ac: Recognize xcoff format.
25         * Makefile.am (FORMAT_FILES): Add xcoff.c.
26         * fileline.c: Include <unistd.h>.
27         (fileline_initialize): Add case for AIX procfs.
28         * xcoff.c: New file.
29         * configure, Makefile.in: Rebuild.
31 2017-06-21  Richard Biener  <rguenther@suse.de>
33         * configure.ac: Add AC_SYS_LARGEFILE.
34         * config.h.in: Regenerate.
35         * configure: Likewise.
37 2017-06-11  Ian Lance Taylor  <iant@golang.org>
39         * elf.c (backtrace_initialize): Always set *fileline_fn.
40         * ttest.c: New file.
41         * btest.c: Move support functions into testlib.c.  Change calls to
42         check to pass file name.
43         * testlib.c: New file, copied from (part of) btest.c.
44         * testlib.h: New file, declarations for testlib.c.
45         * edtest.c: Use testlib.h and testlib.c.
46         * configure.ac: Test for -pthread, set HAVE_PTHREAD conditional.
47         * Makefile.am (btest_SOURCES): Add testlib.c.
48         (edtest_SOURCES): Likewise.
49         (CHECK_PROGRAMS): Add ttest if HAVE_PTHREAD.
50         (ttest_SOURCES, ttest_CFLAGS, ttest_LDADD): Define.
51         * configure, Makefile.in: Rebuild.
53 2017-05-19  Than McIntosh  <thanm@google.com>
55         * dwarf.c (free_line_header): Don't free dirs if dirs_count == 0.
56         (read_line_header): Don't allocate dirs if dirs_count == 0.
57         * edtest.c: New file.
58         * edtest2.c: New file.
59         * Makefile.am (edtest_SOURCES, edtest_LDADD): Define.
60         (check_PROGRAMS): Add edtest.
61         (edtest2_build.c, gen_edtest2_build): New targets.
62         * Makefile.in: Rebuild.
64 2017-03-08  Sam Thursfield  <sam.thursfield@codethink.co.uk>
66         * btest.c (test5): Replace #ifdef guard with 'unused' attribute
67         to fix compile warning when BACKTRACE_SUPPORTED isn't defined.
69 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
71         Update copyright years.
73 2016-11-15  Matthias Klose  <doko@ubuntu.com>
75         * configure: Regenerate.
77 2016-09-11  Carlos Liam  <carlos@aarzee.me>
79         * all: Remove meaningless trailing whitespace.
81 2016-05-18  Uros Bizjak  <ubizjak@gmail.com>
83         PR target/71161
84         * elf.c (phdr_callback) [__i386__]: Add
85         __attribute__((__force_align_arg_pointer__)).
87 2016-03-02  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
89         * elf.c (backtrace_initialize): Properly initialize elf_fileline_fn to
90         avoid possible crash.
91         (elf_add): Don't set *fileline_fn to elf_nodebug value in case of
92         missing debug info anymore.
94 2016-02-06  John David Anglin  <danglin@gcc.gnu.org>
96         * mmap.c (MAP_FAILED): Define if not defined.
98 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
100         Update copyright years.
102 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
104         * configure.ac: Specify that DJGPP do not have mmap
105         even when sys/mman.h exists.
106         * configure: Regenerate
108 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
110         PR libgfortran/68115
111         * configure.ac: Set libbacktrace_cv_sys_sync to no on hppa*-*-hpux*.
112         * configure: Regenerate.
113         * elf.c (backtrace_initialize): Cast __sync_bool_compare_and_swap call
114         to void.
116 2015-09-17  Ian Lance Taylor  <iant@google.com>
118         * posix.c (backtrace_open): Cast second argument of open() to int.
120 2015-09-11  Ian Lance Taylor  <iant@google.com>
122         * Makefile.am (backtrace.lo): Depend on internal.h.
123         (sort.lo, stest.lo): Add explicit dependencies.
124         * Makefile.in: Rebuild.
126 2015-09-09  Hans-Peter Nilsson  <hp@axis.com>
128         * backtrace.c: #include <sys/types.h>.
130 2015-09-08  Ian Lance Taylor  <iant@google.com>
132         PR other/67457
133         * backtrace.c: #include "internal.h".
134         (struct backtrace_data): Add can_alloc field.
135         (unwind): If can_alloc is false, don't try to get file/line
136         information.
137         (backtrace_full): Set can_alloc field in bdata.
138         * alloc.c (backtrace_alloc): Don't call error_callback if it is
139         NULL.
140         * mmap.c (backtrace_alloc): Likewise.
141         * internal.h: Update comments for backtrace_alloc and
142         backtrace_free.
144 2015-09-08  Ian Lance Taylor  <iant@google.com>
146         PR other/67457
147         * mmap.c (backtrace_alloc): Correct test for mmap failure.
149 2015-08-31  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
151         * configure.ac: For spu-*-* targets, set have_fcntl to no.
152         * configure: Regenerate.
154 2015-08-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
156         * configure.ac: Remove [disable-shared] argument to LT_INIT.
157         Remove setting PIC_FLAG when building as target library.
158         * configure: Regenerate.
160 2015-08-26  Hans-Peter Nilsson  <hp@axis.com>
162         * configure.ac: Only compile with -fPIC if the target
163         supports it.
164         * configure: Regenerate.
166 2015-08-24  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
168         * configure.ac: Set have_mmap to no on spu-*-* targets.
169         * configure: Regenerate.
171 2015-08-13  Ian Lance Taylor  <iant@google.com>
173         * dwarf.c (read_function_entry): Add vec_inlined parameter.
174         Change all callers.
176 2015-06-11  Martin Sebor  <msebor@redhat.com>
178         PR sanitizer/65479
179         * dwarf.c (struct line): Add new field idx.
180         (line_compare): Use it.
181         (add_line): Set it.
182         (read_line_info): Reset it.
184 2015-05-29  Tristan Gingold  <gingold@adacore.com>
186         * pecoff.c: New file.
187         * Makefile.am (FORMAT_FILES): Add pecoff.c and dependencies.
188         * Makefile.in: Regenerate.
189         * filetype.awk: Detect pecoff.
190         * configure.ac: Define BACKTRACE_SUPPORTS_DATA on elf platforms.
191         Add pecoff.
192         * btest.c (test5): Test enabled only if BACKTRACE_SUPPORTS_DATA is
193         true.
194         * backtrace-supported.h.in (BACKTRACE_SUPPORTS_DATA): Define.
195         * configure: Regenerate.
196         * pecoff.c: New file.
198 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
200         * Makefile.in: Regenerated with automake-1.11.6.
201         * aclocal.m4: Likewise.
202         * configure: Likewise.
204 2015-01-24  Matthias Klose  <doko@ubuntu.com>
206         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
207         * configure: Regenerate.
209 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
211         Update copyright years.
213 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
215         PR bootstrap/63784
216         * configure: Regenerated.
218 2014-11-11  David Malcolm  <dmalcolm@redhat.com>
220         * ChangeLog.jit: New.
222 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
224         PR target/63610
225         * configure: Regenerate.
227 2014-10-23  Ian Lance Taylor  <iant@google.com>
229         * internal.h (backtrace_atomic_load_pointer) [no atomic or sync]:
230         Fix to return void *.
232 2014-05-08  Ian Lance Taylor  <iant@google.com>
234         * mmap.c (backtrace_free): If freeing a large aligned block of
235         memory, call munmap rather than holding onto it.
236         (backtrace_vector_grow): When growing a vector, double the number
237         of pages requested.  When releasing the old version of a grown
238         vector, pass the correct size to backtrace_free.
240 2014-03-07  Ian Lance Taylor  <iant@google.com>
242         * sort.c (backtrace_qsort): Use middle element as pivot.
244 2014-03-06  Ian Lance Taylor  <iant@google.com>
246         * sort.c: New file.
247         * stest.c: New file.
248         * internal.h (backtrace_qsort): Declare.
249         * dwarf.c (read_abbrevs): Call backtrace_qsort instead of qsort.
250         (read_line_info, read_function_entry): Likewise.
251         (read_function_info, build_dwarf_data): Likewise.
252         * elf.c (elf_initialize_syminfo): Likewise.
253         * Makefile.am (libbacktrace_la_SOURCES): Add sort.c.
254         (stest_SOURCES, stest_LDADD): Define.
255         (check_PROGRAMS): Add stest.
257 2014-02-07  Misty De Meo  <misty@brew.sh>
259         PR target/58710
260         * configure.ac: Use AC_LINK_IFELSE in check for
261         _Unwind_GetIPInfo.
262         * configure: Regenerate.
264 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
266         Update copyright years
268 2013-12-06  Jakub Jelinek  <jakub@redhat.com>
270         * elf.c (ET_DYN): Undefine and define again.
271         (elf_add): Add exe argument, if true and ehdr.e_type is ET_DYN,
272         return early -1 without closing the descriptor.
273         (struct phdr_data): Add exe_descriptor.
274         (phdr_callback): If pd->exe_descriptor is not -1, for very first
275         call if dlpi_name is NULL just call elf_add with the exe_descriptor,
276         otherwise backtrace_close the exe_descriptor if not -1.  Adjust
277         call to elf_add.
278         (backtrace_initialize): Adjust call to elf_add.  If it returns
279         -1, set pd.exe_descriptor to descriptor, otherwise set it to -1.
281 2013-12-05  Ian Lance Taylor  <iant@google.com>
283         * alloc.c (backtrace_vector_finish): Add error_callback and data
284         parameters.  Call backtrace_vector_release.  Return address base.
285         * mmap.c (backtrace_vector_finish): Add error_callback and data
286         parameters.  Return address base.
287         * dwarf.c (read_function_info): Get new address base from
288         backtrace_vector_finish.
289         * internal.h (backtrace_vector_finish): Update declaration.
291 2013-11-27  Ian Lance Taylor  <iant@google.com>
293         * dwarf.c (find_address_ranges): New static function, broken out
294         of build_address_map.
295         (build_address_map): Call it.
296         * btest.c (check): Check for missing filename or function, rather
297         than crashing.
298         (f3): Check that enough frames were returned.
300 2013-11-19  Jakub Jelinek  <jakub@redhat.com>
302         * backtrace.h (backtrace_syminfo_callback): Add symsize argument.
303         * elf.c (elf_syminfo): Pass 0 or sym->size to the callback as
304         last argument.
305         * btest.c (struct symdata): Add size field.
306         (callback_three): Add symsize argument.  Copy it to the data->size
307         field.
308         (f23): Set symdata.size to 0.
309         (test5): Likewise.  If sizeof (int) > 1, lookup address of
310         ((uintptr_t) &global) + 1.  Verify symdata.val and symdata.size
311         values.
313         * atomic.c: Include sys/types.h.
315 2013-11-18  Ian Lance Taylor  <iant@google.com>
317         * configure.ac: Check for support of __atomic extensions.
318         * internal.h: Declare or #define atomic functions for use in
319         backtrace code.
320         * atomic.c: New file.
321         * dwarf.c (dwarf_lookup_pc): Use atomic functions.
322         (dwarf_fileline, backtrace_dwarf_add): Likewise.
323         * elf.c (elf_add_syminfo_data, elf_syminfo): Likewise.
324         (backtrace_initialize): Likewise.
325         * fileline.c (fileline_initialize): Likewise.
326         * Makefile.am (libbacktrace_la_SOURCES): Add atomic.c.
327         * configure, config.h.in, Makefile.in: Rebuild.
329 2013-11-18  Jakub Jelinek  <jakub@redhat.com>
331         * elf.c (SHN_UNDEF): Define.
332         (elf_initialize_syminfo): Add base_address argument.  Ignore symbols
333         with st_shndx == SHN_UNDEF.  Add base_address to address fields.
334         (elf_add): Adjust caller.
336         * elf.c (phdr_callback): Process info->dlpi_addr == 0 normally.
338 2013-11-16  Ian Lance Taylor  <iant@google.com>
340         * backtrace.h (backtrace_create_state): Correct comment about
341         threading.
343 2013-11-15  Ian Lance Taylor  <iant@google.com>
345         * backtrace.h (backtrace_syminfo): Update comment and parameter
346         name to take any address, not just a PC value.
347         * elf.c (STT_OBJECT): Define.
348         (elf_nosyms): Rename parameter pc to addr.
349         (elf_symbol_search): Rename local variable pc to addr.
350         (elf_initialize_syminfo): Add STT_OBJECT symbols to elf_symbols.
351         (elf_syminfo): Rename parameter pc to addr.
352         * btest.c (global): New global variable.
353         (test5): New test.
354         (main): Call test5.
356 2013-10-17  Ian Lance Taylor  <iant@google.com>
358         * elf.c (elf_add): Don't get the wrong offsets if a debug section
359         is missing.
361 2013-10-15  David Malcolm  <dmalcolm@redhat.com>
363         * configure.ac: Add --enable-host-shared, setting up
364         pre-existing PIC_FLAG variable within Makefile.am et al.
365         * configure: Regenerate.
367 2013-09-20  Alan Modra  <amodra@gmail.com>
369         * configure: Regenerate.
371 2013-07-23  Alexander Monakov  <amonakov@ispras.ru>
373         * elf.c (elf_syminfo): Loop over the elf_syminfo_data chain.
375 2013-07-23  Alexander Monakov  <amonakov@ispras.ru>
377         * elf.c (backtrace_initialize): Pass elf_fileline_fn to
378         dl_iterate_phdr callbacks.
380 2013-03-25  Ian Lance Taylor  <iant@google.com>
382         * alloc.c: #include <sys/types.h>.
383         * mmap.c: Likewise.
385 2013-01-31  Ian Lance Taylor  <iant@google.com>
387         * dwarf.c (read_function_info): Permit fvec parameter to be NULL.
388         (dwarf_lookup_pc): Don't use ddata->fvec if threaded.
390 2013-01-25  Jakub Jelinek  <jakub@redhat.com>
392         PR other/56076
393         * dwarf.c (read_line_header): Don't crash if DW_AT_comp_dir
394         attribute was not seen.
396 2013-01-16  Ian Lance Taylor  <iant@google.com>
398         * dwarf.c (struct unit): Add filename and abs_filename fields.
399         (build_address_map): Set new fields when reading unit.
400         (dwarf_lookup_pc): If we don't find an entry in the line table,
401         just return the main file name.
403 2013-01-14  Richard Sandiford  <rdsandiford@googlemail.com>
405         Update copyright years.
407 2013-01-01  Ian Lance Taylor  <iant@google.com>
409         PR bootstrap/54834
410         * Makefile.am (AM_CPPFLAGS): Remove -I ../gcc/include and -I
411         $(MULTIBUILDTOP)/../../gcc/include.
412         * Makefile.in: Rebuild.
414 2013-01-01  Ian Lance Taylor  <iant@google.com>
416         PR other/55536
417         * mmap.c (backtrace_alloc): Don't call sync functions if not
418         threaded.
419         (backtrace_free): Likewise.
421 2012-12-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
423         * mmapio.c: Define MAP_FAILED if not defined.
425 2012-12-11  Jakub Jelinek  <jakub@redhat.com>
427         PR bootstrap/54926
428         * Makefile.am (AM_CFLAGS): Remove -frandom-seed=$@.
429         * configure.ac: If --with-target-subdir, add -frandom-seed=$@
430         to EXTRA_FLAGS unconditionally, otherwise check whether the compiler
431         accepts it.
432         * Makefile.in: Regenerated.
433         * configure: Regenerated.
435 2012-12-07  Jakub Jelinek  <jakub@redhat.com>
437         PR bootstrap/54926
438         * Makefile.am (AM_CFLAGS): Add -frandom-seed=$@.
439         * Makefile.in: Regenerated.
441 2012-11-20  Ian Lance Taylor  <iant@google.com>
443         * dwarf.c (read_attribute): Always clear val.
445 2012-11-13  Ian Lance Taylor  <iant@google.com>
447         PR other/55312
448         * configure.ac: Only add -Werror if building a target library.
449         * configure: Rebuild.
451 2012-11-12  Ian Lance Taylor  <iant@google.com>
452             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
453             Gerald Pfeifer  <gerald@pfeifer.com>
455         * configure.ac: Check for getexecname.
456         * fileline.c: #include <errno.h>.  Define getexecname if not
457         available.
458         (fileline_initialize): Try to find the executable in a few
459         different ways.
460         * print.c (error_callback): Only print the filename if it came
461         from the backtrace state.
462         * configure, config.h.in: Rebuild.
464 2012-10-29  Ian Lance Taylor  <iant@google.com>
466         * mmap.c (backtrace_vector_release): Correct last patch: add
467         aligned, not size.
469 2012-10-29  Ian Lance Taylor  <iant@google.com>
471         * mmap.c (backtrace_vector_release): Make sure freed block is
472         aligned on 8-byte boundary.
474 2012-10-26  Ian Lance Taylor  <iant@google.com>
476         PR other/55087
477         * posix.c (backtrace_open): Add does_not_exist parameter.
478         * elf.c (phdr_callback): Do not warn if shared library could not
479         be opened.
480         * fileline.c (fileline_initialize): Update calls to
481         backtrace_open.
482         * internal.h (backtrace_open): Update declaration.
484 2012-10-26  Jack Howarth  <howarth@bromo.med.uc.edu>
486         PR target/55061
487         * configure.ac: Check for _Unwind_GetIPInfo function declaration.
488         * configure: Regenerate.
490 2012-10-24  Ian Lance Taylor  <iant@google.com>
492         PR target/55061
493         * configure.ac: Check whether -funwind-tables option works.
494         * configure: Rebuild.
496 2012-10-11  Ian Lance Taylor  <iant@google.com>
498         * configure.ac: Do not use dl_iterate_phdr on Solaris 10.
499         * configure: Rebuild.
501 2012-10-10  Ian Lance Taylor  <iant@google.com>
503         * elf.c: Rename all Elf typedefs to start with b_elf, and be all
504         lower case.
506 2012-10-10  Hans-Peter Nilsson  <hp@bitrange.com>
508         * elf.c (elf_add_syminfo_data): Add casts to avoid warning.
510 2012-10-09  Ian Lance Taylor  <iant@google.com>
512         * dwarf.c (dwarf_fileline): Add cast to avoid warning.
513         (backtrace_dwarf_add): Likewise.
515 2012-10-09  Ian Lance Taylor  <iant@google.com>
517         Add support for tracing through shared libraries.
518         * configure.ac: Check for link.h and dl_iterate_phdr.
519         * elf.c: #include <link.h> if system has dl_iterate_phdr.  #undef
520         ELF macros before #defining them.
521         (dl_phdr_info, dl_iterate_phdr): Define if system does not have
522         dl_iterate_phdr.
523         (struct elf_syminfo_data): Add next field.
524         (elf_initialize_syminfo): Initialize next field.
525         (elf_add_syminfo_data): New static function.
526         (elf_add): New static function, broken out of
527         backtrace_initialize.  Call backtrace_dwarf_add instead of
528         backtrace_dwarf_initialize.
529         (struct phdr_data): Define.
530         (phdr_callback): New static function.
531         (backtrace_initialize): Call elf_add.
532         * dwarf.c (struct dwarf_data): Add next and base_address fields.
533         (add_unit_addr): Add base_address parameter.  Change all callers.
534         (add_unit_ranges, build_address_map): Likewise.
535         (add_line): Add ddata parameter.  Change all callers.
536         (read_line_program, add_function_range): Likewise.
537         (dwarf_lookup_pc): New static function, broken out of
538         dwarf_fileline.
539         (dwarf_fileline): Call dwarf_lookup_pc.
540         (build_dwarf_data): New static function.
541         (backtrace_dwarf_add): New function.
542         (backtrace_dwarf_initialize): Remove.
543         * internal.h (backtrace_dwarf_initialize): Don't declare.
544         (backtrace_dwarf_add): Declare.
545         * configure, config.h.in: Rebuild.
547 2012-10-04  Gerald Pfeifer  <gerald@pfeifer.com>
549         * btest.c (f23): Avoid uninitialized variable warning.
551 2012-10-04  Ian Lance Taylor  <iant@google.com>
553         * dwarf.c: If the system header files do not declare strnlen,
554         provide our own version.
556 2012-10-03  Ian Lance Taylor  <iant@google.com>
558         * dwarf.c (read_uleb128): Fix overflow test.
559         (read_sleb128): Likewise.
560         (build_address_map): Don't change unit_buf.start.
562 2012-10-02  Uros Bizjak  <ubizjak@gmail.com>
564         PR other/54761
565         * configure.ac (EXTRA_FLAGS): New.
566         * Makefile.am (AM_FLAGS): Add $(EXTRA_FLAGS).
567         * configure, Makefile.in: Regenerate.
569 2012-09-29  Ian Lance Taylor  <iant@google.com>
571         PR other/54749
572         * fileline.c (fileline_initialize): Pass errnum as -1 when
573         reporting that we could not read executable information after a
574         previous failure.
576 2012-09-27  Ian Lance Taylor  <iant@google.com>
578         PR bootstrap/54732
579         * configure.ac: Add no-dependencies to AM_INIT_AUTOMAKE.
580         * Makefile.am: Add dependencies for all objects.
581         * configure, aclocal.m4, Makefile.in: Rebuild.
583 2012-09-27  Ian Lance Taylor  <iant@google.com>
585         PR other/54726
586         * elf.c (backtrace_initialize): Set *fileln_fn, not
587         state->fileln_fn.
589 2012-09-19  Ian Lance Taylor  <iant@google.com>
591         * configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled
592         as a target library.
593         * configure: Rebuild.
595 2012-09-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
596             Ian Lance Taylor  <iant@google.com>
598         * configure.ac (GCC_HEADER_STDINT): Invoke.
599         * backtrace.h: If we can't find <stdint.h>, use "gstdint.h".
600         * btest.c: Don't include <stdint.h>.
601         * dwarf.c: Likewise.
602         * configure, aclocal.m4, Makefile.in, config.h.in: Rebuild.
604 2012-09-18  Ian Lance Taylor  <iant@google.com>
606         PR bootstrap/54623
607         * Makefile.am (AM_CPPFLAGS): Define.
608         (AM_CFLAGS): Remove -I options.
609         * Makefile.in: Rebuild.
611 2012-09-18  Ian Lance Taylor  <iant@google.com>
613         * posix.c (O_BINARY): Define if not defined.
614         (backtrace_open): Pass O_BINARY to open.  Only call fcntl if
615         HAVE_FCNTL is defined.
616         * configure.ac: Test for the fcntl function.
617         * configure, config.h.in: Rebuild.
619 2012-09-18  Ian Lance Taylor  <iant@google.com>
621         * btest.c (test1, test2, test3, test4): Add the unused attribute.
623 2012-09-18  Ian Lance Taylor  <iant@google.com>
625         * dwarf.c: Correct test of HAVE_DECL_STRNLEN.
627 2012-09-18  Ian Lance Taylor  <iant@google.com>
629         * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
630         * mmapio.c: Don't define _GNU_SOURCE.
631         * configure, config.h.in: Rebuild.
633 2012-09-18  Ian Lance Taylor  <iant@google.com>
635         * configure.ac: Check whether strnlen is declared.
636         * dwarf.c: Declare strnlen if not declared.
637         * configure, config.h.in: Rebuild.
639 2012-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
641         * fileline.c: Include <stdlib.h>.
642         * mmap.c: Likewise.
644 2012-09-17  Ian Lance Taylor  <iant@google.com>
646         PR bootstrap/54611
647         * nounwind.c (backtrace_full): Rename from backtrace.  Add state
648         parameter.
650 2012-09-17  Gerald Pfeifer  <gerald@pfeifer.com>
652         PR bootstrap/54611
653         * nounwind.c (backtrace_simple): Add state parameter.
655 2012-09-17  Ian Lance Taylor  <iant@google.com>
657         PR bootstrap/54609
658         * unknown.c (unknown_fileline): Add state parameter, remove
659         fileline_data parameter, name error_callback parameter.
660         (backtrace_initialize): Add state parameter.
662 2012-09-17  Ian Lance Taylor  <iant@google.com>
664         * Initial implementation.
666 Copyright (C) 2012-2017 Free Software Foundation, Inc.
668 Copying and distribution of this file, with or without modification,
669 are permitted in any medium without royalty provided the copyright
670 notice and this notice are preserved.