annotate libbacktrace/ChangeLog @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1 2018-10-05 Ian Lance Taylor <iant@golang.org>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
2
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
3 PR libbacktrace/87529
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
4 * backtrace.h: Document that backtrace_create_state should be
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
5 called only once.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
6
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
7 2018-08-05 Iain Buclaw <ibuclaw@gdcproject.org>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
8
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
9 * configure.ac: Move define of HAVE_ZLIB into check for -lz.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
10 * Makefile.in: Regenerate.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
11 * config.h.in: Likewise.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
12 * configure: Likewise.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
13
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
14 2018-08-01 Tony Reix <tony.reix@atos.net>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
15
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
16 * xcoff.c (struct xcoff_line, struct xcoff_line_vector): Remove.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
17 (struct xcoff_func, struct xcoff_func_vector): New structs.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
18 (xcoff_syminfo): Drop leading dot from symbol name.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
19 (xcoff_line_compare, xcoff_line_search): Remove.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
20 (xcoff_func_compare, xcoff_func_search): New static functions.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
21 (xcoff_lookup_pc): Search function table.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
22 (xcoff_add_line, xcoff_process_linenos): Remove.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
23 (xcoff_initialize_fileline): Build function table.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
24
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
25 2018-06-21 Denis Khalikov <d.khalikov@partner.samsung.com>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
26
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
27 PR other/86198
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
28 * elf.c (elf_add): Increase ".note.gnu.build-id" section size
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
29 checking up to 36 bytes.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
30
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
31 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
32
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
33 * configure: Regenerated.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
34
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
35 2018-04-19 Jakub Jelinek <jakub@redhat.com>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
36
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
37 * configure: Regenerated.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
38
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
39 2018-04-17 Ian Lance Taylor <iant@golang.org>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
40
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
41 * backtrace.c: Revert last two changes. Don't call mmap
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
42 directly.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
43
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
44 2018-04-17 Ian Lance Taylor <iant@golang.org>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
45
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
46 * backtrace.c: Include backtrace-supported.h before checking
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
47 BACKTRACE_USES_MALLOC.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
48
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
49 2018-04-17 Ian Lance Taylor <iant@golang.org>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
50
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
51 * backtrace.c (backtrace_full): When testing whether we can
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
52 allocate memory, call mmap directly, and munmap the memory.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
53
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
54 2018-04-04 Jakub Jelinek <jakub@redhat.com>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
55
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
56 PR other/85161
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
57 * elf.c (elf_zlib_fetch): Fix up predefined macro names in test for
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
58 big endian, only use 32-bit loads if endianity macros are predefined
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
59 and indicate big or little endian.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
60
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
61 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
62
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
63 PR target/84148
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
64 * configure: Regenerate.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
65
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
66 2018-02-15 Jakub Jelinek <jakub@redhat.com>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
67
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
68 PR other/82368
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
69 * elf.c (SHT_PROGBITS): Undefine and define.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
70
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
71 2018-02-14 Jakub Jelinek <jakub@redhat.com>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
72
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
73 PR other/82368
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
74 * elf.c (EM_PPC64, EF_PPC64_ABI): Undefine and define.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
75 (struct elf_ppc64_opd_data): New type.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
76 (elf_initialize_syminfo): Add opd argument, handle symbols
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
77 pointing into the PowerPC64 ELFv1 .opd section.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
78 (elf_add): Read .opd section on PowerPC64 ELFv1, pass pointer
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
79 to structure with .opd data to elf_initialize_syminfo.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
80
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
81 2018-01-31 Ian Lance Taylor <iant@golang.org>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
82
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
83 * elf.c (elf_add): Close descriptor if we use a debugfile.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
84 * btest.c (check_open_files): New static function.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
85 (main): Call check_open_files.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
86
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
87 2018-01-25 Ian Lance Taylor <iant@golang.org>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
88
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
89 * elf.c (elf_open_debugfile_by_debuglink): Don't check CRC if the
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
90 desired CRC is zero.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
91 (elf_add): Don't clear *found_sym and *found_dwarf if debuginfo.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
92
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
93 2018-01-25 Ian Lance Taylor <iant@golang.org>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
94
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
95 * pecoff.c (coff_add): Only release syms_view if it is valid.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
96
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
97 2018-01-25 Ian Lance Taylor <iant@golang.org>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
98
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
99 * pecoff.c (coff_add): Another memcpy -> coff_read4 fix.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
100
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
101 2018-01-24 Ian Lance Taylor <iant@golang.org>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
102
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
103 * pecoff.c (coff_add): Use coff_read4, not memcpy.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
104
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
105 2018-01-24 Ian Lance Taylor <iant@golang.org>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
106
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
107 PR other/68239
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
108 * mmap.c (backtrace_free_locked): Don't put more than 16 entries
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
109 on the free list.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
110
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
111 2018-01-19 Tony Reix <tony.reix@atos.net>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
112
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
113 * xcoff.c (xcoff_incl_compare): New function.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
114 (xcoff_incl_search): New function.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
115 (xcoff_process_linenos): Use bsearch to find include file.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
116 (xcoff_initialize_fileline): Sort include file information.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
117
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
118 2018-01-16 Ian Lance Taylor <iant@golang.org>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
119
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
120 * elf.c (codes) [GENERATE_FIXED_HUFFMAN_TABLE]: Fix size to be
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
121 288.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
122 (main) [GENERATE_FIXED_HUFFMAN_TABLE]: Pass 288 to
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
123 elf_zlib_inflate_table. Generate elf_zlib_default_dist_table.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
124 (elf_zlib_default_table): Update.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
125 (elf_zlib_default_dist_table): New static array.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
126 (elf_zlib_inflate): Use elf_zlib_default_dist_table for dist table
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
127 for block type 1.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
128 * ztest.c (struct zlib_test): Add uncompressed_len.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
129 (tests): Initialize uncompressed_len field. Add new test case.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
130 (test_samples): Use uncompressed_len field.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
132 2018-01-03 Jakub Jelinek <jakub@redhat.com>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
133
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
134 Update copyright years.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
135
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
136 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
137
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
138 * configure.ac: Add CET_FLAGS to EXTRA_FLAGS.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
139 * aclocal.m4: Regenerate.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
140 * Makefile.in: Likewise.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
141 * configure: Likewise.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
142
111
kono
parents:
diff changeset
143 2017-10-06 Ian Lance Taylor <iant@golang.org>
kono
parents:
diff changeset
144
kono
parents:
diff changeset
145 * ztest.c (test_large): Pass unsigned long *, not size_t *, to
kono
parents:
diff changeset
146 zlib uncompress function.
kono
parents:
diff changeset
147
kono
parents:
diff changeset
148 2017-10-05 Ian Lance Taylor <iant@golang.org>
kono
parents:
diff changeset
149
kono
parents:
diff changeset
150 * elf.c (elf_zlib_fetch): Change pval argument to uint64_t *.
kono
parents:
diff changeset
151 Read a four byte integer.
kono
parents:
diff changeset
152 (elf_zlib_inflate): Change val to uint64_t. Align pin to a 32-bit
kono
parents:
diff changeset
153 boundary before ever calling elf_zlib_fetch.
kono
parents:
diff changeset
154 * ztest.c (test_large): Simplify print statements a bit.
kono
parents:
diff changeset
155
kono
parents:
diff changeset
156 2017-10-02 Ian Lance Taylor <iant@golang.org>
kono
parents:
diff changeset
157
kono
parents:
diff changeset
158 * ztest.c: #include <errno.h>.
kono
parents:
diff changeset
159 (TEST_TIMING): Don't define, don't test.
kono
parents:
diff changeset
160 (xclock_gettime, xclockid_t): Define if !HAVE_CLOCK_GETTIME.
kono
parents:
diff changeset
161 (clockid_t, clock_gettime, CLOCK_REALTIME): Likewise.
kono
parents:
diff changeset
162 (ZLIB_CLOCK_GETTIME_ARG): Define.
kono
parents:
diff changeset
163 * configure.ac: Change clock_gettime_link to CLOCK_GETTIME_LINK.
kono
parents:
diff changeset
164 * Makefile.am: Likewise.
kono
parents:
diff changeset
165 * configure, Makefile.in: Rebuild.
kono
parents:
diff changeset
166
kono
parents:
diff changeset
167 2017-10-02 Thomas Schwinge <thomas@codesourcery.com>
kono
parents:
diff changeset
168
kono
parents:
diff changeset
169 PR other/67165
kono
parents:
diff changeset
170 * Makefile.am: Append the content of clock_gettime_link to
kono
parents:
diff changeset
171 ztest_LDADD.
kono
parents:
diff changeset
172 * configure.ac: Test for the case that clock_gettime is in librt.
kono
parents:
diff changeset
173 * Makefile.in: Regenerate.
kono
parents:
diff changeset
174 * configure: Likewise.
kono
parents:
diff changeset
175
kono
parents:
diff changeset
176 PR other/67165
kono
parents:
diff changeset
177 * configure.ac: Check for clock_gettime.
kono
parents:
diff changeset
178 * config.h.in: Regenerate.
kono
parents:
diff changeset
179 * configure: Likewise.
kono
parents:
diff changeset
180 * ztest.c (average_time, test_large): Conditionalize test timing
kono
parents:
diff changeset
181 on clock_gettime availability.
kono
parents:
diff changeset
182
kono
parents:
diff changeset
183 2017-09-29 Tony Reix <tony.reix@atos.net>
kono
parents:
diff changeset
184
kono
parents:
diff changeset
185 * xcoff.c: Initial support for DWARF debug sections in XCOFF.
kono
parents:
diff changeset
186 (STYP_DWARF, SSUBTYP_DW*): Define.
kono
parents:
diff changeset
187 (enum dwarf_section): Define.
kono
parents:
diff changeset
188 (struct dwsect_info): Define.
kono
parents:
diff changeset
189 (xcoff_add): Look for DWARF sections, pass them to
kono
parents:
diff changeset
190 backtrace_dwarf_add.
kono
parents:
diff changeset
191
kono
parents:
diff changeset
192 2017-09-28 Ian Lance Taylor <iant@golang.org>
kono
parents:
diff changeset
193
kono
parents:
diff changeset
194 PR other/67165
kono
parents:
diff changeset
195 * elf.c (__builtin_prefetch): Define if not __GNUC__.
kono
parents:
diff changeset
196 (unlikely): Define.
kono
parents:
diff changeset
197 (SHF_UNCOMPRESSED, ELFCOMPRESS_ZLIB): Define.
kono
parents:
diff changeset
198 (b_elf_chdr): Define type.
kono
parents:
diff changeset
199 (enum debug_section): Add ZDEBUG_xxx values.
kono
parents:
diff changeset
200 (debug_section_names): Add names for new sections.
kono
parents:
diff changeset
201 (struct debug_section_info): Add compressed field.
kono
parents:
diff changeset
202 (elf_zlib_failed, elf_zlib_fetch): New static functions.
kono
parents:
diff changeset
203 (HUFFMAN_TABLE_SIZE, HUFFMAN_VALUE_MASK): Define.
kono
parents:
diff changeset
204 (HUFFMAN_BITS_SHIFT, HUFFMAN_BITS_MASK): Define.
kono
parents:
diff changeset
205 (HUFFMAN_SECONDARY_SHIFT): Define.
kono
parents:
diff changeset
206 (ZDEBUG_TABLE_SIZE): Define.
kono
parents:
diff changeset
207 (ZDEBUG_TABLE_CODELEN_OFFSET, ZDEBUG_TABLE_WORK_OFFSET): Define.
kono
parents:
diff changeset
208 (final_next_secondary): New static variable if
kono
parents:
diff changeset
209 BACKTRACE_GENERATE_FIXED_HUFFMAN_TABLE.
kono
parents:
diff changeset
210 (elf_zlib_inflate_table): New static function.
kono
parents:
diff changeset
211 (BACKTRACE_GENERATE_FIXED_HUFFMAN_TABLE): If define, define main
kono
parents:
diff changeset
212 function to produce fixed Huffman table.
kono
parents:
diff changeset
213 (elf_zlib_default_table): New static variable.
kono
parents:
diff changeset
214 (elf_zlib_inflate): New static function.
kono
parents:
diff changeset
215 (elf_zlib_verify_checksum): Likewise.
kono
parents:
diff changeset
216 (elf_zlib_inflate_and_verify): Likewise.
kono
parents:
diff changeset
217 (elf_uncompress_zdebug): Likewise.
kono
parents:
diff changeset
218 (elf_uncompress_chdr): Likewise.
kono
parents:
diff changeset
219 (backtrace_uncompress_zdebug): New extern function.
kono
parents:
diff changeset
220 (elf_add): Look for .zdebug sections and SHF_COMPRESSED debug
kono
parents:
diff changeset
221 sections, and uncompress them.
kono
parents:
diff changeset
222 * internal.h (backtrace_compress_zdebug): Declare.
kono
parents:
diff changeset
223 * ztest.c: New file.
kono
parents:
diff changeset
224 * configure.ac: Check for -lz and check whether the linker
kono
parents:
diff changeset
225 supports --compress-debug-sections.
kono
parents:
diff changeset
226 * Makefile.am (ztest_SOURCES): New variable.
kono
parents:
diff changeset
227 (ztest_CFLAGS, ztest_LDADD): New variables.
kono
parents:
diff changeset
228 (check_PROGRAMS): Add ztest.
kono
parents:
diff changeset
229 (ctestg_SOURCES): New variable.
kono
parents:
diff changeset
230 (ctestg_CFLAGS, ctestg_LDFLAGS, ctestg_LDADD): New variables.
kono
parents:
diff changeset
231 (ctesta_SOURCES): New variable.
kono
parents:
diff changeset
232 (ctesta_CFLAGS, ctesta_LDFLAGS, ctesta_LDADD): New variables.
kono
parents:
diff changeset
233 (check_PROGRAMS): Add ctestg and ctesta.
kono
parents:
diff changeset
234 * configure, config.h.in, Makefile.in: Rebuild.
kono
parents:
diff changeset
235
kono
parents:
diff changeset
236 2017-09-22 Ian Lance Taylor <iant@golang.org>
kono
parents:
diff changeset
237
kono
parents:
diff changeset
238 PR sanitizer/77631
kono
parents:
diff changeset
239 * configure.ac: Check for lstat and readlink.
kono
parents:
diff changeset
240 * elf.c (lstat, readlink): Provide dummy versions if real versions
kono
parents:
diff changeset
241 are not available.
kono
parents:
diff changeset
242 * configure, config.h.in: Rebuild.
kono
parents:
diff changeset
243
kono
parents:
diff changeset
244 2017-09-21 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
245
kono
parents:
diff changeset
246 PR go/82284
kono
parents:
diff changeset
247 * elf.c (backtrace_initialize): Set pd.exe_filename.
kono
parents:
diff changeset
248
kono
parents:
diff changeset
249 2017-09-20 Ian Lance Taylor <iant@golang.org>
kono
parents:
diff changeset
250 Denis Khalikov <d.khalikov@partner.samsung.com>
kono
parents:
diff changeset
251
kono
parents:
diff changeset
252 PR sanitizer/77631
kono
parents:
diff changeset
253 Support for external debug info.
kono
parents:
diff changeset
254 * elf.c: Include <errno.h>, <sys/stat.h>, <unistd.h>.
kono
parents:
diff changeset
255 (S_ISLNK): Define if not defined.
kono
parents:
diff changeset
256 (xstrnlen): Define if strnlen is not available.
kono
parents:
diff changeset
257 (b_elf_note): Define type.
kono
parents:
diff changeset
258 (NT_GNU_BUILD_ID): Define macro.
kono
parents:
diff changeset
259 (elf_crc32, elf_crc32_file): New static functions.
kono
parents:
diff changeset
260 (elf_is_symlink, elf_readlink): New static functions.
kono
parents:
diff changeset
261 (elf_open_debugfile_by_buildid): New static function.
kono
parents:
diff changeset
262 (elf_try_debugfile): New static function.
kono
parents:
diff changeset
263 (elf_find_debugfile_by_debuglink): New static function.
kono
parents:
diff changeset
264 (elf_open_debugfile_by_debuglink): New static function.
kono
parents:
diff changeset
265 (elf_add): Add filename and debuginfo parameters. Adjust all
kono
parents:
diff changeset
266 callers. Look for external debug info notes, and try to fetch
kono
parents:
diff changeset
267 debug info from external file.
kono
parents:
diff changeset
268 (struct phdr_data): Add exe_filename field.
kono
parents:
diff changeset
269 (phdr_callback): Pass filename to elf_add.
kono
parents:
diff changeset
270 (backtrace_initialize): Add filename parameter.
kono
parents:
diff changeset
271 * internal.h (backtrace_initialize): Add filename parameter.
kono
parents:
diff changeset
272 * fileline.c (fileline_initialize): Pass filename to
kono
parents:
diff changeset
273 backtrace_initialize.
kono
parents:
diff changeset
274 * pecoff.c (fileline_initialize): Add unused filename parameter.
kono
parents:
diff changeset
275 * unknown.c (fileline_initialize): Likewise.
kono
parents:
diff changeset
276 * xcoff.c (fileline_initialize): Likewise.
kono
parents:
diff changeset
277 * configure.ac: Check for objcopy --add-gnu-debuglink.
kono
parents:
diff changeset
278 * Makefile.am (dtest): New test target.
kono
parents:
diff changeset
279 * configure, Makefile.in: Rebuild.
kono
parents:
diff changeset
280
kono
parents:
diff changeset
281 2017-09-12 Steve Ellcey <sellcey@cavium.com>
kono
parents:
diff changeset
282
kono
parents:
diff changeset
283 PR other/81096
kono
parents:
diff changeset
284 * Makefile.am (ttest_CFLAGS): Add $(AM_CFLAGS)
kono
parents:
diff changeset
285 * Makefile.in: Regenerate.
kono
parents:
diff changeset
286
kono
parents:
diff changeset
287 2017-09-12 Steve Ellcey <sellcey@cavium.com>
kono
parents:
diff changeset
288
kono
parents:
diff changeset
289 PR other/81096
kono
parents:
diff changeset
290 * libbacktrace/Makefile.in
kono
parents:
diff changeset
291 (HAVE_PTHREAD_TRUE@@NATIVE_TRUE@ttest_CFLAGS): Add $(AM_CFLAGS)
kono
parents:
diff changeset
292
kono
parents:
diff changeset
293 2017-08-02 David Edelsohn <dje.gcc@gmail.com>
kono
parents:
diff changeset
294
kono
parents:
diff changeset
295 PR bootstrap/81638
kono
parents:
diff changeset
296 * xcoff.c (xcoff_process_linenos): Initialize incl to NULL.
kono
parents:
diff changeset
297
kono
parents:
diff changeset
298 2017-07-28 Tony Reix <tony.reix@atos.net>
kono
parents:
diff changeset
299
kono
parents:
diff changeset
300 * xcoff.c: Don't leak a file descriptor if an archive is malformed.
kono
parents:
diff changeset
301
kono
parents:
diff changeset
302 2017-07-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
303
kono
parents:
diff changeset
304 * fileline.c (fileline_initialize): Print pid_t as long.
kono
parents:
diff changeset
305
kono
parents:
diff changeset
306 2017-07-26 Tony Reix <tony.reix@atos.net>
kono
parents:
diff changeset
307
kono
parents:
diff changeset
308 * configure.ac: Check for XCOFF32/XCOFF64. Check for loadquery.
kono
parents:
diff changeset
309 * filetype.awk: Separate AIX XCOFF32 and XCOFF64.
kono
parents:
diff changeset
310 * xcoff.c: Add support for AIX XCOFF32 and XCOFF64 formats.
kono
parents:
diff changeset
311 * configure, config.h.in: Regenerate.
kono
parents:
diff changeset
312
kono
parents:
diff changeset
313 2017-07-21 Tony Reix <tony.reix@atos.net>
kono
parents:
diff changeset
314
kono
parents:
diff changeset
315 * filetype.awk: Add AIX XCOFF type detection.
kono
parents:
diff changeset
316 * configure.ac: Recognize xcoff format.
kono
parents:
diff changeset
317 * Makefile.am (FORMAT_FILES): Add xcoff.c.
kono
parents:
diff changeset
318 * fileline.c: Include <unistd.h>.
kono
parents:
diff changeset
319 (fileline_initialize): Add case for AIX procfs.
kono
parents:
diff changeset
320 * xcoff.c: New file.
kono
parents:
diff changeset
321 * configure, Makefile.in: Rebuild.
kono
parents:
diff changeset
322
kono
parents:
diff changeset
323 2017-06-21 Richard Biener <rguenther@suse.de>
kono
parents:
diff changeset
324
kono
parents:
diff changeset
325 * configure.ac: Add AC_SYS_LARGEFILE.
kono
parents:
diff changeset
326 * config.h.in: Regenerate.
kono
parents:
diff changeset
327 * configure: Likewise.
kono
parents:
diff changeset
328
kono
parents:
diff changeset
329 2017-06-11 Ian Lance Taylor <iant@golang.org>
kono
parents:
diff changeset
330
kono
parents:
diff changeset
331 * elf.c (backtrace_initialize): Always set *fileline_fn.
kono
parents:
diff changeset
332 * ttest.c: New file.
kono
parents:
diff changeset
333 * btest.c: Move support functions into testlib.c. Change calls to
kono
parents:
diff changeset
334 check to pass file name.
kono
parents:
diff changeset
335 * testlib.c: New file, copied from (part of) btest.c.
kono
parents:
diff changeset
336 * testlib.h: New file, declarations for testlib.c.
kono
parents:
diff changeset
337 * edtest.c: Use testlib.h and testlib.c.
kono
parents:
diff changeset
338 * configure.ac: Test for -pthread, set HAVE_PTHREAD conditional.
kono
parents:
diff changeset
339 * Makefile.am (btest_SOURCES): Add testlib.c.
kono
parents:
diff changeset
340 (edtest_SOURCES): Likewise.
kono
parents:
diff changeset
341 (CHECK_PROGRAMS): Add ttest if HAVE_PTHREAD.
kono
parents:
diff changeset
342 (ttest_SOURCES, ttest_CFLAGS, ttest_LDADD): Define.
kono
parents:
diff changeset
343 * configure, Makefile.in: Rebuild.
kono
parents:
diff changeset
344
kono
parents:
diff changeset
345 2017-05-19 Than McIntosh <thanm@google.com>
kono
parents:
diff changeset
346
kono
parents:
diff changeset
347 * dwarf.c (free_line_header): Don't free dirs if dirs_count == 0.
kono
parents:
diff changeset
348 (read_line_header): Don't allocate dirs if dirs_count == 0.
kono
parents:
diff changeset
349 * edtest.c: New file.
kono
parents:
diff changeset
350 * edtest2.c: New file.
kono
parents:
diff changeset
351 * Makefile.am (edtest_SOURCES, edtest_LDADD): Define.
kono
parents:
diff changeset
352 (check_PROGRAMS): Add edtest.
kono
parents:
diff changeset
353 (edtest2_build.c, gen_edtest2_build): New targets.
kono
parents:
diff changeset
354 * Makefile.in: Rebuild.
kono
parents:
diff changeset
355
kono
parents:
diff changeset
356 2017-03-08 Sam Thursfield <sam.thursfield@codethink.co.uk>
kono
parents:
diff changeset
357
kono
parents:
diff changeset
358 * btest.c (test5): Replace #ifdef guard with 'unused' attribute
kono
parents:
diff changeset
359 to fix compile warning when BACKTRACE_SUPPORTED isn't defined.
kono
parents:
diff changeset
360
kono
parents:
diff changeset
361 2017-01-01 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
362
kono
parents:
diff changeset
363 Update copyright years.
kono
parents:
diff changeset
364
kono
parents:
diff changeset
365 2016-11-15 Matthias Klose <doko@ubuntu.com>
kono
parents:
diff changeset
366
kono
parents:
diff changeset
367 * configure: Regenerate.
kono
parents:
diff changeset
368
kono
parents:
diff changeset
369 2016-09-11 Carlos Liam <carlos@aarzee.me>
kono
parents:
diff changeset
370
kono
parents:
diff changeset
371 * all: Remove meaningless trailing whitespace.
kono
parents:
diff changeset
372
kono
parents:
diff changeset
373 2016-05-18 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
374
kono
parents:
diff changeset
375 PR target/71161
kono
parents:
diff changeset
376 * elf.c (phdr_callback) [__i386__]: Add
kono
parents:
diff changeset
377 __attribute__((__force_align_arg_pointer__)).
kono
parents:
diff changeset
378
kono
parents:
diff changeset
379 2016-03-02 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
kono
parents:
diff changeset
380
kono
parents:
diff changeset
381 * elf.c (backtrace_initialize): Properly initialize elf_fileline_fn to
kono
parents:
diff changeset
382 avoid possible crash.
kono
parents:
diff changeset
383 (elf_add): Don't set *fileline_fn to elf_nodebug value in case of
kono
parents:
diff changeset
384 missing debug info anymore.
kono
parents:
diff changeset
385
kono
parents:
diff changeset
386 2016-02-06 John David Anglin <danglin@gcc.gnu.org>
kono
parents:
diff changeset
387
kono
parents:
diff changeset
388 * mmap.c (MAP_FAILED): Define if not defined.
kono
parents:
diff changeset
389
kono
parents:
diff changeset
390 2016-01-04 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
391
kono
parents:
diff changeset
392 Update copyright years.
kono
parents:
diff changeset
393
kono
parents:
diff changeset
394 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
kono
parents:
diff changeset
395
kono
parents:
diff changeset
396 * configure.ac: Specify that DJGPP do not have mmap
kono
parents:
diff changeset
397 even when sys/mman.h exists.
kono
parents:
diff changeset
398 * configure: Regenerate
kono
parents:
diff changeset
399
kono
parents:
diff changeset
400 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
kono
parents:
diff changeset
401
kono
parents:
diff changeset
402 PR libgfortran/68115
kono
parents:
diff changeset
403 * configure.ac: Set libbacktrace_cv_sys_sync to no on hppa*-*-hpux*.
kono
parents:
diff changeset
404 * configure: Regenerate.
kono
parents:
diff changeset
405 * elf.c (backtrace_initialize): Cast __sync_bool_compare_and_swap call
kono
parents:
diff changeset
406 to void.
kono
parents:
diff changeset
407
kono
parents:
diff changeset
408 2015-09-17 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
409
kono
parents:
diff changeset
410 * posix.c (backtrace_open): Cast second argument of open() to int.
kono
parents:
diff changeset
411
kono
parents:
diff changeset
412 2015-09-11 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
413
kono
parents:
diff changeset
414 * Makefile.am (backtrace.lo): Depend on internal.h.
kono
parents:
diff changeset
415 (sort.lo, stest.lo): Add explicit dependencies.
kono
parents:
diff changeset
416 * Makefile.in: Rebuild.
kono
parents:
diff changeset
417
kono
parents:
diff changeset
418 2015-09-09 Hans-Peter Nilsson <hp@axis.com>
kono
parents:
diff changeset
419
kono
parents:
diff changeset
420 * backtrace.c: #include <sys/types.h>.
kono
parents:
diff changeset
421
kono
parents:
diff changeset
422 2015-09-08 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
423
kono
parents:
diff changeset
424 PR other/67457
kono
parents:
diff changeset
425 * backtrace.c: #include "internal.h".
kono
parents:
diff changeset
426 (struct backtrace_data): Add can_alloc field.
kono
parents:
diff changeset
427 (unwind): If can_alloc is false, don't try to get file/line
kono
parents:
diff changeset
428 information.
kono
parents:
diff changeset
429 (backtrace_full): Set can_alloc field in bdata.
kono
parents:
diff changeset
430 * alloc.c (backtrace_alloc): Don't call error_callback if it is
kono
parents:
diff changeset
431 NULL.
kono
parents:
diff changeset
432 * mmap.c (backtrace_alloc): Likewise.
kono
parents:
diff changeset
433 * internal.h: Update comments for backtrace_alloc and
kono
parents:
diff changeset
434 backtrace_free.
kono
parents:
diff changeset
435
kono
parents:
diff changeset
436 2015-09-08 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
437
kono
parents:
diff changeset
438 PR other/67457
kono
parents:
diff changeset
439 * mmap.c (backtrace_alloc): Correct test for mmap failure.
kono
parents:
diff changeset
440
kono
parents:
diff changeset
441 2015-08-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
kono
parents:
diff changeset
442
kono
parents:
diff changeset
443 * configure.ac: For spu-*-* targets, set have_fcntl to no.
kono
parents:
diff changeset
444 * configure: Regenerate.
kono
parents:
diff changeset
445
kono
parents:
diff changeset
446 2015-08-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
kono
parents:
diff changeset
447
kono
parents:
diff changeset
448 * configure.ac: Remove [disable-shared] argument to LT_INIT.
kono
parents:
diff changeset
449 Remove setting PIC_FLAG when building as target library.
kono
parents:
diff changeset
450 * configure: Regenerate.
kono
parents:
diff changeset
451
kono
parents:
diff changeset
452 2015-08-26 Hans-Peter Nilsson <hp@axis.com>
kono
parents:
diff changeset
453
kono
parents:
diff changeset
454 * configure.ac: Only compile with -fPIC if the target
kono
parents:
diff changeset
455 supports it.
kono
parents:
diff changeset
456 * configure: Regenerate.
kono
parents:
diff changeset
457
kono
parents:
diff changeset
458 2015-08-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
kono
parents:
diff changeset
459
kono
parents:
diff changeset
460 * configure.ac: Set have_mmap to no on spu-*-* targets.
kono
parents:
diff changeset
461 * configure: Regenerate.
kono
parents:
diff changeset
462
kono
parents:
diff changeset
463 2015-08-13 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
464
kono
parents:
diff changeset
465 * dwarf.c (read_function_entry): Add vec_inlined parameter.
kono
parents:
diff changeset
466 Change all callers.
kono
parents:
diff changeset
467
kono
parents:
diff changeset
468 2015-06-11 Martin Sebor <msebor@redhat.com>
kono
parents:
diff changeset
469
kono
parents:
diff changeset
470 PR sanitizer/65479
kono
parents:
diff changeset
471 * dwarf.c (struct line): Add new field idx.
kono
parents:
diff changeset
472 (line_compare): Use it.
kono
parents:
diff changeset
473 (add_line): Set it.
kono
parents:
diff changeset
474 (read_line_info): Reset it.
kono
parents:
diff changeset
475
kono
parents:
diff changeset
476 2015-05-29 Tristan Gingold <gingold@adacore.com>
kono
parents:
diff changeset
477
kono
parents:
diff changeset
478 * pecoff.c: New file.
kono
parents:
diff changeset
479 * Makefile.am (FORMAT_FILES): Add pecoff.c and dependencies.
kono
parents:
diff changeset
480 * Makefile.in: Regenerate.
kono
parents:
diff changeset
481 * filetype.awk: Detect pecoff.
kono
parents:
diff changeset
482 * configure.ac: Define BACKTRACE_SUPPORTS_DATA on elf platforms.
kono
parents:
diff changeset
483 Add pecoff.
kono
parents:
diff changeset
484 * btest.c (test5): Test enabled only if BACKTRACE_SUPPORTS_DATA is
kono
parents:
diff changeset
485 true.
kono
parents:
diff changeset
486 * backtrace-supported.h.in (BACKTRACE_SUPPORTS_DATA): Define.
kono
parents:
diff changeset
487 * configure: Regenerate.
kono
parents:
diff changeset
488 * pecoff.c: New file.
kono
parents:
diff changeset
489
kono
parents:
diff changeset
490 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
kono
parents:
diff changeset
491
kono
parents:
diff changeset
492 * Makefile.in: Regenerated with automake-1.11.6.
kono
parents:
diff changeset
493 * aclocal.m4: Likewise.
kono
parents:
diff changeset
494 * configure: Likewise.
kono
parents:
diff changeset
495
kono
parents:
diff changeset
496 2015-01-24 Matthias Klose <doko@ubuntu.com>
kono
parents:
diff changeset
497
kono
parents:
diff changeset
498 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
kono
parents:
diff changeset
499 * configure: Regenerate.
kono
parents:
diff changeset
500
kono
parents:
diff changeset
501 2015-01-05 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
502
kono
parents:
diff changeset
503 Update copyright years.
kono
parents:
diff changeset
504
kono
parents:
diff changeset
505 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
kono
parents:
diff changeset
506
kono
parents:
diff changeset
507 PR bootstrap/63784
kono
parents:
diff changeset
508 * configure: Regenerated.
kono
parents:
diff changeset
509
kono
parents:
diff changeset
510 2014-11-11 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
511
kono
parents:
diff changeset
512 * ChangeLog.jit: New.
kono
parents:
diff changeset
513
kono
parents:
diff changeset
514 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
kono
parents:
diff changeset
515
kono
parents:
diff changeset
516 PR target/63610
kono
parents:
diff changeset
517 * configure: Regenerate.
kono
parents:
diff changeset
518
kono
parents:
diff changeset
519 2014-10-23 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
520
kono
parents:
diff changeset
521 * internal.h (backtrace_atomic_load_pointer) [no atomic or sync]:
kono
parents:
diff changeset
522 Fix to return void *.
kono
parents:
diff changeset
523
kono
parents:
diff changeset
524 2014-05-08 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
525
kono
parents:
diff changeset
526 * mmap.c (backtrace_free): If freeing a large aligned block of
kono
parents:
diff changeset
527 memory, call munmap rather than holding onto it.
kono
parents:
diff changeset
528 (backtrace_vector_grow): When growing a vector, double the number
kono
parents:
diff changeset
529 of pages requested. When releasing the old version of a grown
kono
parents:
diff changeset
530 vector, pass the correct size to backtrace_free.
kono
parents:
diff changeset
531
kono
parents:
diff changeset
532 2014-03-07 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
533
kono
parents:
diff changeset
534 * sort.c (backtrace_qsort): Use middle element as pivot.
kono
parents:
diff changeset
535
kono
parents:
diff changeset
536 2014-03-06 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
537
kono
parents:
diff changeset
538 * sort.c: New file.
kono
parents:
diff changeset
539 * stest.c: New file.
kono
parents:
diff changeset
540 * internal.h (backtrace_qsort): Declare.
kono
parents:
diff changeset
541 * dwarf.c (read_abbrevs): Call backtrace_qsort instead of qsort.
kono
parents:
diff changeset
542 (read_line_info, read_function_entry): Likewise.
kono
parents:
diff changeset
543 (read_function_info, build_dwarf_data): Likewise.
kono
parents:
diff changeset
544 * elf.c (elf_initialize_syminfo): Likewise.
kono
parents:
diff changeset
545 * Makefile.am (libbacktrace_la_SOURCES): Add sort.c.
kono
parents:
diff changeset
546 (stest_SOURCES, stest_LDADD): Define.
kono
parents:
diff changeset
547 (check_PROGRAMS): Add stest.
kono
parents:
diff changeset
548
kono
parents:
diff changeset
549 2014-02-07 Misty De Meo <misty@brew.sh>
kono
parents:
diff changeset
550
kono
parents:
diff changeset
551 PR target/58710
kono
parents:
diff changeset
552 * configure.ac: Use AC_LINK_IFELSE in check for
kono
parents:
diff changeset
553 _Unwind_GetIPInfo.
kono
parents:
diff changeset
554 * configure: Regenerate.
kono
parents:
diff changeset
555
kono
parents:
diff changeset
556 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
kono
parents:
diff changeset
557
kono
parents:
diff changeset
558 Update copyright years
kono
parents:
diff changeset
559
kono
parents:
diff changeset
560 2013-12-06 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
561
kono
parents:
diff changeset
562 * elf.c (ET_DYN): Undefine and define again.
kono
parents:
diff changeset
563 (elf_add): Add exe argument, if true and ehdr.e_type is ET_DYN,
kono
parents:
diff changeset
564 return early -1 without closing the descriptor.
kono
parents:
diff changeset
565 (struct phdr_data): Add exe_descriptor.
kono
parents:
diff changeset
566 (phdr_callback): If pd->exe_descriptor is not -1, for very first
kono
parents:
diff changeset
567 call if dlpi_name is NULL just call elf_add with the exe_descriptor,
kono
parents:
diff changeset
568 otherwise backtrace_close the exe_descriptor if not -1. Adjust
kono
parents:
diff changeset
569 call to elf_add.
kono
parents:
diff changeset
570 (backtrace_initialize): Adjust call to elf_add. If it returns
kono
parents:
diff changeset
571 -1, set pd.exe_descriptor to descriptor, otherwise set it to -1.
kono
parents:
diff changeset
572
kono
parents:
diff changeset
573 2013-12-05 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
574
kono
parents:
diff changeset
575 * alloc.c (backtrace_vector_finish): Add error_callback and data
kono
parents:
diff changeset
576 parameters. Call backtrace_vector_release. Return address base.
kono
parents:
diff changeset
577 * mmap.c (backtrace_vector_finish): Add error_callback and data
kono
parents:
diff changeset
578 parameters. Return address base.
kono
parents:
diff changeset
579 * dwarf.c (read_function_info): Get new address base from
kono
parents:
diff changeset
580 backtrace_vector_finish.
kono
parents:
diff changeset
581 * internal.h (backtrace_vector_finish): Update declaration.
kono
parents:
diff changeset
582
kono
parents:
diff changeset
583 2013-11-27 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
584
kono
parents:
diff changeset
585 * dwarf.c (find_address_ranges): New static function, broken out
kono
parents:
diff changeset
586 of build_address_map.
kono
parents:
diff changeset
587 (build_address_map): Call it.
kono
parents:
diff changeset
588 * btest.c (check): Check for missing filename or function, rather
kono
parents:
diff changeset
589 than crashing.
kono
parents:
diff changeset
590 (f3): Check that enough frames were returned.
kono
parents:
diff changeset
591
kono
parents:
diff changeset
592 2013-11-19 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
593
kono
parents:
diff changeset
594 * backtrace.h (backtrace_syminfo_callback): Add symsize argument.
kono
parents:
diff changeset
595 * elf.c (elf_syminfo): Pass 0 or sym->size to the callback as
kono
parents:
diff changeset
596 last argument.
kono
parents:
diff changeset
597 * btest.c (struct symdata): Add size field.
kono
parents:
diff changeset
598 (callback_three): Add symsize argument. Copy it to the data->size
kono
parents:
diff changeset
599 field.
kono
parents:
diff changeset
600 (f23): Set symdata.size to 0.
kono
parents:
diff changeset
601 (test5): Likewise. If sizeof (int) > 1, lookup address of
kono
parents:
diff changeset
602 ((uintptr_t) &global) + 1. Verify symdata.val and symdata.size
kono
parents:
diff changeset
603 values.
kono
parents:
diff changeset
604
kono
parents:
diff changeset
605 * atomic.c: Include sys/types.h.
kono
parents:
diff changeset
606
kono
parents:
diff changeset
607 2013-11-18 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
608
kono
parents:
diff changeset
609 * configure.ac: Check for support of __atomic extensions.
kono
parents:
diff changeset
610 * internal.h: Declare or #define atomic functions for use in
kono
parents:
diff changeset
611 backtrace code.
kono
parents:
diff changeset
612 * atomic.c: New file.
kono
parents:
diff changeset
613 * dwarf.c (dwarf_lookup_pc): Use atomic functions.
kono
parents:
diff changeset
614 (dwarf_fileline, backtrace_dwarf_add): Likewise.
kono
parents:
diff changeset
615 * elf.c (elf_add_syminfo_data, elf_syminfo): Likewise.
kono
parents:
diff changeset
616 (backtrace_initialize): Likewise.
kono
parents:
diff changeset
617 * fileline.c (fileline_initialize): Likewise.
kono
parents:
diff changeset
618 * Makefile.am (libbacktrace_la_SOURCES): Add atomic.c.
kono
parents:
diff changeset
619 * configure, config.h.in, Makefile.in: Rebuild.
kono
parents:
diff changeset
620
kono
parents:
diff changeset
621 2013-11-18 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
622
kono
parents:
diff changeset
623 * elf.c (SHN_UNDEF): Define.
kono
parents:
diff changeset
624 (elf_initialize_syminfo): Add base_address argument. Ignore symbols
kono
parents:
diff changeset
625 with st_shndx == SHN_UNDEF. Add base_address to address fields.
kono
parents:
diff changeset
626 (elf_add): Adjust caller.
kono
parents:
diff changeset
627
kono
parents:
diff changeset
628 * elf.c (phdr_callback): Process info->dlpi_addr == 0 normally.
kono
parents:
diff changeset
629
kono
parents:
diff changeset
630 2013-11-16 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
631
kono
parents:
diff changeset
632 * backtrace.h (backtrace_create_state): Correct comment about
kono
parents:
diff changeset
633 threading.
kono
parents:
diff changeset
634
kono
parents:
diff changeset
635 2013-11-15 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
636
kono
parents:
diff changeset
637 * backtrace.h (backtrace_syminfo): Update comment and parameter
kono
parents:
diff changeset
638 name to take any address, not just a PC value.
kono
parents:
diff changeset
639 * elf.c (STT_OBJECT): Define.
kono
parents:
diff changeset
640 (elf_nosyms): Rename parameter pc to addr.
kono
parents:
diff changeset
641 (elf_symbol_search): Rename local variable pc to addr.
kono
parents:
diff changeset
642 (elf_initialize_syminfo): Add STT_OBJECT symbols to elf_symbols.
kono
parents:
diff changeset
643 (elf_syminfo): Rename parameter pc to addr.
kono
parents:
diff changeset
644 * btest.c (global): New global variable.
kono
parents:
diff changeset
645 (test5): New test.
kono
parents:
diff changeset
646 (main): Call test5.
kono
parents:
diff changeset
647
kono
parents:
diff changeset
648 2013-10-17 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
649
kono
parents:
diff changeset
650 * elf.c (elf_add): Don't get the wrong offsets if a debug section
kono
parents:
diff changeset
651 is missing.
kono
parents:
diff changeset
652
kono
parents:
diff changeset
653 2013-10-15 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
654
kono
parents:
diff changeset
655 * configure.ac: Add --enable-host-shared, setting up
kono
parents:
diff changeset
656 pre-existing PIC_FLAG variable within Makefile.am et al.
kono
parents:
diff changeset
657 * configure: Regenerate.
kono
parents:
diff changeset
658
kono
parents:
diff changeset
659 2013-09-20 Alan Modra <amodra@gmail.com>
kono
parents:
diff changeset
660
kono
parents:
diff changeset
661 * configure: Regenerate.
kono
parents:
diff changeset
662
kono
parents:
diff changeset
663 2013-07-23 Alexander Monakov <amonakov@ispras.ru>
kono
parents:
diff changeset
664
kono
parents:
diff changeset
665 * elf.c (elf_syminfo): Loop over the elf_syminfo_data chain.
kono
parents:
diff changeset
666
kono
parents:
diff changeset
667 2013-07-23 Alexander Monakov <amonakov@ispras.ru>
kono
parents:
diff changeset
668
kono
parents:
diff changeset
669 * elf.c (backtrace_initialize): Pass elf_fileline_fn to
kono
parents:
diff changeset
670 dl_iterate_phdr callbacks.
kono
parents:
diff changeset
671
kono
parents:
diff changeset
672 2013-03-25 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
673
kono
parents:
diff changeset
674 * alloc.c: #include <sys/types.h>.
kono
parents:
diff changeset
675 * mmap.c: Likewise.
kono
parents:
diff changeset
676
kono
parents:
diff changeset
677 2013-01-31 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
678
kono
parents:
diff changeset
679 * dwarf.c (read_function_info): Permit fvec parameter to be NULL.
kono
parents:
diff changeset
680 (dwarf_lookup_pc): Don't use ddata->fvec if threaded.
kono
parents:
diff changeset
681
kono
parents:
diff changeset
682 2013-01-25 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
683
kono
parents:
diff changeset
684 PR other/56076
kono
parents:
diff changeset
685 * dwarf.c (read_line_header): Don't crash if DW_AT_comp_dir
kono
parents:
diff changeset
686 attribute was not seen.
kono
parents:
diff changeset
687
kono
parents:
diff changeset
688 2013-01-16 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
689
kono
parents:
diff changeset
690 * dwarf.c (struct unit): Add filename and abs_filename fields.
kono
parents:
diff changeset
691 (build_address_map): Set new fields when reading unit.
kono
parents:
diff changeset
692 (dwarf_lookup_pc): If we don't find an entry in the line table,
kono
parents:
diff changeset
693 just return the main file name.
kono
parents:
diff changeset
694
kono
parents:
diff changeset
695 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
kono
parents:
diff changeset
696
kono
parents:
diff changeset
697 Update copyright years.
kono
parents:
diff changeset
698
kono
parents:
diff changeset
699 2013-01-01 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
700
kono
parents:
diff changeset
701 PR bootstrap/54834
kono
parents:
diff changeset
702 * Makefile.am (AM_CPPFLAGS): Remove -I ../gcc/include and -I
kono
parents:
diff changeset
703 $(MULTIBUILDTOP)/../../gcc/include.
kono
parents:
diff changeset
704 * Makefile.in: Rebuild.
kono
parents:
diff changeset
705
kono
parents:
diff changeset
706 2013-01-01 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
707
kono
parents:
diff changeset
708 PR other/55536
kono
parents:
diff changeset
709 * mmap.c (backtrace_alloc): Don't call sync functions if not
kono
parents:
diff changeset
710 threaded.
kono
parents:
diff changeset
711 (backtrace_free): Likewise.
kono
parents:
diff changeset
712
kono
parents:
diff changeset
713 2012-12-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
kono
parents:
diff changeset
714
kono
parents:
diff changeset
715 * mmapio.c: Define MAP_FAILED if not defined.
kono
parents:
diff changeset
716
kono
parents:
diff changeset
717 2012-12-11 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
718
kono
parents:
diff changeset
719 PR bootstrap/54926
kono
parents:
diff changeset
720 * Makefile.am (AM_CFLAGS): Remove -frandom-seed=$@.
kono
parents:
diff changeset
721 * configure.ac: If --with-target-subdir, add -frandom-seed=$@
kono
parents:
diff changeset
722 to EXTRA_FLAGS unconditionally, otherwise check whether the compiler
kono
parents:
diff changeset
723 accepts it.
kono
parents:
diff changeset
724 * Makefile.in: Regenerated.
kono
parents:
diff changeset
725 * configure: Regenerated.
kono
parents:
diff changeset
726
kono
parents:
diff changeset
727 2012-12-07 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
728
kono
parents:
diff changeset
729 PR bootstrap/54926
kono
parents:
diff changeset
730 * Makefile.am (AM_CFLAGS): Add -frandom-seed=$@.
kono
parents:
diff changeset
731 * Makefile.in: Regenerated.
kono
parents:
diff changeset
732
kono
parents:
diff changeset
733 2012-11-20 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
734
kono
parents:
diff changeset
735 * dwarf.c (read_attribute): Always clear val.
kono
parents:
diff changeset
736
kono
parents:
diff changeset
737 2012-11-13 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
738
kono
parents:
diff changeset
739 PR other/55312
kono
parents:
diff changeset
740 * configure.ac: Only add -Werror if building a target library.
kono
parents:
diff changeset
741 * configure: Rebuild.
kono
parents:
diff changeset
742
kono
parents:
diff changeset
743 2012-11-12 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
744 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
745 Gerald Pfeifer <gerald@pfeifer.com>
kono
parents:
diff changeset
746
kono
parents:
diff changeset
747 * configure.ac: Check for getexecname.
kono
parents:
diff changeset
748 * fileline.c: #include <errno.h>. Define getexecname if not
kono
parents:
diff changeset
749 available.
kono
parents:
diff changeset
750 (fileline_initialize): Try to find the executable in a few
kono
parents:
diff changeset
751 different ways.
kono
parents:
diff changeset
752 * print.c (error_callback): Only print the filename if it came
kono
parents:
diff changeset
753 from the backtrace state.
kono
parents:
diff changeset
754 * configure, config.h.in: Rebuild.
kono
parents:
diff changeset
755
kono
parents:
diff changeset
756 2012-10-29 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
757
kono
parents:
diff changeset
758 * mmap.c (backtrace_vector_release): Correct last patch: add
kono
parents:
diff changeset
759 aligned, not size.
kono
parents:
diff changeset
760
kono
parents:
diff changeset
761 2012-10-29 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
762
kono
parents:
diff changeset
763 * mmap.c (backtrace_vector_release): Make sure freed block is
kono
parents:
diff changeset
764 aligned on 8-byte boundary.
kono
parents:
diff changeset
765
kono
parents:
diff changeset
766 2012-10-26 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
767
kono
parents:
diff changeset
768 PR other/55087
kono
parents:
diff changeset
769 * posix.c (backtrace_open): Add does_not_exist parameter.
kono
parents:
diff changeset
770 * elf.c (phdr_callback): Do not warn if shared library could not
kono
parents:
diff changeset
771 be opened.
kono
parents:
diff changeset
772 * fileline.c (fileline_initialize): Update calls to
kono
parents:
diff changeset
773 backtrace_open.
kono
parents:
diff changeset
774 * internal.h (backtrace_open): Update declaration.
kono
parents:
diff changeset
775
kono
parents:
diff changeset
776 2012-10-26 Jack Howarth <howarth@bromo.med.uc.edu>
kono
parents:
diff changeset
777
kono
parents:
diff changeset
778 PR target/55061
kono
parents:
diff changeset
779 * configure.ac: Check for _Unwind_GetIPInfo function declaration.
kono
parents:
diff changeset
780 * configure: Regenerate.
kono
parents:
diff changeset
781
kono
parents:
diff changeset
782 2012-10-24 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
783
kono
parents:
diff changeset
784 PR target/55061
kono
parents:
diff changeset
785 * configure.ac: Check whether -funwind-tables option works.
kono
parents:
diff changeset
786 * configure: Rebuild.
kono
parents:
diff changeset
787
kono
parents:
diff changeset
788 2012-10-11 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
789
kono
parents:
diff changeset
790 * configure.ac: Do not use dl_iterate_phdr on Solaris 10.
kono
parents:
diff changeset
791 * configure: Rebuild.
kono
parents:
diff changeset
792
kono
parents:
diff changeset
793 2012-10-10 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
794
kono
parents:
diff changeset
795 * elf.c: Rename all Elf typedefs to start with b_elf, and be all
kono
parents:
diff changeset
796 lower case.
kono
parents:
diff changeset
797
kono
parents:
diff changeset
798 2012-10-10 Hans-Peter Nilsson <hp@bitrange.com>
kono
parents:
diff changeset
799
kono
parents:
diff changeset
800 * elf.c (elf_add_syminfo_data): Add casts to avoid warning.
kono
parents:
diff changeset
801
kono
parents:
diff changeset
802 2012-10-09 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
803
kono
parents:
diff changeset
804 * dwarf.c (dwarf_fileline): Add cast to avoid warning.
kono
parents:
diff changeset
805 (backtrace_dwarf_add): Likewise.
kono
parents:
diff changeset
806
kono
parents:
diff changeset
807 2012-10-09 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
808
kono
parents:
diff changeset
809 Add support for tracing through shared libraries.
kono
parents:
diff changeset
810 * configure.ac: Check for link.h and dl_iterate_phdr.
kono
parents:
diff changeset
811 * elf.c: #include <link.h> if system has dl_iterate_phdr. #undef
kono
parents:
diff changeset
812 ELF macros before #defining them.
kono
parents:
diff changeset
813 (dl_phdr_info, dl_iterate_phdr): Define if system does not have
kono
parents:
diff changeset
814 dl_iterate_phdr.
kono
parents:
diff changeset
815 (struct elf_syminfo_data): Add next field.
kono
parents:
diff changeset
816 (elf_initialize_syminfo): Initialize next field.
kono
parents:
diff changeset
817 (elf_add_syminfo_data): New static function.
kono
parents:
diff changeset
818 (elf_add): New static function, broken out of
kono
parents:
diff changeset
819 backtrace_initialize. Call backtrace_dwarf_add instead of
kono
parents:
diff changeset
820 backtrace_dwarf_initialize.
kono
parents:
diff changeset
821 (struct phdr_data): Define.
kono
parents:
diff changeset
822 (phdr_callback): New static function.
kono
parents:
diff changeset
823 (backtrace_initialize): Call elf_add.
kono
parents:
diff changeset
824 * dwarf.c (struct dwarf_data): Add next and base_address fields.
kono
parents:
diff changeset
825 (add_unit_addr): Add base_address parameter. Change all callers.
kono
parents:
diff changeset
826 (add_unit_ranges, build_address_map): Likewise.
kono
parents:
diff changeset
827 (add_line): Add ddata parameter. Change all callers.
kono
parents:
diff changeset
828 (read_line_program, add_function_range): Likewise.
kono
parents:
diff changeset
829 (dwarf_lookup_pc): New static function, broken out of
kono
parents:
diff changeset
830 dwarf_fileline.
kono
parents:
diff changeset
831 (dwarf_fileline): Call dwarf_lookup_pc.
kono
parents:
diff changeset
832 (build_dwarf_data): New static function.
kono
parents:
diff changeset
833 (backtrace_dwarf_add): New function.
kono
parents:
diff changeset
834 (backtrace_dwarf_initialize): Remove.
kono
parents:
diff changeset
835 * internal.h (backtrace_dwarf_initialize): Don't declare.
kono
parents:
diff changeset
836 (backtrace_dwarf_add): Declare.
kono
parents:
diff changeset
837 * configure, config.h.in: Rebuild.
kono
parents:
diff changeset
838
kono
parents:
diff changeset
839 2012-10-04 Gerald Pfeifer <gerald@pfeifer.com>
kono
parents:
diff changeset
840
kono
parents:
diff changeset
841 * btest.c (f23): Avoid uninitialized variable warning.
kono
parents:
diff changeset
842
kono
parents:
diff changeset
843 2012-10-04 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
844
kono
parents:
diff changeset
845 * dwarf.c: If the system header files do not declare strnlen,
kono
parents:
diff changeset
846 provide our own version.
kono
parents:
diff changeset
847
kono
parents:
diff changeset
848 2012-10-03 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
849
kono
parents:
diff changeset
850 * dwarf.c (read_uleb128): Fix overflow test.
kono
parents:
diff changeset
851 (read_sleb128): Likewise.
kono
parents:
diff changeset
852 (build_address_map): Don't change unit_buf.start.
kono
parents:
diff changeset
853
kono
parents:
diff changeset
854 2012-10-02 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
855
kono
parents:
diff changeset
856 PR other/54761
kono
parents:
diff changeset
857 * configure.ac (EXTRA_FLAGS): New.
kono
parents:
diff changeset
858 * Makefile.am (AM_FLAGS): Add $(EXTRA_FLAGS).
kono
parents:
diff changeset
859 * configure, Makefile.in: Regenerate.
kono
parents:
diff changeset
860
kono
parents:
diff changeset
861 2012-09-29 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
862
kono
parents:
diff changeset
863 PR other/54749
kono
parents:
diff changeset
864 * fileline.c (fileline_initialize): Pass errnum as -1 when
kono
parents:
diff changeset
865 reporting that we could not read executable information after a
kono
parents:
diff changeset
866 previous failure.
kono
parents:
diff changeset
867
kono
parents:
diff changeset
868 2012-09-27 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
869
kono
parents:
diff changeset
870 PR bootstrap/54732
kono
parents:
diff changeset
871 * configure.ac: Add no-dependencies to AM_INIT_AUTOMAKE.
kono
parents:
diff changeset
872 * Makefile.am: Add dependencies for all objects.
kono
parents:
diff changeset
873 * configure, aclocal.m4, Makefile.in: Rebuild.
kono
parents:
diff changeset
874
kono
parents:
diff changeset
875 2012-09-27 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
876
kono
parents:
diff changeset
877 PR other/54726
kono
parents:
diff changeset
878 * elf.c (backtrace_initialize): Set *fileln_fn, not
kono
parents:
diff changeset
879 state->fileln_fn.
kono
parents:
diff changeset
880
kono
parents:
diff changeset
881 2012-09-19 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
882
kono
parents:
diff changeset
883 * configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled
kono
parents:
diff changeset
884 as a target library.
kono
parents:
diff changeset
885 * configure: Rebuild.
kono
parents:
diff changeset
886
kono
parents:
diff changeset
887 2012-09-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
888 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
889
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
890 * configure.ac (GCC_HEADER_STDINT): Invoke.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
891 * backtrace.h: If we can't find <stdint.h>, use "gstdint.h".
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
892 * btest.c: Don't include <stdint.h>.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
893 * dwarf.c: Likewise.
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
894 * configure, aclocal.m4, Makefile.in, config.h.in: Rebuild.
111
kono
parents:
diff changeset
895
kono
parents:
diff changeset
896 2012-09-18 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
897
kono
parents:
diff changeset
898 PR bootstrap/54623
kono
parents:
diff changeset
899 * Makefile.am (AM_CPPFLAGS): Define.
kono
parents:
diff changeset
900 (AM_CFLAGS): Remove -I options.
kono
parents:
diff changeset
901 * Makefile.in: Rebuild.
kono
parents:
diff changeset
902
kono
parents:
diff changeset
903 2012-09-18 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
904
kono
parents:
diff changeset
905 * posix.c (O_BINARY): Define if not defined.
kono
parents:
diff changeset
906 (backtrace_open): Pass O_BINARY to open. Only call fcntl if
kono
parents:
diff changeset
907 HAVE_FCNTL is defined.
kono
parents:
diff changeset
908 * configure.ac: Test for the fcntl function.
kono
parents:
diff changeset
909 * configure, config.h.in: Rebuild.
kono
parents:
diff changeset
910
kono
parents:
diff changeset
911 2012-09-18 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
912
kono
parents:
diff changeset
913 * btest.c (test1, test2, test3, test4): Add the unused attribute.
kono
parents:
diff changeset
914
kono
parents:
diff changeset
915 2012-09-18 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
916
kono
parents:
diff changeset
917 * dwarf.c: Correct test of HAVE_DECL_STRNLEN.
kono
parents:
diff changeset
918
kono
parents:
diff changeset
919 2012-09-18 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
920
kono
parents:
diff changeset
921 * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
kono
parents:
diff changeset
922 * mmapio.c: Don't define _GNU_SOURCE.
kono
parents:
diff changeset
923 * configure, config.h.in: Rebuild.
kono
parents:
diff changeset
924
kono
parents:
diff changeset
925 2012-09-18 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
926
kono
parents:
diff changeset
927 * configure.ac: Check whether strnlen is declared.
kono
parents:
diff changeset
928 * dwarf.c: Declare strnlen if not declared.
kono
parents:
diff changeset
929 * configure, config.h.in: Rebuild.
kono
parents:
diff changeset
930
kono
parents:
diff changeset
931 2012-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
932
kono
parents:
diff changeset
933 * fileline.c: Include <stdlib.h>.
kono
parents:
diff changeset
934 * mmap.c: Likewise.
kono
parents:
diff changeset
935
kono
parents:
diff changeset
936 2012-09-17 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
937
kono
parents:
diff changeset
938 PR bootstrap/54611
kono
parents:
diff changeset
939 * nounwind.c (backtrace_full): Rename from backtrace. Add state
kono
parents:
diff changeset
940 parameter.
kono
parents:
diff changeset
941
kono
parents:
diff changeset
942 2012-09-17 Gerald Pfeifer <gerald@pfeifer.com>
kono
parents:
diff changeset
943
kono
parents:
diff changeset
944 PR bootstrap/54611
kono
parents:
diff changeset
945 * nounwind.c (backtrace_simple): Add state parameter.
kono
parents:
diff changeset
946
kono
parents:
diff changeset
947 2012-09-17 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
948
kono
parents:
diff changeset
949 PR bootstrap/54609
kono
parents:
diff changeset
950 * unknown.c (unknown_fileline): Add state parameter, remove
kono
parents:
diff changeset
951 fileline_data parameter, name error_callback parameter.
kono
parents:
diff changeset
952 (backtrace_initialize): Add state parameter.
kono
parents:
diff changeset
953
kono
parents:
diff changeset
954 2012-09-17 Ian Lance Taylor <iant@google.com>
kono
parents:
diff changeset
955
kono
parents:
diff changeset
956 * Initial implementation.
kono
parents:
diff changeset
957
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
958 Copyright (C) 2012-2018 Free Software Foundation, Inc.
111
kono
parents:
diff changeset
959
kono
parents:
diff changeset
960 Copying and distribution of this file, with or without modification,
kono
parents:
diff changeset
961 are permitted in any medium without royalty provided the copyright
kono
parents:
diff changeset
962 notice and this notice are preserved.