]>
Commit | Line | Data |
---|---|---|
8fc1a49c RB |
1 | 2023-05-08 Release Manager |
2 | ||
3 | * GCC 12.3.0 released. | |
4 | ||
2ee5e430 RB |
5 | 2022-08-19 Release Manager |
6 | ||
7 | * GCC 12.2.0 released. | |
8 | ||
1ea978e3 JJ |
9 | 2022-05-06 Release Manager |
10 | ||
11 | * GCC 12.1.0 released. | |
12 | ||
9d84ed68 GA |
13 | 2022-04-05 Ian Lance Taylor <iant@golang.org> |
14 | ||
15 | * elf.c (elf_zlib_inflate): Don't skip initial aligned byte in | |
16 | uncompressed block. | |
17 | ||
0bdb0498 GA |
18 | 2022-02-17 Ian Lance Taylor <iant@golang.org> |
19 | ||
20 | * dwarf.c (find_address_ranges): Handle skeleton units. | |
21 | (read_function_entry): Likewise. | |
22 | ||
cb3afcd2 GA |
23 | 2022-02-16 Ian Lance Taylor <iant@golang.org> |
24 | ||
25 | * dwarf.c (build_address_map): Initialize DWARF 5 fields of unit. | |
26 | ||
682ede39 GA |
27 | 2022-02-03 David Seifert <soap@gentoo.org> |
28 | Jakub Jelinek <jakub@redhat.com> | |
29 | ||
30 | * configure.ac: Support --disable-werror. | |
31 | * configure: Regenerate. | |
32 | ||
054e57e4 GA |
33 | 2021-12-28 Francois-Xavier Coudert <fxcoudert@gmail.com> |
34 | ||
35 | PR libbacktrace/103822 | |
36 | * Makefile.am: Fix newline. | |
37 | * Makefile.in: Regenerate. | |
38 | ||
af2852b9 GA |
39 | 2021-11-12 Martin Liska <mliska@suse.cz> |
40 | ||
41 | PR libbacktrace/103167 | |
42 | * elf.c (elf_uncompress_lzma_block): Cast to unsigned int. | |
43 | (elf_uncompress_lzma): Likewise. | |
44 | * xztest.c (test_samples): memcpy only if v > 0. | |
45 | ||
c2bd5d8a GA |
46 | 2021-10-22 Martin Liska <mliska@suse.cz> |
47 | ||
48 | PR testsuite/102742 | |
49 | * btest.c (MIN_DESCRIPTOR): New. | |
50 | (MAX_DESCRIPTOR): Likewise. | |
51 | (check_available_files): Likewise. | |
52 | (check_open_files): Check only file descriptors that | |
53 | were not available at the entry. | |
54 | (main): Call check_available_files. | |
55 | ||
261512fa GA |
56 | 2021-08-13 Sergei Trofimovich <siarheit@google.com> |
57 | ||
58 | * install-debuginfo-for-buildid.sh.in: Force non-localized readelf | |
59 | output with LANG=C. | |
60 | ||
c8abc205 GA |
61 | 2021-06-28 Clément Chigot <clement.chigot@atos.net> |
62 | ||
63 | * xcoff.c (SSUBTYP_DWRNGES): New define. | |
64 | (xcoff_add): Use correct XCOFF DWARF section subtype | |
65 | for DEBUG_RANGES. Remove lineoff workaround. | |
66 | Adjust base_address. | |
67 | (xcoff_initialize_syminfo): Adapt to new base_address. | |
68 | (xcoff_lookup_pc): Likewise. | |
69 | (xcoff_initialize_fileline): Likewise. | |
70 | ||
e690396d GA |
71 | 2021-05-03 H.J. Lu <hjl.tools@gmail.com> |
72 | ||
73 | PR bootstrap/99703 | |
74 | * configure: Regenerated. | |
75 | ||
f3641ac7 GA |
76 | 2021-03-03 Ian Lance Taylor <iant@golang.org> |
77 | ||
78 | * dwarf.c (read_line_program): Don't special case file 0. | |
79 | (read_function_entry): Likewise. | |
80 | ||
d97a92dc GA |
81 | 2021-03-02 Ian Lance Taylor <iant@golang.org> |
82 | ||
83 | PR libbacktrace/98818 | |
84 | * dwarf.c (dwarf_buf_error): Add errnum parameter. Change all | |
85 | callers. | |
86 | * backtrace.h: Update backtrace_error_callback comment. | |
87 | ||
fab095da GA |
88 | 2021-02-12 Ian Lance Taylor <iant@golang.org> |
89 | ||
90 | * configure.ac: Check for objcopy --add-gnu-debuglink by using | |
91 | objcopy --help. | |
92 | * configure: Regenerate | |
93 | ||
ef1f8ee6 GA |
94 | 2021-01-18 Ian Lance Taylor <iant@golang.org> |
95 | ||
96 | * Makefile.am (%_dwz): If dwz fails, use uncompressed debug info. | |
97 | * Makefile.in: Regenerate. | |
98 | * configure: Regenerate. | |
99 | ||
100 | 2021-01-18 Ian Lance Taylor <iant@golang.org> | |
101 | ||
102 | PR debug/98716 | |
103 | * dwarf.c (read_v2_paths): Allocate zero entry for dirs and | |
104 | filenames. | |
105 | (read_line_program): Remove parameter u, change caller. Don't | |
106 | subtract one from dirs and filenames index. | |
107 | (read_function_entry): Don't subtract one from filenames index. | |
108 | ||
651b8a50 GA |
109 | 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org> |
110 | ||
111 | * configure: Re-generate. | |
112 | ||
6e1edf48 GA |
113 | 2020-12-05 Iain Sandoe <iain@sandoe.co.uk> |
114 | ||
115 | PR target/97865 | |
116 | * configure: Regenerate. | |
117 | ||
11860cf4 GA |
118 | 2020-12-02 Ian Lance Taylor <iant@golang.org> |
119 | ||
120 | * dwarf.c (resolve_string): Use > rather than >= to check whether | |
121 | string index extends past buffer. | |
122 | (resolve_addr_index): Similarly for address index. | |
123 | ||
a9625c50 GA |
124 | 2020-11-29 John David Anglin <danglin@gcc.gnu.org> |
125 | ||
126 | * configure: Regenerate. | |
127 | ||
e2e04288 GA |
128 | 2020-10-20 Ian Lance Taylor <iant@golang.org> |
129 | ||
130 | * internal.h (ATTRIBUTE_FALLTHROUGH): Define. | |
131 | * elf.c (elf_zlib_inflate): Use ATTRIBUTE_FALLTHROUGH. | |
132 | ||
e84761c6 GA |
133 | 2020-09-28 Ian Lance Taylor <iant@golang.org> |
134 | ||
135 | PR libbacktrace/97082 | |
136 | * Makefile.am (check_DATA): Add mtest.dSYM if USE_DSYMUTIL. | |
137 | * Makefile.in: Regenerate. | |
138 | ||
139 | 2020-09-28 Ian Lance Taylor <iant@golang.org> | |
140 | ||
141 | PR libbacktrace/97227 | |
142 | * configure.ac (USE_DSYMUTIL): Define instead of HAVE_DSYMUTIL. | |
143 | * Makefile.am: Change all uses of HAVE_DSYMUTIL to USE_DSYMUTIL. | |
144 | * configure: Regenerate. | |
145 | * Makefile.in: Regenerate. | |
146 | ||
82b77dee GA |
147 | 2020-09-23 Ian Lance Taylor <iant@golang.org> |
148 | ||
149 | * dwarf.c (report_inlined_functions): Handle PC == -1 and PC == | |
150 | p->low. | |
151 | (dwarf_lookup_pc): Likewise. | |
152 | ||
ecde1b0a GA |
153 | 2020-09-17 Ian Lance Taylor <iant@golang.org> |
154 | ||
155 | PR libbacktrace/97080 | |
156 | * fileline.c (backtrace_syminfo_to_full_callback): New function. | |
157 | (backtrace_syminfo_to_full_error_callback): New function. | |
158 | * elf.c (elf_nodebug): Call syminfo_fn if possible. | |
159 | * internal.h (struct backtrace_call_full): Define. | |
160 | (backtrace_syminfo_to_full_callback): Declare. | |
161 | (backtrace_syminfo_to_full_error_callback): Declare. | |
162 | * mtest.c (f3): Only check all[i] if data.index permits. | |
163 | ||
164 | 2020-09-16 Iain Sandoe <iain@sandoe.co.uk> | |
165 | ||
166 | * macho.c (MACH_O_CPU_TYPE_PPC): New. | |
167 | (MACH_O_CPU_TYPE_PPC64): New. | |
168 | Add compile-tests for powerpc to the Mach-O variants. | |
169 | ||
50a71cd0 GA |
170 | 2020-09-14 Ian Lance Taylor <iant@golang.org> |
171 | ||
172 | PR libbacktrace/93608 | |
173 | Add support for MiniDebugInfo. | |
174 | * elf.c (struct elf_view): Define. Replace most uses of | |
175 | backtrace_view with elf_view. | |
176 | (elf_get_view): New static functions. Replace most calls of | |
177 | backtrace_get_view with elf_get_view. | |
178 | (elf_release_view): New static functions. Replace most calls of | |
179 | backtrace_release_view with elf_release_view. | |
180 | (elf_uncompress_failed): Rename from elf_zlib_failed. Change all | |
181 | callers. | |
182 | (LZMA_STATES, LZMA_POS_STATES, LZMA_DIST_STATES): Define. | |
183 | (LZMA_DIST_SLOTS, LZMA_DIST_MODEL_START): Define. | |
184 | (LZMA_DIST_MODEL_END, LZMA_FULL_DISTANCES): Define. | |
185 | (LZMA_ALIGN_SIZE, LZMA_LEN_LOW_SYMBOLS): Define. | |
186 | (LZMA_LEN_MID_SYMBOLS, LZMA_LEN_HIGH_SYMBOLS): Define. | |
187 | (LZMA_LITERAL_CODERS_MAX, LZMA_LITERAL_CODER_SIZE): Define. | |
188 | (LZMA_PROB_IS_MATCH_LEN, LZMA_PROB_IS_REP_LEN): Define. | |
189 | (LZMA_PROB_IS_REP0_LEN, LZMA_PROB_IS_REP1_LEN): Define. | |
190 | (LZMA_PROB_IS_REP2_LEN, LZMA_PROB_IS_REP0_LONG_LEN): Define. | |
191 | (LZMA_PROB_DIST_SLOT_LEN, LZMA_PROB_DIST_SPECIAL_LEN): Define. | |
192 | (LZMA_PROB_DIST_ALIGN_LEN): Define. | |
193 | (LZMA_PROB_MATCH_LEN_CHOICE_LEN): Define. | |
194 | (LZMA_PROB_MATCH_LEN_CHOICE2_LEN): Define. | |
195 | (LZMA_PROB_MATCH_LEN_LOW_LEN): Define. | |
196 | (LZMA_PROB_MATCH_LEN_MID_LEN): Define. | |
197 | (LZMA_PROB_MATCH_LEN_HIGH_LEN): Define. | |
198 | (LZMA_PROB_REP_LEN_CHOICE_LEN): Define. | |
199 | (LZMA_PROB_REP_LEN_CHOICE2_LEN): Define. | |
200 | (LZMA_PROB_REP_LEN_LOW_LEN): Define. | |
201 | (LZMA_PROB_REP_LEN_MID_LEN): Define. | |
202 | (LZMA_PROB_REP_LEN_HIGH_LEN): Define. | |
203 | (LZMA_PROB_LITERAL_LEN): Define. | |
204 | (LZMA_PROB_IS_MATCH_OFFSET, LZMA_PROB_IS_REP_OFFSET): Define. | |
205 | (LZMA_PROB_IS_REP0_OFFSET, LZMA_PROB_IS_REP1_OFFSET): Define. | |
206 | (LZMA_PROB_IS_REP2_OFFSET): Define. | |
207 | (LZMA_PROB_IS_REP0_LONG_OFFSET): Define. | |
208 | (LZMA_PROB_DIST_SLOT_OFFSET): Define. | |
209 | (LZMA_PROB_DIST_SPECIAL_OFFSET): Define. | |
210 | (LZMA_PROB_DIST_ALIGN_OFFSET): Define. | |
211 | (LZMA_PROB_MATCH_LEN_CHOICE_OFFSET): Define. | |
212 | (LZMA_PROB_MATCH_LEN_CHOICE2_OFFSET): Define. | |
213 | (LZMA_PROB_MATCH_LEN_LOW_OFFSET): Define. | |
214 | (LZMA_PROB_MATCH_LEN_MID_OFFSET): Define. | |
215 | (LZMA_PROB_MATCH_LEN_HIGH_OFFSET): Define. | |
216 | (LZMA_PROB_REP_LEN_CHOICE_OFFSET): Define. | |
217 | (LZMA_PROB_REP_LEN_CHOICE2_OFFSET): Define. | |
218 | (LZMA_PROB_REP_LEN_LOW_OFFSET): Define. | |
219 | (LZMA_PROB_REP_LEN_MID_OFFSET): Define. | |
220 | (LZMA_PROB_REP_LEN_HIGH_OFFSET): Define. | |
221 | (LZMA_PROB_LITERAL_OFFSET): Define. | |
222 | (LZMA_PROB_TOTAL_COUNT): Define. | |
223 | (LZMA_IS_MATCH, LZMA_IS_REP, LZMA_IS_REP0): Define. | |
224 | (LZMA_IS_REP1, LZMA_IS_REP2, LZMA_IS_REP0_LONG): Define. | |
225 | (LZMA_DIST_SLOT, LZMA_DIST_SPECIAL, LZMA_DIST_ALIGN): Define. | |
226 | (LZMA_MATCH_LEN_CHOICE, LZMA_MATCH_LEN_CHOICE2): Define. | |
227 | (LZMA_MATCH_LEN_LOW, LZMA_MATCH_LEN_MID): Define. | |
228 | (LZMA_MATCH_LEN_HIGH, LZMA_REP_LEN_CHOICE): Define. | |
229 | (LZMA_REP_LEN_CHOICE2, LZMA_REP_LEN_LOW): Define. | |
230 | (LZMA_REP_LEN_MID, LZMA_REP_LEN_HIGH, LZMA_LITERAL): Define. | |
231 | (elf_lzma_varint): New static function. | |
232 | (elf_lzma_range_normalize): New static function. | |
233 | (elf_lzma_bit, elf_lzma_integer): New static functions. | |
234 | (elf_lzma_reverse_integer): New static function. | |
235 | (elf_lzma_len, elf_uncompress_lzma_block): New static functions. | |
236 | (elf_uncompress_lzma): New static function. | |
237 | (backtrace_uncompress_lzma): New function. | |
238 | (elf_add): Add memory and memory_size parameters. Change all | |
239 | callers. Look for .gnu_debugdata section, and, if found, | |
240 | decompress it and use it for symbols and debug info. Permit the | |
241 | descriptor parameter to be -1. | |
242 | * internal.h (backtrace_uncompress_lzma): Declare. | |
243 | * mtest.c: New file. | |
244 | * xztest.c: New file. | |
245 | * configure.ac: Check for nm, xz, and comm programs. Check for | |
246 | liblzma library. | |
247 | (HAVE_MINIDEBUG): Define. | |
248 | * Makefile.am (mtest_SOURCES): Define. | |
249 | (mtest_CFLAGS, mtest_LDADD): Define. | |
250 | (TESTS): Add mtest_minidebug if HAVE_MINIDEBUG. | |
251 | (%_minidebug): New pattern rule, if HAVE_MINIDEBUG. | |
252 | (xztest_SOURCES, xztest_CFLAGS, xztest_LDADD): Define. | |
253 | (xztest_alloc_SOURCES, xztest_alloc_CFLAGS): Define | |
254 | (xztest_alloc_LDADD): Define. | |
255 | (BUILDTESTS): Add mtest, xztest, xztest_alloc. | |
256 | (CLEANFILES): Add files created by minidebug pattern. | |
257 | (btest.lo): Correct INCDIR reference. | |
258 | (mtest.lo, xztest.lo, ztest.lo): New targets. | |
259 | * configure: Regenerate. | |
260 | * config.h.in: Regenerate. | |
261 | * Makefile.in: Regenerate. | |
262 | ||
80f86e78 GA |
263 | 2020-09-09 Ian Lance Taylor <iant@golang.org> |
264 | ||
265 | * pecoff.c (coff_initialize_syminfo): Add is_64 parameter. | |
266 | (coff_add): Determine and pass is_64. | |
267 | ||
268 | 2020-09-09 Ian Lance Taylor <iant@golang.org> | |
269 | ||
270 | PR libbacktrace/96973 | |
271 | * fileline.c (macho_get_executable_path): New static function. | |
272 | (fileline_initialize): Call macho_get_executable_path. | |
273 | ||
274 | 2020-09-09 Ian Lance Taylor <iant@golang.org> | |
275 | ||
276 | * dwarf.c (function_addrs_search): Compare against the next entry | |
277 | low address, not the high address. | |
278 | (unit_addrs_search): Likewise. | |
279 | (build_address_map): Add a trailing unit_addrs. | |
280 | (read_function_entry): Add a trailing function_addrs. | |
281 | (read_function_info): Likewise. | |
282 | (report_inlined_functions): Search backward for function_addrs | |
283 | match. | |
284 | (dwarf_lookup_pc): Search backward for unit_addrs and | |
285 | function_addrs matches. | |
286 | ||
31a05046 GA |
287 | 2020-09-08 Ian Lance Taylor <iant@golang.org> |
288 | ||
289 | * simple.c (simple_unwind): Correct comment spelling. | |
290 | ||
291 | 2020-09-08 Ian Lance Taylor <iant@golang.org> | |
292 | ||
293 | * macho.c (macho_add_dsym): Make space for '/' in dsym. Use | |
294 | correct length when freeing diralc. | |
295 | ||
296 | 2020-09-08 Ian Lance Taylor <iant@golang.org> | |
297 | ||
298 | PR libbacktrace/96973 | |
299 | * macho.c (macho_add_fat): Correctly swap 32-bit file offset. | |
300 | ||
301 | 2020-09-08 Ian Lance Taylor <iant@golang.org> | |
302 | ||
303 | PR libbacktrace/96971 | |
304 | * filetype.awk: Only match magic number at start of line. | |
305 | ||
b2b24d30 GA |
306 | 2020-08-24 Ian Lance Taylor <iant@golang.org> |
307 | ||
308 | * macho.c (MACH_O_MH_MAGIC_FAT_64): Define. | |
309 | (MACH_O_MH_CIGAM_FAT_64): Define. | |
310 | (struct macho_fat_arch_64): Define. | |
311 | (macho_add_fat): Add and use is_64 parameter. | |
312 | (macho_add): Recognize 64-bit fat files. | |
313 | ||
d48cca8f GA |
314 | 2020-07-30 H.J. Lu <hjl.tools@gmail.com> |
315 | ||
316 | PR bootstrap/96202 | |
317 | * configure: Regenerated. | |
318 | ||
50873cc5 GA |
319 | 2020-07-08 Ian Lance Taylor <iant@golang.org> |
320 | ||
321 | * configure.ac: Test linker support for DWARF5 | |
322 | * configure: Regenerate | |
323 | ||
885ef72f GA |
324 | 2020-05-29 H.J. Lu <hjl.tools@gmail.com> |
325 | ||
326 | PR bootstrap/95413 | |
327 | * configure: Regenerated. | |
328 | ||
4c1a5d8b L |
329 | 2020-05-15 H.J. Lu <hongjiu.lu@intel.com> |
330 | ||
331 | PR bootstrap/95147 | |
332 | * configure: Regenerated. | |
333 | ||
8d286dd1 L |
334 | 2020-05-14 H.J. Lu <hongjiu.lu@intel.com> |
335 | ||
336 | * configure: Regenerated. | |
337 | ||
d2ec2786 ILT |
338 | 2020-05-13 Ian Lance Taylor <iant@golang.org> |
339 | ||
340 | * ztest.c (test_large): Mark state ATTRIBUTE_UNUSED. | |
341 | ||
702adbb2 ILT |
342 | 2020-05-13 Ian Lance Taylor <iant@golang.org> |
343 | ||
344 | PR go/95061 | |
345 | * posix.c (backtrace_open): Treat EACCESS like ENOENT. | |
346 | ||
347 | 2020-05-12 H.J. Lu <hongjiu.lu@intel.com> | |
d2148648 L |
348 | |
349 | * Makefile.am (AM_CFLAGS): Add $(CET_HOST_FLAGS). | |
350 | * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and | |
351 | AC_SUBST(CET_HOST_FLAGS). Clear CET_HOST_FLAGS if jit isn't | |
352 | enabled. | |
353 | * Makefile.in: Regenerated. | |
354 | * configure: Likewise. | |
355 | ||
47f4703c ILT |
356 | 2020-05-11 Ian Lance Taylor <iant@golang.org> |
357 | ||
358 | PR libbacktrace/95012 | |
359 | * configure.ac: Check for getpagesize declaration. | |
360 | * mmap.c: Declare getpagesize if necessary. | |
361 | * mmapio.c: Likewise. | |
362 | * configure: Regenerate. | |
363 | * config.h.in: Regenerate. | |
364 | * Makefile.in: Regenerate. | |
365 | ||
ef639420 ILT |
366 | 2020-05-09 Roland McGrath <mcgrathr@google.com> |
367 | ||
368 | * elf.c (elf_add): Bail early if there are no section headers at all. | |
369 | ||
8600440e ILT |
370 | 2020-05-09 Ian Lance Taylor <iant@golang.org> |
371 | ||
372 | * elf.c (elf_add): Don't free strtab if an error occurs after | |
373 | recording symbol information. | |
374 | ||
dea40c94 ILT |
375 | 2020-05-09 Ian Lance Taylor <iant@golang.org> |
376 | ||
377 | PR libbacktrace/88745 | |
378 | * macho.c: New file. | |
379 | * filetype.awk: Recognize Mach-O files. | |
380 | * Makefile.am (FORMAT_FILES): Add macho.c. | |
381 | (check_DATA): New variable. Set to .dSYM if HAVE_DSYMUTIL. | |
382 | (%.dSYM): New pattern target. | |
383 | (test_macho_SOURCES, test_macho_CFLAGS): New targets. | |
384 | (test_macho_LDADD): New target. | |
385 | (BUILDTESTS): Add test_macho. | |
386 | (macho.lo): Add dependencies. | |
387 | * configure.ac: Recognize macho file type. Check for | |
388 | mach-o/dyld.h. Don't try to run objcopy if we don't find it. | |
389 | Look for dsymutil and define a HAVE_DSYMUTIL conditional. | |
390 | * Makefile.in: Regenerate. | |
391 | * configure: Regenerate. | |
392 | * config.h.in: Regenerate. | |
393 | ||
4b26b138 ILT |
394 | 2020-05-09 Ian Lance Taylor <iant@golang.org> |
395 | ||
396 | * read.c (backtrace_get_view): Support short read. | |
397 | ||
31ae7b86 ILT |
398 | 2020-05-09 Ian Lance Taylor <iant@golang.org> |
399 | ||
400 | * elf.c (elf_add): If debug sections are very large or far apart, | |
401 | read them individually rather than as a single view. | |
402 | ||
26135684 ILT |
403 | 2020-05-08 Ian Lance Taylor <iant@golang.org> |
404 | ||
405 | * fileline.c (sysctl_exec_name): New static function. | |
406 | (sysctl_exec_name1): New macro or static function. | |
407 | (sysctl_exec_name2): Likewise. | |
408 | (fileline_initialize): Try sysctl_exec_name[12]. | |
409 | * configure.ac: Check for sysctl args to fetch executable name. | |
410 | * configure: Regenerate. | |
411 | * config.h.in: Regenerate. | |
412 | ||
9a3d019a ILT |
413 | 2020-02-15 Ian Lance Taylor <iant@golang.org> |
414 | ||
415 | * ztest.c (test_large): Update file to current libgo test file. | |
416 | ||
628ee3c2 ILT |
417 | 2020-02-03 Ian Lance Taylor <iant@golang.org> |
418 | ||
419 | * Makefile.am (libbacktrace_TEST_CFLAGS): Define. | |
420 | (test_elf32_CFLAGS): Use $(libbacktrace_test_CFLAGS). | |
421 | (test_elf_64_CFLAGS, test_xcoff_32_CFLAGS): Likewise. | |
422 | (test_xcoff_64_CFLAGS, test_pecoff_CFLAGS): Likewise. | |
423 | (test_unknown_CFLAGS, unittest_CFLAGS): Likewise. | |
424 | (unittest_alloc_CFLAGS, allocfail_CFLAGS): Likewise. | |
425 | (b2test_CFLAGS, b3test_CFLAGS, btest_CFLAGS): Likewise. | |
426 | (btest_lto_CFLAGS, btest_alloc_CFLAGS, stest_CFLAGS): Likewise. | |
427 | (stest_alloc_CFLAGS): Likewise. | |
428 | * Makefile.in: Regenerate. | |
429 | * ztest.c (error_callback_compress): Mark vdata unused. | |
430 | (test_large): Add casts to avoid warnings. | |
431 | ||
8d9254fc JJ |
432 | 2020-01-01 Jakub Jelinek <jakub@redhat.com> |
433 | ||
434 | Update copyright years. | |
435 | ||
c926fd82 ILT |
436 | 2019-12-13 Ian Lance Taylor <iant@golang.org> |
437 | ||
438 | Add DWARF 5 support. | |
439 | * dwarf.c (struct attr): Add val field. | |
440 | (enum attr_val_encoding): Add ATTR_VAL_ADDDRESS_INDEX, | |
441 | ATTR_VAL_STRING_INDEX, ATTR_VAL_RNGLISTS_INDEX. | |
442 | (struct line_header): Add addrsize field. | |
443 | (struct line_header_format): Define. | |
444 | (struct unit): Add str_offsets_base, addr_base, and rnglists_base | |
445 | fields. | |
446 | (read_uint24): New static function. | |
447 | (read_attribute): Add implicit_val parameter. Replace dwarf_str | |
448 | and dwarf_str_size parameters with dwarf_sections parameter. Add | |
449 | support for new DWARF 5 forms. Change all callers. | |
450 | (resolve_string): New static function. | |
451 | (resolve_addr_index): Likewise. | |
452 | (read_abbrevs): Support DW_FORM_implicit_const. | |
453 | (struct pcrange): Add lowpc_is_addr_index, highpc_is_addr_Index, | |
454 | and ranges_is_index fields. | |
455 | (update_pcrange): Support DWARF 5 encodings. | |
456 | (add_high_low_range): New static function, split out of | |
457 | add_ranges. | |
458 | (add_ranges_from_ranges): Likewise. | |
459 | (add_ranges_from_rnglists): New static function. | |
460 | (add_ranges): Just call new helper functions. | |
461 | (find_address_ranges): Use resolve_string for strings, after | |
462 | reading all attributes. Handle new DWARF 5 attributes. | |
463 | (build_address_map): Support DWARF 5 compilation units. | |
464 | (read_v2_paths): New static function, split out of | |
465 | read_line_header. | |
466 | (read_lnct): New static function. | |
467 | (read_line_header_format_entries): Likewise. | |
468 | (read_line_header): Add ddata parameter. Support DWARF 5 line | |
469 | headers. Call new helper functions. Change all callers. | |
470 | (read_line_program): Use addrsize from line program header. Don't | |
471 | special case directory index 0 for DWARF 5. | |
472 | (read_referenced_name): Use resolve_string. | |
473 | (read_function_entry): Handle DWARF 5 encodings. Use | |
474 | resolve_string. | |
475 | * internal.h (enum dwarf_section): Add DEBUG_ADDR, | |
476 | DEBUG_STR_OFFSETS, DEBUG_LINE_STR, DEBUG_RNGLISTS. | |
477 | * elf.c (dwarf_section_names): Add new section names. | |
478 | * pecoff.c (dwarf_section_names): Likewise. | |
479 | * xcoff.c (xcoff_add): Clear dwarf_sections before setting | |
480 | fields. | |
481 | * configure.ac: Define HAVE_DWARF5 automake conditional. | |
482 | * Makefile.am (dwarf5_SOURCES): New variable if HAVE_DWARF5. | |
483 | (dwarf5_CFLAGS, dwarf5_LDADD): Likewise. | |
484 | (dwarf5_alloc_SOURCES, dwarf5_alloc_CFLAGS): Likewise. | |
485 | (dwarf5_alloc_LDADD): Likewise. | |
486 | (BUILDTESTS): Add dwarf5 tests if HAVE_DWARF5. | |
487 | (CLEANFILES, clean-local): Define. | |
488 | ||
4b3fc188 ILT |
489 | 2019-12-08 Ian Lance Taylor <iant@golang.org> |
490 | ||
491 | * dwarf.c (struct pcrange): Define. | |
492 | (update_pcrange, add_ranges): New static functions. | |
493 | (add_unit_addr): Change signature to work with add_ranges. Don't | |
494 | add base_address here. | |
495 | (add_unit_ranges): Remove. | |
496 | (find_address_ranges): Replace str/ranges parameters with | |
497 | dwarf_sections. Use update_pcrange and add_ranges. Change all | |
498 | callers. | |
499 | (add_function_range): Change signature to work with add_ranges. | |
500 | Don't add base_address here. | |
501 | (add_function_ranges): Remove. | |
502 | (read_function_entry): Use update_pcrange and add_ranges. | |
503 | ||
70bfe5a7 ILT |
504 | 2019-12-04 Ian Lance Taylor <iant@golang.org> |
505 | ||
506 | * edtest.c (test1): Add noclone attribute. | |
507 | ||
66ab5839 ILT |
508 | 2019-12-04 Ian Lance Taylor <iant@golang.org> |
509 | ||
510 | * internal.h (enum dwarf_section): Define. | |
511 | (struct dwarf_sections): Define. | |
512 | (backtrace_dwarf_add): Update declaration to replace specific | |
513 | section parameters with dwarf_sections parameter. | |
514 | * dwarf.c (struct dwarf_data): Replace specific section fields | |
515 | with dwarf_sections field. | |
516 | (read_attribute): Use dwarf_sections with altlink. | |
517 | (build_address_map): Replace specific section parameters with | |
518 | dwarf_sections parameter. Change all callers. | |
519 | (read_line_info): Use dwarf_sections with ddata. | |
520 | (read_referenced_name): Likewise. | |
521 | (add_function_ranges): Likewise. | |
522 | (read_function_entry): Likewise. | |
523 | (read_function_info): Likewise. | |
524 | (build_dwarf_data): Replace specific section parameters with | |
525 | dwarf_sections parameter. Change all callers. | |
526 | (backtrace_dwarf_add): Likewise. | |
527 | * elf.c (enum debug_section): Remove. | |
528 | (dwarf_section_names): Remove .zdebug names. | |
529 | (elf_add): Track zsections separately. Build dwarf_sections. | |
530 | * pecoff.c (enum debug_section): Remove. | |
531 | (struct debug_section_info): Remove data field. | |
532 | (coff_add): Build dwarf_sections. | |
533 | * xcoff.c (enum dwarf_section): Remove. Replace DWSECT_xxx | |
534 | references with DEBUG_xxx references. | |
535 | (xcoff_add): Build dwarf_sections. | |
536 | ||
e9085da5 MR |
537 | 2019-09-27 Maciej W. Rozycki <macro@wdc.com> |
538 | ||
539 | * configure: Regenerate. | |
540 | ||
5fe5f75f ILT |
541 | 2019-09-26 Ian Lance Taylor <iant@golang.org> |
542 | ||
543 | PR libbacktrace/91908 | |
544 | * pecoff.c (backtrace_initialize): Explicitly cast unchecked | |
545 | __sync_bool_compare_and_swap to void. | |
546 | * xcoff.c (backtrace_initialize): Likewise. | |
547 | ||
2f2aeda9 UW |
548 | 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com> |
549 | ||
550 | * configure.ac: Remove references to spu. | |
551 | * configure: Regenerate. | |
552 | ||
245254b8 CC |
553 | 2019-05-24 Clement Chigot <clement.chigot@atos.net> |
554 | ||
555 | * Makefile.am (BUILDTESTS): Remove test_elf, add test_elf_32 and | |
556 | test_elf_64. | |
557 | * Makefile.in: Regenerate. | |
558 | ||
ccd1242e RO |
559 | 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
560 | ||
561 | * configure.ac (have_dl_iterate_phdr): Remove *-*-solaris2.10* | |
562 | handling. | |
563 | * configure: Regenerate. | |
564 | ||
7856fb45 ILT |
565 | 2019-03-11 Ian Lance Taylor <iant@golang.org> |
566 | ||
567 | PR libbacktrace/89669 | |
568 | * Makefile.am (BUILDTESTS): Only add ztest and ztest_alloc if | |
569 | HAVE_ELF. | |
570 | * Makefile.in: Regenerate. | |
571 | ||
067aef03 TV |
572 | 2019-02-26 Tom de Vries <tdevries@suse.de> |
573 | ||
574 | * btest.c (test5): Allow global.* as minimal symbol name for global. | |
575 | ||
d831b1ec TV |
576 | 2019-02-26 Tom de Vries <tdevries@suse.de> |
577 | ||
578 | * Makefile.am (TESTS): Only add b3test_dwz_buildid if HAVE_DWZ. | |
579 | * Makefile.in: Regenerate. | |
580 | ||
68641fb7 TV |
581 | 2019-02-12 Tom de Vries <tdevries@suse.de> |
582 | ||
583 | PR libbacktrace/81983 | |
584 | * dwarf.c (dwarf_lookup_pc): Don't call bsearch if nmemb == 0. | |
585 | ||
c51b2c8c TV |
586 | 2019-02-10 Tom de Vries <tdevries@suse.de> |
587 | ||
588 | * Makefile.am (BUILDTESTS): Add btest_lto. | |
589 | * Makefile.in: Regenerate. | |
590 | * btest.c (test1, f2, f3, test3, f22, f23): Declare with | |
591 | __attribute__((noclone)). | |
592 | ||
4af50e13 TV |
593 | 2019-02-08 Tom de Vries <tdevries@suse.de> |
594 | ||
595 | * backtrace.c (backtrace_full): Declare with __attribute__((noinline)). | |
596 | * print.c (backtrace_print): Same. | |
597 | * simple.c (backtrace_simple): Same. | |
598 | ||
2bd0a246 TV |
599 | 2019-02-08 Tom de Vries <tdevries@suse.de> |
600 | ||
601 | PR libbacktrace/78063 | |
602 | * dwarf.c (build_address_map): Keep all parsed units. | |
603 | (read_referenced_name_from_attr): Handle DW_FORM_ref_addr. | |
604 | ||
3a3f5dd1 TV |
605 | 2019-01-31 Tom de Vries <tdevries@suse.de> |
606 | ||
607 | PR libbacktrace/89136 | |
608 | * elf.c (elf_add): Read build-id if with_buildid_data. Fix | |
609 | 'debugaltlink_name_len =+ 1'. | |
610 | ||
fddbc193 TV |
611 | 2019-01-29 Tom de Vries <tdevries@suse.de> |
612 | ||
613 | * install-debuginfo-for-buildid.sh.in: New script. | |
614 | * Makefile.am (check_PROGRAMS): Add b2test and b3test. | |
615 | (TESTS): Add b2test_buildid and b3test_dwz_buildid. | |
616 | * Makefile.in: Regenerate. | |
617 | * configure.ac (HAVE_ELF): Set with AM_CONDITIONAL. | |
618 | (READELF): Set with AC_CHECK_PROG. | |
619 | (install-debuginfo-for-buildid.sh): Generate with AC_CONFIG_FILES. | |
620 | * configure: Regenerate. | |
621 | * elf.c (SYSTEM_BUILD_ID_DIR): Factor out of ... | |
622 | (elf_open_debugfile_by_buildid): ... here. | |
623 | ||
57f0d303 TV |
624 | 2019-01-29 Tom de Vries <tdevries@suse.de> |
625 | ||
626 | * Makefile.am: Replace check_PROGRAMS with BUILDTESTS, except for | |
627 | allocfail. | |
628 | (TESTS): Don't add check_PROGRAMS. Add BUILDTESTS. | |
629 | (check_PROGRAMS): Add BUILDTESTS. | |
630 | * Makefile.in: Regenerate. | |
631 | ||
62d4a355 TV |
632 | 2019-01-28 Tom de Vries <tdevries@suse.de> |
633 | ||
634 | * Makefile.am (xcoff_%.c): Generate sed result into temporary file. | |
635 | Use $< to access prerequisite. | |
636 | * Makefile.in: Regenerate. | |
637 | ||
4bfcd139 NS |
638 | 2019-01-25 Nathan Sidwell <nathan@acm.org> |
639 | ||
640 | * elf.c (elf_add): Pass "" filename to recursive call with | |
641 | separated debug. | |
642 | ||
c75795fa TV |
643 | 2019-01-25 Tom de Vries <tdevries@suse.de> |
644 | ||
645 | * elf.c (elf_add): When handling .gnu_debugaltlink, call elf_add with | |
646 | filename == "". | |
647 | * Makefile.am (TESTS): Add btest_dwz_gnudebuglink. | |
648 | * Makefile.in: Regenerate. | |
649 | ||
37ab491d TV |
650 | 2019-01-25 Tom de Vries <tdevries@suse.de> |
651 | ||
652 | * Makefile.am: Rewrite dtest rule into "%_gnudebuglink" pattern rule. | |
653 | (TESTS): Rename dtest to btest_gnudebuglink. | |
654 | * Makefile.in: Regenerate. | |
655 | ||
3f5d2012 TV |
656 | 2019-01-23 Tom de Vries <tdevries@suse.de> |
657 | ||
658 | * dwarf.c (struct unit): Use size_t for low_offset/high_offset fields. | |
659 | (units_search, find_unit): Use size_t for offset. | |
660 | (build_address_map): Use size_t for unit_offset. | |
661 | ||
5e2a7241 GP |
662 | 2019-01-20 Gerald Pfeifer <gerald@pfeifer.com> |
663 | ||
664 | * allocfail.c (main): Increase portability of printf statement. | |
665 | ||
8b248c17 ILT |
666 | 2019-01-18 Ian Lance Taylor <iant@golang.org> |
667 | ||
668 | PR libbacktrace/88890 | |
669 | * mmapio.c (backtrace_get_view): Change size parameter to | |
670 | uint64_t. Check that value fits in size_t. | |
671 | * read.c (backtrace_get_view): Likewise. | |
672 | * internal.h (backtrace_get_view): Update declaration. | |
673 | * elf.c (elf_add): Pass shstrhdr->sh_size to backtrace_get_view. | |
674 | ||
10f48858 TV |
675 | 2019-01-17 Tom de Vries <tdevries@suse.de> |
676 | ||
677 | PR libbacktrace/82857 | |
678 | * configure.ac (DWZ): Set with AC_CHECK_PROG. | |
679 | (HAVE_DWZ): Set with AM_CONDITIONAL. | |
680 | * configure: Regenerate. | |
681 | * Makefile.am (TESTS): Add btest_dwz. | |
682 | * Makefile.in: Regenerate. | |
683 | ||
1c2a9a37 TV |
684 | 2019-01-17 Tom de Vries <tdevries@suse.de> |
685 | ||
686 | PR libbacktrace/82857 | |
687 | * dwarf.c (enum attr_val_encoding): Add ATTR_VAL_REF_ALT_INFO. | |
688 | (read_attribute): Handle DW_FORM_GNU_ref_alt using | |
689 | ATTR_VAL_REF_ALT_INFO. | |
690 | (read_referenced_name_from_attr): Handle DW_FORM_GNU_ref_alt. | |
691 | ||
9d576782 TV |
692 | 2019-01-17 Tom de Vries <tdevries@suse.de> |
693 | ||
694 | * dwarf.c (struct unit): Add low_offset and high_offset fields. | |
695 | (struct unit_vector): New type. | |
696 | (struct dwarf_data): Add units and units_counts fields. | |
697 | (find_unit): New function. | |
698 | (find_address_ranges): Add and handle unit_tag parameter. | |
699 | (build_address_map): Add and handle units_vec parameter. | |
700 | (build_dwarf_data): Pass units_vec to build_address_map. Store resulting | |
701 | units vector. | |
702 | ||
f2f00d3a TV |
703 | 2019-01-17 Tom de Vries <tdevries@suse.de> |
704 | ||
705 | PR libbacktrace/82857 | |
706 | * dwarf.c (read_attribute): Handle DW_FORM_GNU_strp_alt | |
707 | using altlink. | |
708 | ||
944f59ff TV |
709 | 2019-01-17 Tom de Vries <tdevries@suse.de> |
710 | ||
711 | * dwarf.c (enum attr_val_encoding): Add ATTR_VAL_NONE. | |
712 | (read_attribute): Add altlink parameter. Handle missing altlink for | |
713 | DW_FORM_GNU_strp_alt and DW_FORM_GNU_ref_alt. | |
714 | (find_address_ranges, build_address_map, build_dwarf_data): Add and | |
715 | handle altlink parameter. | |
716 | (read_referenced_name, read_function_entry): Add argument to | |
717 | read_attribute call. | |
718 | ||
9ad458d5 TV |
719 | 2019-01-17 Tom de Vries <tdevries@suse.de> |
720 | ||
721 | * dwarf.c (struct dwarf_data): Add altlink field. | |
722 | (backtrace_dwarf_add): Add and handle fileline_altlink parameter. | |
723 | * elf.c (elf_add): Add argument to backtrace_dwarf_add call. | |
724 | (phdr_callback, backtrace_initialize): Add argument to elf_add calls. | |
725 | * internal.h (backtrace_dwarf_add): Add fileline_altlink parameter. | |
726 | * pecoff.c (coff_add): Add argument to backtrace_dwarf_add call. | |
727 | * xcoff.c (xcoff_add): Same. | |
728 | ||
e6f00c83 TV |
729 | 2019-01-17 Tom de Vries <tdevries@suse.de> |
730 | ||
731 | * internal.h (backtrace_dwarf_add): Add fileline_entry parameter. | |
732 | * dwarf.c (backtrace_dwarf_add): Add and handle fileline_entry parameter. | |
733 | * elf.c (elf_add): Add and handle fileline_entry parameter. Add | |
734 | argument to backtrace_dwarf_add call. | |
735 | (phdr_callback, backtrace_initialize): Add argument to elf_add calls. | |
736 | * pecoff.c (coff_add): Add argument to backtrace_dwarf_add call. | |
737 | * xcoff.c (xcoff_add): Same. | |
738 | ||
a34c2a3d TV |
739 | 2019-01-17 Tom de Vries <tdevries@suse.de> |
740 | ||
741 | * elf.c (elf_add): Add and handle with_buildid_data and | |
742 | with_buildid_size parameters. Handle .gnu_debugaltlink section. | |
743 | (phdr_callback, backtrace_initialize): Add arguments to elf_add calls. | |
744 | ||
07e1534f TV |
745 | 2019-01-16 Tom de Vries <tdevries@suse.de> |
746 | ||
747 | * dwarf.c (read_referenced_name_from_attr): New function. Factor out | |
748 | of ... | |
749 | (read_referenced_name): ... here, and ... | |
750 | (read_function_entry): ... here. | |
751 | ||
df1de064 TV |
752 | 2019-01-16 Tom de Vries <tdevries@suse.de> |
753 | ||
754 | * dwarf.c (read_referenced_name): Don't allow DW_AT_name to override any | |
755 | name. | |
756 | (read_function_entry): Same. Don't allow name found via | |
757 | DW_AT_abstract_origin or case DW_AT_specification to override linkage | |
758 | name. | |
759 | ||
67914693 SL |
760 | 2019-01-09 Sandra Loosemore <sandra@codesourcery.com> |
761 | ||
762 | PR other/16615 | |
763 | ||
764 | * backtrace.h: Mechanically replace "can not" with "cannot". | |
765 | ||
a5544970 JJ |
766 | 2019-01-01 Jakub Jelinek <jakub@redhat.com> |
767 | ||
768 | Update copyright years. | |
769 | ||
4b420b27 GP |
770 | 2018-12-29 Gerald Pfeifer <gerald@pfeifer.com> |
771 | ||
772 | * Makefile.am (xcoff_%.c): Use an actual newline instead of \n | |
773 | in sed pattern. | |
774 | * Makefile.in: Regenerate. | |
775 | ||
eb33bf0a TV |
776 | 2018-12-28 Tom de Vries <tdevries@suse.de> |
777 | ||
778 | * dwarf.c (build_address_map): Reuse unused units. | |
779 | ||
d9aa0961 TV |
780 | 2018-12-28 Tom de Vries <tdevries@suse.de> |
781 | ||
782 | * dwarf.c (build_address_map): Simplify by removing local variable | |
783 | abbrevs. | |
784 | ||
40b8d3b2 ILT |
785 | 2018-12-28 Ian Lance Taylor <iant@golang.org> |
786 | Tom de Vries <tdevries@suse.de> | |
787 | ||
788 | PR libbacktrace/88063 | |
789 | * dwarf.c (free_unit_addrs_vector): Remove. | |
790 | (build_address_map): Keep track of allocated units in vector. Free | |
791 | allocated units and corresponding abbrevs upon failure. Remove now | |
792 | redundant call to free_unit_addrs_vector. Free addrs vector upon | |
793 | failure. Free allocated unit vector. | |
794 | ||
53a52133 TV |
795 | 2018-12-28 Tom de Vries <tdevries@suse.de> |
796 | ||
797 | * dwarf.c (build_address_map): Free addrs vector upon failure. | |
798 | ||
a37a52e5 TV |
799 | 2018-12-14 Tom de Vries <tdevries@suse.de> |
800 | ||
801 | PR testsuite/88491 | |
802 | * allocfail.sh: Remove "set -o pipefail". | |
803 | ||
d665cd9b TV |
804 | 2018-12-12 Tom de Vries <tdevries@suse.de> |
805 | ||
806 | * Makefile.am (TESTS): Add allocfail.sh. | |
807 | (check_PROGRAMS): Add allocfail. | |
808 | * Makefile.in: Regenerate. | |
809 | * instrumented_alloc.c: New file. Redefine malloc and realloc. | |
810 | Include alloc.c. | |
811 | * allocfail.c: New file. | |
812 | * allocfail.sh: New file. | |
813 | ||
187b9e1d TV |
814 | 2018-11-30 Tom de Vries <tdevries@suse.de> |
815 | ||
816 | * Makefile.am (check_PROGRAMS): Add test_elf, test_xcoff_32, | |
817 | test_xcoff_64, test_pecoff and test_unknown. | |
818 | * Makefile.in: Regenerate. | |
819 | * test_format.c: New file. | |
820 | ||
9b7d1a97 TV |
821 | 2018-11-30 Tom de Vries <tdevries@suse.de> |
822 | ||
823 | * Makefile.am : Add _with_alloc version for each test in | |
824 | check_PROGRAMS. | |
825 | * Makefile.in: Regenerate. | |
826 | ||
518a3a21 TV |
827 | 2018-11-30 Tom de Vries <tdevries@suse.de> |
828 | ||
829 | * internal.h (backtrace_vector_free): New static inline fuction, | |
830 | factored out of ... | |
831 | * dwarf.c (read_line_info): ... here. | |
832 | ||
18c742b5 TV |
833 | 2018-11-28 Tom de Vries <tdevries@suse.de> |
834 | ||
835 | * dwarf.c (read_abbrevs): Fix handling of abbrevs->abbrevs allocation | |
836 | failure. | |
837 | ||
6d760a01 TV |
838 | 2018-11-27 Tom de Vries <tdevries@suse.de> |
839 | ||
840 | * mmap.c (backtrace_vector_release): Same. | |
841 | * unittest.c (test1): Add check. | |
842 | ||
0c155f24 TV |
843 | 2018-11-27 Tom de Vries <tdevries@suse.de> |
844 | ||
845 | * alloc.c (backtrace_vector_release): Handle vec->size == 0 using free | |
846 | instead of realloc. | |
847 | * Makefile.am (check_PROGRAMS): Add unittest. | |
848 | * Makefile.in: Regenerate. | |
849 | * unittest.c: New file. | |
850 | ||
292592c5 TV |
851 | 2018-11-22 Tom de Vries <tdevries@suse.de> |
852 | ||
853 | * dwarf.c (read_initial_length): Factor out of ... | |
854 | (build_address_map, read_line_info): ... here. | |
855 | ||
17112570 TV |
856 | 2018-11-21 Tom de Vries <tdevries@suse.de> |
857 | ||
858 | * dwarf.c (read_string): Factor out of ... | |
859 | (read_attribute, read_line_header, read_line_program): ... here. | |
860 | ||
22e05272 JM |
861 | 2018-10-31 Joseph Myers <joseph@codesourcery.com> |
862 | ||
863 | PR bootstrap/82856 | |
864 | * Makefile.am: Include multilib.am. | |
865 | * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE. | |
866 | * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate. | |
867 | ||
a2a86641 ILT |
868 | 2018-10-05 Ian Lance Taylor <iant@golang.org> |
869 | ||
870 | PR libbacktrace/87529 | |
871 | * backtrace.h: Document that backtrace_create_state should be | |
872 | called only once. | |
873 | ||
2206fb89 IB |
874 | 2018-08-05 Iain Buclaw <ibuclaw@gdcproject.org> |
875 | ||
876 | * configure.ac: Move define of HAVE_ZLIB into check for -lz. | |
877 | * Makefile.in: Regenerate. | |
878 | * config.h.in: Likewise. | |
879 | * configure: Likewise. | |
880 | ||
ca9a1314 TR |
881 | 2018-08-01 Tony Reix <tony.reix@atos.net> |
882 | ||
883 | * xcoff.c (struct xcoff_line, struct xcoff_line_vector): Remove. | |
884 | (struct xcoff_func, struct xcoff_func_vector): New structs. | |
885 | (xcoff_syminfo): Drop leading dot from symbol name. | |
886 | (xcoff_line_compare, xcoff_line_search): Remove. | |
887 | (xcoff_func_compare, xcoff_func_search): New static functions. | |
888 | (xcoff_lookup_pc): Search function table. | |
889 | (xcoff_add_line, xcoff_process_linenos): Remove. | |
890 | (xcoff_initialize_fileline): Build function table. | |
891 | ||
1ac6620a DK |
892 | 2018-06-21 Denis Khalikov <d.khalikov@partner.samsung.com> |
893 | ||
894 | PR other/86198 | |
895 | * elf.c (elf_add): Increase ".note.gnu.build-id" section size | |
896 | checking up to 36 bytes. | |
897 | ||
7b47ecf2 L |
898 | 2018-04-24 H.J. Lu <hongjiu.lu@intel.com> |
899 | ||
900 | * configure: Regenerated. | |
901 | ||
a0e1df88 JJ |
902 | 2018-04-19 Jakub Jelinek <jakub@redhat.com> |
903 | ||
904 | * configure: Regenerated. | |
905 | ||
21070494 ILT |
906 | 2018-04-17 Ian Lance Taylor <iant@golang.org> |
907 | ||
908 | * backtrace.c: Revert last two changes. Don't call mmap | |
909 | directly. | |
910 | ||
c36af1b4 ILT |
911 | 2018-04-17 Ian Lance Taylor <iant@golang.org> |
912 | ||
913 | * backtrace.c: Include backtrace-supported.h before checking | |
914 | BACKTRACE_USES_MALLOC. | |
915 | ||
83a658ca ILT |
916 | 2018-04-17 Ian Lance Taylor <iant@golang.org> |
917 | ||
918 | * backtrace.c (backtrace_full): When testing whether we can | |
919 | allocate memory, call mmap directly, and munmap the memory. | |
920 | ||
c5c4b2ae JJ |
921 | 2018-04-04 Jakub Jelinek <jakub@redhat.com> |
922 | ||
923 | PR other/85161 | |
924 | * elf.c (elf_zlib_fetch): Fix up predefined macro names in test for | |
925 | big endian, only use 32-bit loads if endianity macros are predefined | |
926 | and indicate big or little endian. | |
927 | ||
14e335ed IT |
928 | 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com> |
929 | ||
930 | PR target/84148 | |
931 | * configure: Regenerate. | |
932 | ||
bcc23586 JJ |
933 | 2018-02-15 Jakub Jelinek <jakub@redhat.com> |
934 | ||
935 | PR other/82368 | |
936 | * elf.c (SHT_PROGBITS): Undefine and define. | |
937 | ||
da07141f JJ |
938 | 2018-02-14 Jakub Jelinek <jakub@redhat.com> |
939 | ||
940 | PR other/82368 | |
941 | * elf.c (EM_PPC64, EF_PPC64_ABI): Undefine and define. | |
942 | (struct elf_ppc64_opd_data): New type. | |
943 | (elf_initialize_syminfo): Add opd argument, handle symbols | |
944 | pointing into the PowerPC64 ELFv1 .opd section. | |
945 | (elf_add): Read .opd section on PowerPC64 ELFv1, pass pointer | |
946 | to structure with .opd data to elf_initialize_syminfo. | |
947 | ||
65d0b859 ILT |
948 | 2018-01-31 Ian Lance Taylor <iant@golang.org> |
949 | ||
950 | * elf.c (elf_add): Close descriptor if we use a debugfile. | |
951 | * btest.c (check_open_files): New static function. | |
952 | (main): Call check_open_files. | |
953 | ||
96f7c2a9 ILT |
954 | 2018-01-25 Ian Lance Taylor <iant@golang.org> |
955 | ||
956 | * elf.c (elf_open_debugfile_by_debuglink): Don't check CRC if the | |
957 | desired CRC is zero. | |
958 | (elf_add): Don't clear *found_sym and *found_dwarf if debuginfo. | |
959 | ||
a794e494 ILT |
960 | 2018-01-25 Ian Lance Taylor <iant@golang.org> |
961 | ||
962 | * pecoff.c (coff_add): Only release syms_view if it is valid. | |
963 | ||
45f3ab19 ILT |
964 | 2018-01-25 Ian Lance Taylor <iant@golang.org> |
965 | ||
966 | * pecoff.c (coff_add): Another memcpy -> coff_read4 fix. | |
967 | ||
017707ce ILT |
968 | 2018-01-24 Ian Lance Taylor <iant@golang.org> |
969 | ||
970 | * pecoff.c (coff_add): Use coff_read4, not memcpy. | |
971 | ||
3fe3c7d7 ILT |
972 | 2018-01-24 Ian Lance Taylor <iant@golang.org> |
973 | ||
974 | PR other/68239 | |
975 | * mmap.c (backtrace_free_locked): Don't put more than 16 entries | |
976 | on the free list. | |
977 | ||
47c699f5 TR |
978 | 2018-01-19 Tony Reix <tony.reix@atos.net> |
979 | ||
980 | * xcoff.c (xcoff_incl_compare): New function. | |
981 | (xcoff_incl_search): New function. | |
982 | (xcoff_process_linenos): Use bsearch to find include file. | |
983 | (xcoff_initialize_fileline): Sort include file information. | |
984 | ||
566588f1 ILT |
985 | 2018-01-16 Ian Lance Taylor <iant@golang.org> |
986 | ||
987 | * elf.c (codes) [GENERATE_FIXED_HUFFMAN_TABLE]: Fix size to be | |
988 | 288. | |
989 | (main) [GENERATE_FIXED_HUFFMAN_TABLE]: Pass 288 to | |
990 | elf_zlib_inflate_table. Generate elf_zlib_default_dist_table. | |
991 | (elf_zlib_default_table): Update. | |
992 | (elf_zlib_default_dist_table): New static array. | |
993 | (elf_zlib_inflate): Use elf_zlib_default_dist_table for dist table | |
994 | for block type 1. | |
995 | * ztest.c (struct zlib_test): Add uncompressed_len. | |
996 | (tests): Initialize uncompressed_len field. Add new test case. | |
997 | (test_samples): Use uncompressed_len field. | |
998 | ||
85ec4feb JJ |
999 | 2018-01-03 Jakub Jelinek <jakub@redhat.com> |
1000 | ||
1001 | Update copyright years. | |
1002 | ||
44685d37 IT |
1003 | 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com> |
1004 | ||
1005 | * configure.ac: Add CET_FLAGS to EXTRA_FLAGS. | |
1006 | * aclocal.m4: Regenerate. | |
1007 | * Makefile.in: Likewise. | |
1008 | * configure: Likewise. | |
1009 | ||
549d24e9 ILT |
1010 | 2017-10-06 Ian Lance Taylor <iant@golang.org> |
1011 | ||
1012 | * ztest.c (test_large): Pass unsigned long *, not size_t *, to | |
1013 | zlib uncompress function. | |
1014 | ||
a978e26b ILT |
1015 | 2017-10-05 Ian Lance Taylor <iant@golang.org> |
1016 | ||
1017 | * elf.c (elf_zlib_fetch): Change pval argument to uint64_t *. | |
1018 | Read a four byte integer. | |
1019 | (elf_zlib_inflate): Change val to uint64_t. Align pin to a 32-bit | |
1020 | boundary before ever calling elf_zlib_fetch. | |
1021 | * ztest.c (test_large): Simplify print statements a bit. | |
1022 | ||
8398c1df ILT |
1023 | 2017-10-02 Ian Lance Taylor <iant@golang.org> |
1024 | ||
1025 | * ztest.c: #include <errno.h>. | |
1026 | (TEST_TIMING): Don't define, don't test. | |
1027 | (xclock_gettime, xclockid_t): Define if !HAVE_CLOCK_GETTIME. | |
1028 | (clockid_t, clock_gettime, CLOCK_REALTIME): Likewise. | |
1029 | (ZLIB_CLOCK_GETTIME_ARG): Define. | |
1030 | * configure.ac: Change clock_gettime_link to CLOCK_GETTIME_LINK. | |
1031 | * Makefile.am: Likewise. | |
1032 | * configure, Makefile.in: Rebuild. | |
1033 | ||
dbc31f20 TS |
1034 | 2017-10-02 Thomas Schwinge <thomas@codesourcery.com> |
1035 | ||
dd954c67 TS |
1036 | PR other/67165 |
1037 | * Makefile.am: Append the content of clock_gettime_link to | |
1038 | ztest_LDADD. | |
1039 | * configure.ac: Test for the case that clock_gettime is in librt. | |
1040 | * Makefile.in: Regenerate. | |
1041 | * configure: Likewise. | |
1042 | ||
dbc31f20 TS |
1043 | PR other/67165 |
1044 | * configure.ac: Check for clock_gettime. | |
1045 | * config.h.in: Regenerate. | |
1046 | * configure: Likewise. | |
1047 | * ztest.c (average_time, test_large): Conditionalize test timing | |
1048 | on clock_gettime availability. | |
1049 | ||
e90c74f5 TR |
1050 | 2017-09-29 Tony Reix <tony.reix@atos.net> |
1051 | ||
1052 | * xcoff.c: Initial support for DWARF debug sections in XCOFF. | |
1053 | (STYP_DWARF, SSUBTYP_DW*): Define. | |
1054 | (enum dwarf_section): Define. | |
1055 | (struct dwsect_info): Define. | |
1056 | (xcoff_add): Look for DWARF sections, pass them to | |
1057 | backtrace_dwarf_add. | |
1058 | ||
8da872d9 ILT |
1059 | 2017-09-28 Ian Lance Taylor <iant@golang.org> |
1060 | ||
1061 | PR other/67165 | |
1062 | * elf.c (__builtin_prefetch): Define if not __GNUC__. | |
1063 | (unlikely): Define. | |
1064 | (SHF_UNCOMPRESSED, ELFCOMPRESS_ZLIB): Define. | |
1065 | (b_elf_chdr): Define type. | |
1066 | (enum debug_section): Add ZDEBUG_xxx values. | |
1067 | (debug_section_names): Add names for new sections. | |
1068 | (struct debug_section_info): Add compressed field. | |
1069 | (elf_zlib_failed, elf_zlib_fetch): New static functions. | |
1070 | (HUFFMAN_TABLE_SIZE, HUFFMAN_VALUE_MASK): Define. | |
1071 | (HUFFMAN_BITS_SHIFT, HUFFMAN_BITS_MASK): Define. | |
1072 | (HUFFMAN_SECONDARY_SHIFT): Define. | |
1073 | (ZDEBUG_TABLE_SIZE): Define. | |
1074 | (ZDEBUG_TABLE_CODELEN_OFFSET, ZDEBUG_TABLE_WORK_OFFSET): Define. | |
1075 | (final_next_secondary): New static variable if | |
1076 | BACKTRACE_GENERATE_FIXED_HUFFMAN_TABLE. | |
1077 | (elf_zlib_inflate_table): New static function. | |
1078 | (BACKTRACE_GENERATE_FIXED_HUFFMAN_TABLE): If define, define main | |
1079 | function to produce fixed Huffman table. | |
1080 | (elf_zlib_default_table): New static variable. | |
1081 | (elf_zlib_inflate): New static function. | |
1082 | (elf_zlib_verify_checksum): Likewise. | |
1083 | (elf_zlib_inflate_and_verify): Likewise. | |
1084 | (elf_uncompress_zdebug): Likewise. | |
1085 | (elf_uncompress_chdr): Likewise. | |
1086 | (backtrace_uncompress_zdebug): New extern function. | |
1087 | (elf_add): Look for .zdebug sections and SHF_COMPRESSED debug | |
1088 | sections, and uncompress them. | |
1089 | * internal.h (backtrace_compress_zdebug): Declare. | |
1090 | * ztest.c: New file. | |
1091 | * configure.ac: Check for -lz and check whether the linker | |
1092 | supports --compress-debug-sections. | |
1093 | * Makefile.am (ztest_SOURCES): New variable. | |
1094 | (ztest_CFLAGS, ztest_LDADD): New variables. | |
1095 | (check_PROGRAMS): Add ztest. | |
1096 | (ctestg_SOURCES): New variable. | |
1097 | (ctestg_CFLAGS, ctestg_LDFLAGS, ctestg_LDADD): New variables. | |
1098 | (ctesta_SOURCES): New variable. | |
1099 | (ctesta_CFLAGS, ctesta_LDFLAGS, ctesta_LDADD): New variables. | |
1100 | (check_PROGRAMS): Add ctestg and ctesta. | |
1101 | * configure, config.h.in, Makefile.in: Rebuild. | |
1102 | ||
8c2ea6b2 ILT |
1103 | 2017-09-22 Ian Lance Taylor <iant@golang.org> |
1104 | ||
1105 | PR sanitizer/77631 | |
1106 | * configure.ac: Check for lstat and readlink. | |
1107 | * elf.c (lstat, readlink): Provide dummy versions if real versions | |
1108 | are not available. | |
1109 | * configure, config.h.in: Rebuild. | |
1110 | ||
f0de4542 ILT |
1111 | 2017-09-21 Ian Lance Taylor <iant@google.com> |
1112 | ||
1113 | PR go/82284 | |
1114 | * elf.c (backtrace_initialize): Set pd.exe_filename. | |
1115 | ||
9283471b ILT |
1116 | 2017-09-20 Ian Lance Taylor <iant@golang.org> |
1117 | Denis Khalikov <d.khalikov@partner.samsung.com> | |
1118 | ||
1119 | PR sanitizer/77631 | |
1120 | Support for external debug info. | |
1121 | * elf.c: Include <errno.h>, <sys/stat.h>, <unistd.h>. | |
1122 | (S_ISLNK): Define if not defined. | |
1123 | (xstrnlen): Define if strnlen is not available. | |
1124 | (b_elf_note): Define type. | |
1125 | (NT_GNU_BUILD_ID): Define macro. | |
1126 | (elf_crc32, elf_crc32_file): New static functions. | |
1127 | (elf_is_symlink, elf_readlink): New static functions. | |
1128 | (elf_open_debugfile_by_buildid): New static function. | |
1129 | (elf_try_debugfile): New static function. | |
1130 | (elf_find_debugfile_by_debuglink): New static function. | |
1131 | (elf_open_debugfile_by_debuglink): New static function. | |
1132 | (elf_add): Add filename and debuginfo parameters. Adjust all | |
1133 | callers. Look for external debug info notes, and try to fetch | |
1134 | debug info from external file. | |
1135 | (struct phdr_data): Add exe_filename field. | |
1136 | (phdr_callback): Pass filename to elf_add. | |
1137 | (backtrace_initialize): Add filename parameter. | |
1138 | * internal.h (backtrace_initialize): Add filename parameter. | |
1139 | * fileline.c (fileline_initialize): Pass filename to | |
1140 | backtrace_initialize. | |
1141 | * pecoff.c (fileline_initialize): Add unused filename parameter. | |
1142 | * unknown.c (fileline_initialize): Likewise. | |
1143 | * xcoff.c (fileline_initialize): Likewise. | |
1144 | * configure.ac: Check for objcopy --add-gnu-debuglink. | |
1145 | * Makefile.am (dtest): New test target. | |
1146 | * configure, Makefile.in: Rebuild. | |
1147 | ||
29788f90 SE |
1148 | 2017-09-12 Steve Ellcey <sellcey@cavium.com> |
1149 | ||
1150 | PR other/81096 | |
1151 | * Makefile.am (ttest_CFLAGS): Add $(AM_CFLAGS) | |
1152 | * Makefile.in: Regenerate. | |
1153 | ||
917a804c SE |
1154 | 2017-09-12 Steve Ellcey <sellcey@cavium.com> |
1155 | ||
1156 | PR other/81096 | |
1157 | * libbacktrace/Makefile.in | |
1158 | (HAVE_PTHREAD_TRUE@@NATIVE_TRUE@ttest_CFLAGS): Add $(AM_CFLAGS) | |
1159 | ||
2e6af1b8 DE |
1160 | 2017-08-02 David Edelsohn <dje.gcc@gmail.com> |
1161 | ||
8a0e6224 | 1162 | PR bootstrap/81638 |
2e6af1b8 DE |
1163 | * xcoff.c (xcoff_process_linenos): Initialize incl to NULL. |
1164 | ||
afce7deb TR |
1165 | 2017-07-28 Tony Reix <tony.reix@atos.net> |
1166 | ||
1167 | * xcoff.c: Don't leak a file descriptor if an archive is malformed. | |
1168 | ||
cf311b03 RO |
1169 | 2017-07-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1170 | ||
1171 | * fileline.c (fileline_initialize): Print pid_t as long. | |
1172 | ||
7e2a8417 TR |
1173 | 2017-07-26 Tony Reix <tony.reix@atos.net> |
1174 | ||
1175 | * configure.ac: Check for XCOFF32/XCOFF64. Check for loadquery. | |
1176 | * filetype.awk: Separate AIX XCOFF32 and XCOFF64. | |
1177 | * xcoff.c: Add support for AIX XCOFF32 and XCOFF64 formats. | |
1178 | * configure, config.h.in: Regenerate. | |
1179 | ||
b3530b94 TR |
1180 | 2017-07-21 Tony Reix <tony.reix@atos.net> |
1181 | ||
1182 | * filetype.awk: Add AIX XCOFF type detection. | |
1183 | * configure.ac: Recognize xcoff format. | |
1184 | * Makefile.am (FORMAT_FILES): Add xcoff.c. | |
1185 | * fileline.c: Include <unistd.h>. | |
1186 | (fileline_initialize): Add case for AIX procfs. | |
1187 | * xcoff.c: New file. | |
1188 | * configure, Makefile.in: Rebuild. | |
1189 | ||
e91a2ddc RB |
1190 | 2017-06-21 Richard Biener <rguenther@suse.de> |
1191 | ||
1192 | * configure.ac: Add AC_SYS_LARGEFILE. | |
1193 | * config.h.in: Regenerate. | |
1194 | * configure: Likewise. | |
1195 | ||
d1609a23 ILT |
1196 | 2017-06-11 Ian Lance Taylor <iant@golang.org> |
1197 | ||
1198 | * elf.c (backtrace_initialize): Always set *fileline_fn. | |
1199 | * ttest.c: New file. | |
1200 | * btest.c: Move support functions into testlib.c. Change calls to | |
1201 | check to pass file name. | |
1202 | * testlib.c: New file, copied from (part of) btest.c. | |
1203 | * testlib.h: New file, declarations for testlib.c. | |
1204 | * edtest.c: Use testlib.h and testlib.c. | |
1205 | * configure.ac: Test for -pthread, set HAVE_PTHREAD conditional. | |
1206 | * Makefile.am (btest_SOURCES): Add testlib.c. | |
1207 | (edtest_SOURCES): Likewise. | |
1208 | (CHECK_PROGRAMS): Add ttest if HAVE_PTHREAD. | |
1209 | (ttest_SOURCES, ttest_CFLAGS, ttest_LDADD): Define. | |
1210 | * configure, Makefile.in: Rebuild. | |
1211 | ||
281161d1 TM |
1212 | 2017-05-19 Than McIntosh <thanm@google.com> |
1213 | ||
1214 | * dwarf.c (free_line_header): Don't free dirs if dirs_count == 0. | |
1215 | (read_line_header): Don't allocate dirs if dirs_count == 0. | |
1216 | * edtest.c: New file. | |
1217 | * edtest2.c: New file. | |
1218 | * Makefile.am (edtest_SOURCES, edtest_LDADD): Define. | |
1219 | (check_PROGRAMS): Add edtest. | |
1220 | (edtest2_build.c, gen_edtest2_build): New targets. | |
1221 | * Makefile.in: Rebuild. | |
1222 | ||
121eb024 ST |
1223 | 2017-03-08 Sam Thursfield <sam.thursfield@codethink.co.uk> |
1224 | ||
1225 | * btest.c (test5): Replace #ifdef guard with 'unused' attribute | |
1226 | to fix compile warning when BACKTRACE_SUPPORTED isn't defined. | |
1227 | ||
cbe34bb5 JJ |
1228 | 2017-01-01 Jakub Jelinek <jakub@redhat.com> |
1229 | ||
1230 | Update copyright years. | |
1231 | ||
84c1b9d3 MK |
1232 | 2016-11-15 Matthias Klose <doko@ubuntu.com> |
1233 | ||
1234 | * configure: Regenerate. | |
1235 | ||
84ebf639 CL |
1236 | 2016-09-11 Carlos Liam <carlos@aarzee.me> |
1237 | ||
1238 | * all: Remove meaningless trailing whitespace. | |
1239 | ||
28644f75 UB |
1240 | 2016-05-18 Uros Bizjak <ubizjak@gmail.com> |
1241 | ||
1242 | PR target/71161 | |
1243 | * elf.c (phdr_callback) [__i386__]: Add | |
1244 | __attribute__((__force_align_arg_pointer__)). | |
1245 | ||
26ac52db MO |
1246 | 2016-03-02 Maxim Ostapenko <m.ostapenko@partner.samsung.com> |
1247 | ||
1248 | * elf.c (backtrace_initialize): Properly initialize elf_fileline_fn to | |
1249 | avoid possible crash. | |
1250 | (elf_add): Don't set *fileline_fn to elf_nodebug value in case of | |
1251 | missing debug info anymore. | |
1252 | ||
09b08e17 JDA |
1253 | 2016-02-06 John David Anglin <danglin@gcc.gnu.org> |
1254 | ||
1255 | * mmap.c (MAP_FAILED): Define if not defined. | |
1256 | ||
818ab71a JJ |
1257 | 2016-01-04 Jakub Jelinek <jakub@redhat.com> |
1258 | ||
1259 | Update copyright years. | |
1260 | ||
5b4bbc7d AP |
1261 | 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi> |
1262 | ||
28644f75 UB |
1263 | * configure.ac: Specify that DJGPP do not have mmap |
1264 | even when sys/mman.h exists. | |
5b4bbc7d AP |
1265 | * configure: Regenerate |
1266 | ||
2f401a8f JDA |
1267 | 2015-12-09 John David Anglin <danglin@gcc.gnu.org> |
1268 | ||
28644f75 | 1269 | PR libgfortran/68115 |
2f401a8f JDA |
1270 | * configure.ac: Set libbacktrace_cv_sys_sync to no on hppa*-*-hpux*. |
1271 | * configure: Regenerate. | |
1272 | * elf.c (backtrace_initialize): Cast __sync_bool_compare_and_swap call | |
1273 | to void. | |
1274 | ||
750cdaf7 ILT |
1275 | 2015-09-17 Ian Lance Taylor <iant@google.com> |
1276 | ||
1277 | * posix.c (backtrace_open): Cast second argument of open() to int. | |
1278 | ||
fc002444 ILT |
1279 | 2015-09-11 Ian Lance Taylor <iant@google.com> |
1280 | ||
1281 | * Makefile.am (backtrace.lo): Depend on internal.h. | |
1282 | (sort.lo, stest.lo): Add explicit dependencies. | |
1283 | * Makefile.in: Rebuild. | |
1284 | ||
50809ff9 HPN |
1285 | 2015-09-09 Hans-Peter Nilsson <hp@axis.com> |
1286 | ||
1287 | * backtrace.c: #include <sys/types.h>. | |
1288 | ||
c478516b ILT |
1289 | 2015-09-08 Ian Lance Taylor <iant@google.com> |
1290 | ||
1291 | PR other/67457 | |
1292 | * backtrace.c: #include "internal.h". | |
1293 | (struct backtrace_data): Add can_alloc field. | |
1294 | (unwind): If can_alloc is false, don't try to get file/line | |
1295 | information. | |
1296 | (backtrace_full): Set can_alloc field in bdata. | |
1297 | * alloc.c (backtrace_alloc): Don't call error_callback if it is | |
1298 | NULL. | |
1299 | * mmap.c (backtrace_alloc): Likewise. | |
1300 | * internal.h: Update comments for backtrace_alloc and | |
1301 | backtrace_free. | |
1302 | ||
981d281f ILT |
1303 | 2015-09-08 Ian Lance Taylor <iant@google.com> |
1304 | ||
1305 | PR other/67457 | |
1306 | * mmap.c (backtrace_alloc): Correct test for mmap failure. | |
1307 | ||
8f5027bf UW |
1308 | 2015-08-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
1309 | ||
1310 | * configure.ac: For spu-*-* targets, set have_fcntl to no. | |
1311 | * configure: Regenerate. | |
1312 | ||
7e5c7547 UW |
1313 | 2015-08-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
1314 | ||
1315 | * configure.ac: Remove [disable-shared] argument to LT_INIT. | |
1316 | Remove setting PIC_FLAG when building as target library. | |
1317 | * configure: Regenerate. | |
1318 | ||
7ce9cf39 HPN |
1319 | 2015-08-26 Hans-Peter Nilsson <hp@axis.com> |
1320 | ||
1321 | * configure.ac: Only compile with -fPIC if the target | |
1322 | supports it. | |
1323 | * configure: Regenerate. | |
1324 | ||
1b533361 UW |
1325 | 2015-08-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
1326 | ||
1327 | * configure.ac: Set have_mmap to no on spu-*-* targets. | |
1328 | * configure: Regenerate. | |
1329 | ||
d96fa208 ILT |
1330 | 2015-08-13 Ian Lance Taylor <iant@google.com> |
1331 | ||
1332 | * dwarf.c (read_function_entry): Add vec_inlined parameter. | |
1333 | Change all callers. | |
1334 | ||
d99a7b4d MS |
1335 | 2015-06-11 Martin Sebor <msebor@redhat.com> |
1336 | ||
1337 | PR sanitizer/65479 | |
1338 | * dwarf.c (struct line): Add new field idx. | |
1339 | (line_compare): Use it. | |
1340 | (add_line): Set it. | |
1341 | (read_line_info): Reset it. | |
1342 | ||
e24afc10 TG |
1343 | 2015-05-29 Tristan Gingold <gingold@adacore.com> |
1344 | ||
1345 | * pecoff.c: New file. | |
1346 | * Makefile.am (FORMAT_FILES): Add pecoff.c and dependencies. | |
1347 | * Makefile.in: Regenerate. | |
1348 | * filetype.awk: Detect pecoff. | |
1349 | * configure.ac: Define BACKTRACE_SUPPORTS_DATA on elf platforms. | |
1350 | Add pecoff. | |
1351 | * btest.c (test5): Test enabled only if BACKTRACE_SUPPORTS_DATA is | |
1352 | true. | |
1353 | * backtrace-supported.h.in (BACKTRACE_SUPPORTS_DATA): Define. | |
1354 | * configure: Regenerate. | |
1355 | * pecoff.c: New file. | |
1356 | ||
df96c0f7 MH |
1357 | 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> |
1358 | ||
1359 | * Makefile.in: Regenerated with automake-1.11.6. | |
1360 | * aclocal.m4: Likewise. | |
1361 | * configure: Likewise. | |
1362 | ||
2b8fa469 MK |
1363 | 2015-01-24 Matthias Klose <doko@ubuntu.com> |
1364 | ||
1365 | * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC. | |
1366 | * configure: Regenerate. | |
1367 | ||
5624e564 JJ |
1368 | 2015-01-05 Jakub Jelinek <jakub@redhat.com> |
1369 | ||
1370 | Update copyright years. | |
1371 | ||
a699d672 L |
1372 | 2014-11-21 H.J. Lu <hongjiu.lu@intel.com> |
1373 | ||
1374 | PR bootstrap/63784 | |
1375 | * configure: Regenerated. | |
1376 | ||
35485da9 DM |
1377 | 2014-11-11 David Malcolm <dmalcolm@redhat.com> |
1378 | ||
1379 | * ChangeLog.jit: New. | |
1380 | ||
ebf6d33b FXC |
1381 | 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
1382 | ||
1383 | PR target/63610 | |
1384 | * configure: Regenerate. | |
1385 | ||
c96601d2 ILT |
1386 | 2014-10-23 Ian Lance Taylor <iant@google.com> |
1387 | ||
1388 | * internal.h (backtrace_atomic_load_pointer) [no atomic or sync]: | |
1389 | Fix to return void *. | |
1390 | ||
d573fd89 ILT |
1391 | 2014-05-08 Ian Lance Taylor <iant@google.com> |
1392 | ||
1393 | * mmap.c (backtrace_free): If freeing a large aligned block of | |
1394 | memory, call munmap rather than holding onto it. | |
1395 | (backtrace_vector_grow): When growing a vector, double the number | |
1396 | of pages requested. When releasing the old version of a grown | |
1397 | vector, pass the correct size to backtrace_free. | |
1398 | ||
dbe20842 ILT |
1399 | 2014-03-07 Ian Lance Taylor <iant@google.com> |
1400 | ||
1401 | * sort.c (backtrace_qsort): Use middle element as pivot. | |
1402 | ||
c5604b48 ILT |
1403 | 2014-03-06 Ian Lance Taylor <iant@google.com> |
1404 | ||
1405 | * sort.c: New file. | |
1406 | * stest.c: New file. | |
1407 | * internal.h (backtrace_qsort): Declare. | |
1408 | * dwarf.c (read_abbrevs): Call backtrace_qsort instead of qsort. | |
1409 | (read_line_info, read_function_entry): Likewise. | |
1410 | (read_function_info, build_dwarf_data): Likewise. | |
1411 | * elf.c (elf_initialize_syminfo): Likewise. | |
1412 | * Makefile.am (libbacktrace_la_SOURCES): Add sort.c. | |
1413 | (stest_SOURCES, stest_LDADD): Define. | |
1414 | (check_PROGRAMS): Add stest. | |
1415 | ||
63fefb4b MDM |
1416 | 2014-02-07 Misty De Meo <misty@brew.sh> |
1417 | ||
1418 | PR target/58710 | |
1419 | * configure.ac: Use AC_LINK_IFELSE in check for | |
1420 | _Unwind_GetIPInfo. | |
1421 | * configure: Regenerate. | |
1422 | ||
afeba5cb RS |
1423 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
1424 | ||
1425 | Update copyright years | |
1426 | ||
0284b52e JJ |
1427 | 2013-12-06 Jakub Jelinek <jakub@redhat.com> |
1428 | ||
1429 | * elf.c (ET_DYN): Undefine and define again. | |
1430 | (elf_add): Add exe argument, if true and ehdr.e_type is ET_DYN, | |
1431 | return early -1 without closing the descriptor. | |
1432 | (struct phdr_data): Add exe_descriptor. | |
1433 | (phdr_callback): If pd->exe_descriptor is not -1, for very first | |
1434 | call if dlpi_name is NULL just call elf_add with the exe_descriptor, | |
1435 | otherwise backtrace_close the exe_descriptor if not -1. Adjust | |
1436 | call to elf_add. | |
1437 | (backtrace_initialize): Adjust call to elf_add. If it returns | |
1438 | -1, set pd.exe_descriptor to descriptor, otherwise set it to -1. | |
1439 | ||
bfd74f22 ILT |
1440 | 2013-12-05 Ian Lance Taylor <iant@google.com> |
1441 | ||
1442 | * alloc.c (backtrace_vector_finish): Add error_callback and data | |
1443 | parameters. Call backtrace_vector_release. Return address base. | |
1444 | * mmap.c (backtrace_vector_finish): Add error_callback and data | |
1445 | parameters. Return address base. | |
1446 | * dwarf.c (read_function_info): Get new address base from | |
1447 | backtrace_vector_finish. | |
1448 | * internal.h (backtrace_vector_finish): Update declaration. | |
1449 | ||
b8ddd61b ILT |
1450 | 2013-11-27 Ian Lance Taylor <iant@google.com> |
1451 | ||
1452 | * dwarf.c (find_address_ranges): New static function, broken out | |
1453 | of build_address_map. | |
1454 | (build_address_map): Call it. | |
1455 | * btest.c (check): Check for missing filename or function, rather | |
1456 | than crashing. | |
1457 | (f3): Check that enough frames were returned. | |
1458 | ||
64856e1e JJ |
1459 | 2013-11-19 Jakub Jelinek <jakub@redhat.com> |
1460 | ||
1f96a712 JJ |
1461 | * backtrace.h (backtrace_syminfo_callback): Add symsize argument. |
1462 | * elf.c (elf_syminfo): Pass 0 or sym->size to the callback as | |
1463 | last argument. | |
1464 | * btest.c (struct symdata): Add size field. | |
1465 | (callback_three): Add symsize argument. Copy it to the data->size | |
1466 | field. | |
1467 | (f23): Set symdata.size to 0. | |
1468 | (test5): Likewise. If sizeof (int) > 1, lookup address of | |
1469 | ((uintptr_t) &global) + 1. Verify symdata.val and symdata.size | |
1470 | values. | |
1471 | ||
64856e1e JJ |
1472 | * atomic.c: Include sys/types.h. |
1473 | ||
49579c7e ILT |
1474 | 2013-11-18 Ian Lance Taylor <iant@google.com> |
1475 | ||
1476 | * configure.ac: Check for support of __atomic extensions. | |
1477 | * internal.h: Declare or #define atomic functions for use in | |
1478 | backtrace code. | |
1479 | * atomic.c: New file. | |
1480 | * dwarf.c (dwarf_lookup_pc): Use atomic functions. | |
1481 | (dwarf_fileline, backtrace_dwarf_add): Likewise. | |
1482 | * elf.c (elf_add_syminfo_data, elf_syminfo): Likewise. | |
1483 | (backtrace_initialize): Likewise. | |
1484 | * fileline.c (fileline_initialize): Likewise. | |
1485 | * Makefile.am (libbacktrace_la_SOURCES): Add atomic.c. | |
1486 | * configure, config.h.in, Makefile.in: Rebuild. | |
1487 | ||
582f5a2d JJ |
1488 | 2013-11-18 Jakub Jelinek <jakub@redhat.com> |
1489 | ||
f1857815 JJ |
1490 | * elf.c (SHN_UNDEF): Define. |
1491 | (elf_initialize_syminfo): Add base_address argument. Ignore symbols | |
1492 | with st_shndx == SHN_UNDEF. Add base_address to address fields. | |
1493 | (elf_add): Adjust caller. | |
1494 | ||
582f5a2d JJ |
1495 | * elf.c (phdr_callback): Process info->dlpi_addr == 0 normally. |
1496 | ||
25e6253e ILT |
1497 | 2013-11-16 Ian Lance Taylor <iant@google.com> |
1498 | ||
1499 | * backtrace.h (backtrace_create_state): Correct comment about | |
1500 | threading. | |
1501 | ||
cfa658e4 ILT |
1502 | 2013-11-15 Ian Lance Taylor <iant@google.com> |
1503 | ||
1504 | * backtrace.h (backtrace_syminfo): Update comment and parameter | |
1505 | name to take any address, not just a PC value. | |
1506 | * elf.c (STT_OBJECT): Define. | |
1507 | (elf_nosyms): Rename parameter pc to addr. | |
1508 | (elf_symbol_search): Rename local variable pc to addr. | |
1509 | (elf_initialize_syminfo): Add STT_OBJECT symbols to elf_symbols. | |
1510 | (elf_syminfo): Rename parameter pc to addr. | |
1511 | * btest.c (global): New global variable. | |
1512 | (test5): New test. | |
1513 | (main): Call test5. | |
1514 | ||
6c084a5b ILT |
1515 | 2013-10-17 Ian Lance Taylor <iant@google.com> |
1516 | ||
1517 | * elf.c (elf_add): Don't get the wrong offsets if a debug section | |
1518 | is missing. | |
1519 | ||
459260ec DM |
1520 | 2013-10-15 David Malcolm <dmalcolm@redhat.com> |
1521 | ||
1522 | * configure.ac: Add --enable-host-shared, setting up | |
1523 | pre-existing PIC_FLAG variable within Makefile.am et al. | |
1524 | * configure: Regenerate. | |
1525 | ||
3cbe17f7 AM |
1526 | 2013-09-20 Alan Modra <amodra@gmail.com> |
1527 | ||
1528 | * configure: Regenerate. | |
1529 | ||
78625ce6 AM |
1530 | 2013-07-23 Alexander Monakov <amonakov@ispras.ru> |
1531 | ||
1532 | * elf.c (elf_syminfo): Loop over the elf_syminfo_data chain. | |
1533 | ||
0153887c AM |
1534 | 2013-07-23 Alexander Monakov <amonakov@ispras.ru> |
1535 | ||
1536 | * elf.c (backtrace_initialize): Pass elf_fileline_fn to | |
1537 | dl_iterate_phdr callbacks. | |
1538 | ||
85d8c21e ILT |
1539 | 2013-03-25 Ian Lance Taylor <iant@google.com> |
1540 | ||
1541 | * alloc.c: #include <sys/types.h>. | |
1542 | * mmap.c: Likewise. | |
1543 | ||
38811401 ILT |
1544 | 2013-01-31 Ian Lance Taylor <iant@google.com> |
1545 | ||
1546 | * dwarf.c (read_function_info): Permit fvec parameter to be NULL. | |
1547 | (dwarf_lookup_pc): Don't use ddata->fvec if threaded. | |
1548 | ||
1e678aed JJ |
1549 | 2013-01-25 Jakub Jelinek <jakub@redhat.com> |
1550 | ||
1551 | PR other/56076 | |
1552 | * dwarf.c (read_line_header): Don't crash if DW_AT_comp_dir | |
1553 | attribute was not seen. | |
1554 | ||
6b514c53 ILT |
1555 | 2013-01-16 Ian Lance Taylor <iant@google.com> |
1556 | ||
1557 | * dwarf.c (struct unit): Add filename and abs_filename fields. | |
1558 | (build_address_map): Set new fields when reading unit. | |
1559 | (dwarf_lookup_pc): If we don't find an entry in the line table, | |
1560 | just return the main file name. | |
1561 | ||
f8a7e1a4 RS |
1562 | 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com> |
1563 | ||
1564 | Update copyright years. | |
1565 | ||
c3de1960 ILT |
1566 | 2013-01-01 Ian Lance Taylor <iant@google.com> |
1567 | ||
1568 | PR bootstrap/54834 | |
1569 | * Makefile.am (AM_CPPFLAGS): Remove -I ../gcc/include and -I | |
1570 | $(MULTIBUILDTOP)/../../gcc/include. | |
1571 | * Makefile.in: Rebuild. | |
1572 | ||
2a5195d9 ILT |
1573 | 2013-01-01 Ian Lance Taylor <iant@google.com> |
1574 | ||
1575 | PR other/55536 | |
1576 | * mmap.c (backtrace_alloc): Don't call sync functions if not | |
1577 | threaded. | |
1578 | (backtrace_free): Likewise. | |
1579 | ||
85619b6f JDA |
1580 | 2012-12-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1581 | ||
1582 | * mmapio.c: Define MAP_FAILED if not defined. | |
1583 | ||
36a58fb3 JJ |
1584 | 2012-12-11 Jakub Jelinek <jakub@redhat.com> |
1585 | ||
1586 | PR bootstrap/54926 | |
1587 | * Makefile.am (AM_CFLAGS): Remove -frandom-seed=$@. | |
1588 | * configure.ac: If --with-target-subdir, add -frandom-seed=$@ | |
1589 | to EXTRA_FLAGS unconditionally, otherwise check whether the compiler | |
1590 | accepts it. | |
1591 | * Makefile.in: Regenerated. | |
1592 | * configure: Regenerated. | |
1593 | ||
a58dfde0 JJ |
1594 | 2012-12-07 Jakub Jelinek <jakub@redhat.com> |
1595 | ||
1596 | PR bootstrap/54926 | |
1597 | * Makefile.am (AM_CFLAGS): Add -frandom-seed=$@. | |
1598 | * Makefile.in: Regenerated. | |
1599 | ||
b20ade36 ILT |
1600 | 2012-11-20 Ian Lance Taylor <iant@google.com> |
1601 | ||
1602 | * dwarf.c (read_attribute): Always clear val. | |
1603 | ||
73c3ed27 ILT |
1604 | 2012-11-13 Ian Lance Taylor <iant@google.com> |
1605 | ||
1606 | PR other/55312 | |
1607 | * configure.ac: Only add -Werror if building a target library. | |
2a5195d9 | 1608 | * configure: Rebuild. |
73c3ed27 | 1609 | |
33521509 ILT |
1610 | 2012-11-12 Ian Lance Taylor <iant@google.com> |
1611 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
1612 | Gerald Pfeifer <gerald@pfeifer.com> | |
1613 | ||
1614 | * configure.ac: Check for getexecname. | |
1615 | * fileline.c: #include <errno.h>. Define getexecname if not | |
1616 | available. | |
1617 | (fileline_initialize): Try to find the executable in a few | |
1618 | different ways. | |
1619 | * print.c (error_callback): Only print the filename if it came | |
1620 | from the backtrace state. | |
1621 | * configure, config.h.in: Rebuild. | |
1622 | ||
8fe91dea ILT |
1623 | 2012-10-29 Ian Lance Taylor <iant@google.com> |
1624 | ||
1625 | * mmap.c (backtrace_vector_release): Correct last patch: add | |
1626 | aligned, not size. | |
1627 | ||
8277de34 ILT |
1628 | 2012-10-29 Ian Lance Taylor <iant@google.com> |
1629 | ||
1630 | * mmap.c (backtrace_vector_release): Make sure freed block is | |
1631 | aligned on 8-byte boundary. | |
1632 | ||
73f41491 ILT |
1633 | 2012-10-26 Ian Lance Taylor <iant@google.com> |
1634 | ||
1635 | PR other/55087 | |
1636 | * posix.c (backtrace_open): Add does_not_exist parameter. | |
1637 | * elf.c (phdr_callback): Do not warn if shared library could not | |
1638 | be opened. | |
1639 | * fileline.c (fileline_initialize): Update calls to | |
1640 | backtrace_open. | |
1641 | * internal.h (backtrace_open): Update declaration. | |
1642 | ||
385710cf JH |
1643 | 2012-10-26 Jack Howarth <howarth@bromo.med.uc.edu> |
1644 | ||
1645 | PR target/55061 | |
1646 | * configure.ac: Check for _Unwind_GetIPInfo function declaration. | |
1647 | * configure: Regenerate. | |
1648 | ||
32061319 ILT |
1649 | 2012-10-24 Ian Lance Taylor <iant@google.com> |
1650 | ||
1651 | PR target/55061 | |
1652 | * configure.ac: Check whether -funwind-tables option works. | |
1653 | * configure: Rebuild. | |
1654 | ||
5551b12c ILT |
1655 | 2012-10-11 Ian Lance Taylor <iant@google.com> |
1656 | ||
1657 | * configure.ac: Do not use dl_iterate_phdr on Solaris 10. | |
1658 | * configure: Rebuild. | |
1659 | ||
40d15b5b ILT |
1660 | 2012-10-10 Ian Lance Taylor <iant@google.com> |
1661 | ||
1662 | * elf.c: Rename all Elf typedefs to start with b_elf, and be all | |
1663 | lower case. | |
1664 | ||
74f80620 HPN |
1665 | 2012-10-10 Hans-Peter Nilsson <hp@bitrange.com> |
1666 | ||
1667 | * elf.c (elf_add_syminfo_data): Add casts to avoid warning. | |
1668 | ||
ce8aa074 ILT |
1669 | 2012-10-09 Ian Lance Taylor <iant@google.com> |
1670 | ||
1671 | * dwarf.c (dwarf_fileline): Add cast to avoid warning. | |
1672 | (backtrace_dwarf_add): Likewise. | |
1673 | ||
e561a992 ILT |
1674 | 2012-10-09 Ian Lance Taylor <iant@google.com> |
1675 | ||
1676 | Add support for tracing through shared libraries. | |
1677 | * configure.ac: Check for link.h and dl_iterate_phdr. | |
1678 | * elf.c: #include <link.h> if system has dl_iterate_phdr. #undef | |
1679 | ELF macros before #defining them. | |
1680 | (dl_phdr_info, dl_iterate_phdr): Define if system does not have | |
1681 | dl_iterate_phdr. | |
1682 | (struct elf_syminfo_data): Add next field. | |
1683 | (elf_initialize_syminfo): Initialize next field. | |
1684 | (elf_add_syminfo_data): New static function. | |
1685 | (elf_add): New static function, broken out of | |
1686 | backtrace_initialize. Call backtrace_dwarf_add instead of | |
1687 | backtrace_dwarf_initialize. | |
1688 | (struct phdr_data): Define. | |
1689 | (phdr_callback): New static function. | |
1690 | (backtrace_initialize): Call elf_add. | |
1691 | * dwarf.c (struct dwarf_data): Add next and base_address fields. | |
1692 | (add_unit_addr): Add base_address parameter. Change all callers. | |
1693 | (add_unit_ranges, build_address_map): Likewise. | |
1694 | (add_line): Add ddata parameter. Change all callers. | |
1695 | (read_line_program, add_function_range): Likewise. | |
1696 | (dwarf_lookup_pc): New static function, broken out of | |
1697 | dwarf_fileline. | |
1698 | (dwarf_fileline): Call dwarf_lookup_pc. | |
1699 | (build_dwarf_data): New static function. | |
1700 | (backtrace_dwarf_add): New function. | |
1701 | (backtrace_dwarf_initialize): Remove. | |
1702 | * internal.h (backtrace_dwarf_initialize): Don't declare. | |
1703 | (backtrace_dwarf_add): Declare. | |
1704 | * configure, config.h.in: Rebuild. | |
1705 | ||
068ef6d1 GP |
1706 | 2012-10-04 Gerald Pfeifer <gerald@pfeifer.com> |
1707 | ||
1708 | * btest.c (f23): Avoid uninitialized variable warning. | |
e561a992 | 1709 | |
244e2d9c ILT |
1710 | 2012-10-04 Ian Lance Taylor <iant@google.com> |
1711 | ||
1712 | * dwarf.c: If the system header files do not declare strnlen, | |
1713 | provide our own version. | |
1714 | ||
be4ba8ae ILT |
1715 | 2012-10-03 Ian Lance Taylor <iant@google.com> |
1716 | ||
1717 | * dwarf.c (read_uleb128): Fix overflow test. | |
1718 | (read_sleb128): Likewise. | |
1719 | (build_address_map): Don't change unit_buf.start. | |
1720 | ||
56195009 UB |
1721 | 2012-10-02 Uros Bizjak <ubizjak@gmail.com> |
1722 | ||
faf86a02 UB |
1723 | PR other/54761 |
1724 | * configure.ac (EXTRA_FLAGS): New. | |
56195009 | 1725 | * Makefile.am (AM_FLAGS): Add $(EXTRA_FLAGS). |
faf86a02 | 1726 | * configure, Makefile.in: Regenerate. |
56195009 | 1727 | |
8a447b3d ILT |
1728 | 2012-09-29 Ian Lance Taylor <iant@google.com> |
1729 | ||
1730 | PR other/54749 | |
1731 | * fileline.c (fileline_initialize): Pass errnum as -1 when | |
1732 | reporting that we could not read executable information after a | |
1733 | previous failure. | |
1734 | ||
af710874 ILT |
1735 | 2012-09-27 Ian Lance Taylor <iant@google.com> |
1736 | ||
1737 | PR bootstrap/54732 | |
1738 | * configure.ac: Add no-dependencies to AM_INIT_AUTOMAKE. | |
1739 | * Makefile.am: Add dependencies for all objects. | |
1740 | * configure, aclocal.m4, Makefile.in: Rebuild. | |
1741 | ||
588f4f8f ILT |
1742 | 2012-09-27 Ian Lance Taylor <iant@google.com> |
1743 | ||
1744 | PR other/54726 | |
1745 | * elf.c (backtrace_initialize): Set *fileln_fn, not | |
1746 | state->fileln_fn. | |
1747 | ||
64b89453 ILT |
1748 | 2012-09-19 Ian Lance Taylor <iant@google.com> |
1749 | ||
1750 | * configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled | |
1751 | as a target library. | |
1752 | * configure: Rebuild. | |
1753 | ||
76850556 RO |
1754 | 2012-09-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1755 | Ian Lance Taylor <iant@google.com> | |
1756 | ||
92a285c1 ML |
1757 | * configure.ac (GCC_HEADER_STDINT): Invoke. |
1758 | * backtrace.h: If we can't find <stdint.h>, use "gstdint.h". | |
1759 | * btest.c: Don't include <stdint.h>. | |
1760 | * dwarf.c: Likewise. | |
1761 | * configure, aclocal.m4, Makefile.in, config.h.in: Rebuild. | |
76850556 | 1762 | |
9425c00b ILT |
1763 | 2012-09-18 Ian Lance Taylor <iant@google.com> |
1764 | ||
1765 | PR bootstrap/54623 | |
1766 | * Makefile.am (AM_CPPFLAGS): Define. | |
1767 | (AM_CFLAGS): Remove -I options. | |
1768 | * Makefile.in: Rebuild. | |
1769 | ||
3319ef17 ILT |
1770 | 2012-09-18 Ian Lance Taylor <iant@google.com> |
1771 | ||
1772 | * posix.c (O_BINARY): Define if not defined. | |
1773 | (backtrace_open): Pass O_BINARY to open. Only call fcntl if | |
1774 | HAVE_FCNTL is defined. | |
1775 | * configure.ac: Test for the fcntl function. | |
1776 | * configure, config.h.in: Rebuild. | |
1777 | ||
bd3e497d ILT |
1778 | 2012-09-18 Ian Lance Taylor <iant@google.com> |
1779 | ||
1780 | * btest.c (test1, test2, test3, test4): Add the unused attribute. | |
1781 | ||
30e15876 ILT |
1782 | 2012-09-18 Ian Lance Taylor <iant@google.com> |
1783 | ||
1784 | * dwarf.c: Correct test of HAVE_DECL_STRNLEN. | |
1785 | ||
d4c059d5 ILT |
1786 | 2012-09-18 Ian Lance Taylor <iant@google.com> |
1787 | ||
1788 | * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS. | |
1789 | * mmapio.c: Don't define _GNU_SOURCE. | |
1790 | * configure, config.h.in: Rebuild. | |
1791 | ||
772a71a9 ILT |
1792 | 2012-09-18 Ian Lance Taylor <iant@google.com> |
1793 | ||
1794 | * configure.ac: Check whether strnlen is declared. | |
1795 | * dwarf.c: Declare strnlen if not declared. | |
1796 | * configure, config.h.in: Rebuild. | |
1797 | ||
c0558468 RO |
1798 | 2012-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1799 | ||
1800 | * fileline.c: Include <stdlib.h>. | |
1801 | * mmap.c: Likewise. | |
1802 | ||
c5812e0b ILT |
1803 | 2012-09-17 Ian Lance Taylor <iant@google.com> |
1804 | ||
1805 | PR bootstrap/54611 | |
1806 | * nounwind.c (backtrace_full): Rename from backtrace. Add state | |
1807 | parameter. | |
1808 | ||
e8f4008a GP |
1809 | 2012-09-17 Gerald Pfeifer <gerald@pfeifer.com> |
1810 | ||
1811 | PR bootstrap/54611 | |
1812 | * nounwind.c (backtrace_simple): Add state parameter. | |
1813 | ||
f588eb27 ILT |
1814 | 2012-09-17 Ian Lance Taylor <iant@google.com> |
1815 | ||
1816 | PR bootstrap/54609 | |
1817 | * unknown.c (unknown_fileline): Add state parameter, remove | |
1818 | fileline_data parameter, name error_callback parameter. | |
1819 | (backtrace_initialize): Add state parameter. | |
1820 | ||
eff02e4f ILT |
1821 | 2012-09-17 Ian Lance Taylor <iant@google.com> |
1822 | ||
1823 | * Initial implementation. | |
818ab71a | 1824 | \f |
877e3c2a | 1825 | Copyright (C) 2012-2022 Free Software Foundation, Inc. |
818ab71a JJ |
1826 | |
1827 | Copying and distribution of this file, with or without modification, | |
1828 | are permitted in any medium without royalty provided the copyright | |
1829 | notice and this notice are preserved. |