]> git.ipfire.org Git - thirdparty/gcc.git/blame - libbacktrace/ChangeLog
aarch64-protos.h (aarch64_load_tp): New proto.
[thirdparty/gcc.git] / libbacktrace / ChangeLog
CommitLineData
8277de34
ILT
12012-10-29 Ian Lance Taylor <iant@google.com>
2
3 * mmap.c (backtrace_vector_release): Make sure freed block is
4 aligned on 8-byte boundary.
5
73f41491
ILT
62012-10-26 Ian Lance Taylor <iant@google.com>
7
8 PR other/55087
9 * posix.c (backtrace_open): Add does_not_exist parameter.
10 * elf.c (phdr_callback): Do not warn if shared library could not
11 be opened.
12 * fileline.c (fileline_initialize): Update calls to
13 backtrace_open.
14 * internal.h (backtrace_open): Update declaration.
15
385710cf
JH
162012-10-26 Jack Howarth <howarth@bromo.med.uc.edu>
17
18 PR target/55061
19 * configure.ac: Check for _Unwind_GetIPInfo function declaration.
20 * configure: Regenerate.
21
32061319
ILT
222012-10-24 Ian Lance Taylor <iant@google.com>
23
24 PR target/55061
25 * configure.ac: Check whether -funwind-tables option works.
26 * configure: Rebuild.
27
5551b12c
ILT
282012-10-11 Ian Lance Taylor <iant@google.com>
29
30 * configure.ac: Do not use dl_iterate_phdr on Solaris 10.
31 * configure: Rebuild.
32
40d15b5b
ILT
332012-10-10 Ian Lance Taylor <iant@google.com>
34
35 * elf.c: Rename all Elf typedefs to start with b_elf, and be all
36 lower case.
37
74f80620
HPN
382012-10-10 Hans-Peter Nilsson <hp@bitrange.com>
39
40 * elf.c (elf_add_syminfo_data): Add casts to avoid warning.
41
ce8aa074
ILT
422012-10-09 Ian Lance Taylor <iant@google.com>
43
44 * dwarf.c (dwarf_fileline): Add cast to avoid warning.
45 (backtrace_dwarf_add): Likewise.
46
e561a992
ILT
472012-10-09 Ian Lance Taylor <iant@google.com>
48
49 Add support for tracing through shared libraries.
50 * configure.ac: Check for link.h and dl_iterate_phdr.
51 * elf.c: #include <link.h> if system has dl_iterate_phdr. #undef
52 ELF macros before #defining them.
53 (dl_phdr_info, dl_iterate_phdr): Define if system does not have
54 dl_iterate_phdr.
55 (struct elf_syminfo_data): Add next field.
56 (elf_initialize_syminfo): Initialize next field.
57 (elf_add_syminfo_data): New static function.
58 (elf_add): New static function, broken out of
59 backtrace_initialize. Call backtrace_dwarf_add instead of
60 backtrace_dwarf_initialize.
61 (struct phdr_data): Define.
62 (phdr_callback): New static function.
63 (backtrace_initialize): Call elf_add.
64 * dwarf.c (struct dwarf_data): Add next and base_address fields.
65 (add_unit_addr): Add base_address parameter. Change all callers.
66 (add_unit_ranges, build_address_map): Likewise.
67 (add_line): Add ddata parameter. Change all callers.
68 (read_line_program, add_function_range): Likewise.
69 (dwarf_lookup_pc): New static function, broken out of
70 dwarf_fileline.
71 (dwarf_fileline): Call dwarf_lookup_pc.
72 (build_dwarf_data): New static function.
73 (backtrace_dwarf_add): New function.
74 (backtrace_dwarf_initialize): Remove.
75 * internal.h (backtrace_dwarf_initialize): Don't declare.
76 (backtrace_dwarf_add): Declare.
77 * configure, config.h.in: Rebuild.
78
068ef6d1
GP
792012-10-04 Gerald Pfeifer <gerald@pfeifer.com>
80
81 * btest.c (f23): Avoid uninitialized variable warning.
e561a992 82
244e2d9c
ILT
832012-10-04 Ian Lance Taylor <iant@google.com>
84
85 * dwarf.c: If the system header files do not declare strnlen,
86 provide our own version.
87
be4ba8ae
ILT
882012-10-03 Ian Lance Taylor <iant@google.com>
89
90 * dwarf.c (read_uleb128): Fix overflow test.
91 (read_sleb128): Likewise.
92 (build_address_map): Don't change unit_buf.start.
93
56195009
UB
942012-10-02 Uros Bizjak <ubizjak@gmail.com>
95
faf86a02
UB
96 PR other/54761
97 * configure.ac (EXTRA_FLAGS): New.
56195009 98 * Makefile.am (AM_FLAGS): Add $(EXTRA_FLAGS).
faf86a02 99 * configure, Makefile.in: Regenerate.
56195009 100
8a447b3d
ILT
1012012-09-29 Ian Lance Taylor <iant@google.com>
102
103 PR other/54749
104 * fileline.c (fileline_initialize): Pass errnum as -1 when
105 reporting that we could not read executable information after a
106 previous failure.
107
af710874
ILT
1082012-09-27 Ian Lance Taylor <iant@google.com>
109
110 PR bootstrap/54732
111 * configure.ac: Add no-dependencies to AM_INIT_AUTOMAKE.
112 * Makefile.am: Add dependencies for all objects.
113 * configure, aclocal.m4, Makefile.in: Rebuild.
114
588f4f8f
ILT
1152012-09-27 Ian Lance Taylor <iant@google.com>
116
117 PR other/54726
118 * elf.c (backtrace_initialize): Set *fileln_fn, not
119 state->fileln_fn.
120
64b89453
ILT
1212012-09-19 Ian Lance Taylor <iant@google.com>
122
123 * configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled
124 as a target library.
125 * configure: Rebuild.
126
76850556
RO
1272012-09-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
128 Ian Lance Taylor <iant@google.com>
129
130 * configure.ac (GCC_HEADER_STDINT): Invoke.
131 * backtrace.h: If we can't find <stdint.h>, use "gstdint.h".
132 * btest.c: Don't include <stdint.h>.
133 * dwarf.c: Likewise.
134 * configure, aclocal.m4, Makefile.in, config.h.in: Rebuild.
135
9425c00b
ILT
1362012-09-18 Ian Lance Taylor <iant@google.com>
137
138 PR bootstrap/54623
139 * Makefile.am (AM_CPPFLAGS): Define.
140 (AM_CFLAGS): Remove -I options.
141 * Makefile.in: Rebuild.
142
3319ef17
ILT
1432012-09-18 Ian Lance Taylor <iant@google.com>
144
145 * posix.c (O_BINARY): Define if not defined.
146 (backtrace_open): Pass O_BINARY to open. Only call fcntl if
147 HAVE_FCNTL is defined.
148 * configure.ac: Test for the fcntl function.
149 * configure, config.h.in: Rebuild.
150
bd3e497d
ILT
1512012-09-18 Ian Lance Taylor <iant@google.com>
152
153 * btest.c (test1, test2, test3, test4): Add the unused attribute.
154
30e15876
ILT
1552012-09-18 Ian Lance Taylor <iant@google.com>
156
157 * dwarf.c: Correct test of HAVE_DECL_STRNLEN.
158
d4c059d5
ILT
1592012-09-18 Ian Lance Taylor <iant@google.com>
160
161 * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
162 * mmapio.c: Don't define _GNU_SOURCE.
163 * configure, config.h.in: Rebuild.
164
772a71a9
ILT
1652012-09-18 Ian Lance Taylor <iant@google.com>
166
167 * configure.ac: Check whether strnlen is declared.
168 * dwarf.c: Declare strnlen if not declared.
169 * configure, config.h.in: Rebuild.
170
c0558468
RO
1712012-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
172
173 * fileline.c: Include <stdlib.h>.
174 * mmap.c: Likewise.
175
c5812e0b
ILT
1762012-09-17 Ian Lance Taylor <iant@google.com>
177
178 PR bootstrap/54611
179 * nounwind.c (backtrace_full): Rename from backtrace. Add state
180 parameter.
181
e8f4008a
GP
1822012-09-17 Gerald Pfeifer <gerald@pfeifer.com>
183
184 PR bootstrap/54611
185 * nounwind.c (backtrace_simple): Add state parameter.
186
f588eb27
ILT
1872012-09-17 Ian Lance Taylor <iant@google.com>
188
189 PR bootstrap/54609
190 * unknown.c (unknown_fileline): Add state parameter, remove
191 fileline_data parameter, name error_callback parameter.
192 (backtrace_initialize): Add state parameter.
193
eff02e4f
ILT
1942012-09-17 Ian Lance Taylor <iant@google.com>
195
196 * Initial implementation.