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