Mercurial > hg > CbC > CbC_gcc
comparison libiberty/ChangeLog @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | f6334be47118 |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 2017-10-24 Alan Modra <amodra@gmail.com> | |
2 | |
3 PR lto/82687 | |
4 PR lto/82575 | |
5 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): | |
6 Only make __gnu_lto symbols hidden. | |
7 | |
8 2017-10-20 Alan Modra <amodra@gmail.com> | |
9 | |
10 PR lto/82575 | |
11 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): | |
12 Make discarded non-local symbols weak and hidden. | |
13 | |
14 2017-10-18 Jakub Jelinek <jakub@redhat.com> | |
15 | |
16 PR lto/82598 | |
17 * simple-object.c (handle_lto_debug_sections): Copy over also | |
18 .note.GNU-stack section with unchanged name. | |
19 * simple-object-elf.c (SHF_EXECINSTR): Define. | |
20 (simple_object_elf_copy_lto_debug_section): Drop SHF_EXECINSTR bit | |
21 on .note.GNU-stack section. | |
22 | |
23 2017-09-25 Nathan Sidwell <nathan@acm.org> | |
24 | |
25 PR demangler/82195 | |
26 * cp-demangle.c (d_encoding): Strip return type when name is a | |
27 LOCAL_NAME. | |
28 (d_local_name): Strip return type of enclosing TYPED_NAME. | |
29 * testsuite/demangle-expected: Add and adjust tests. | |
30 | |
31 2017-09-21 Nathan Sidwell <nathan@acm.org> | |
32 | |
33 PR demangler/82195 | |
34 * cp-demangle.c (d_name): Revert addition of 'toplevel' parm. | |
35 (has_return_type): Recurse for DEMANGLE_COMPONENT_LOCAL_NAME. | |
36 (d_encoding): Revert d_name change. Use is_fnqual_component_type | |
37 to strip modifiers that do not belong. | |
38 (d_special_name, d_class_enum_type): Revert d_name call change. | |
39 (d_expresion_1): Commonize DEMANGLE_COMPONENT_UNARY building. | |
40 (d_local_name): Revert parsing of a function type. | |
41 (d_print_comp_inner): An inner LOCAL_NAME might contain a | |
42 TEMPLATE. | |
43 * testsuite/demangle-expected: Add & adjust tests | |
44 | |
45 2017-09-15 Nathan Sidwell <nathan@acm.org> | |
46 | |
47 PR demangler/82195 | |
48 * cp-demangle.c (d_name): Add 'toplevel' parm. Pass to ... | |
49 (d_local_name): ... here. Parse trailing function args on nested | |
50 local_name. | |
51 (d_encoding, d_special_name, d_class_enum_type): Adjust d_name calls. | |
52 * testsuite/demangle-expected: Add tests. | |
53 | |
54 2017-09-15 Richard Biener <rguenther@suse.de> | |
55 | |
56 PR lto/81968 | |
57 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): | |
58 Iterate marking dependent sections necessary. | |
59 | |
60 2017-09-15 Nathan Sidwell <nathan@acm.org> | |
61 | |
62 * cp-demangle.c (is_fnqual_component_type): Reimplement using | |
63 FNQUAL_COMPONENT_CASE. | |
64 (d_encoding): Hold bare_function_type in local var. | |
65 (d_local_name): Build name in both cases and build result once. | |
66 Collapse switch-if to single conditional. | |
67 (d_local_name): | |
68 | |
69 * testsuite/demangle-expected: Realign blank lines with tests. | |
70 | |
71 2017-09-12 Jiong Wang <jiong.wang@arm.com> | |
72 | |
73 * dwarfnames.c (DW_CFA_DUP): New define. | |
74 | |
75 2017-09-01 Martin Liska <mliska@suse.cz> | |
76 | |
77 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): | |
78 Remove duplicite declaration. | |
79 | |
80 2017-08-31 Richard Biener <rguenther@suse.de> | |
81 | |
82 PR lto/81968 | |
83 * simple-object-elf.c (simple_object_elf_copy_lto_debug_section): | |
84 Keep names of removed global symbols. | |
85 | |
86 2017-08-29 Tony Reix <tony.reix@atos.net> | |
87 | |
88 * simple-object-xcoff.c (simple_object_xcoff_find_sections): | |
89 Improve .go_export csect handling. Don't make assumptions | |
90 on containing section or number of auxiliary entries. | |
91 | |
92 2017-08-28 Richard Biener <rguenther@suse.de> | |
93 | |
94 PR lto/81968 | |
95 * simple-object-elf.c (simple_object_elf_copy_lto_debug_section): | |
96 Adjust field with for sh_type write, set SHF_EXCLUDE only for | |
97 removed sections. | |
98 | |
99 2017-08-22 Richard Biener <rguenther@suse.de> | |
100 | |
101 PR lto/81925 | |
102 * simple-object-elf.c (simple_object_elf_write_shdr): Adjust | |
103 type of sh_addralign and sh_entsize and properly write | |
104 sh_entsize as Elf_Addr. | |
105 (simple_object_elf_write_to_file): Read sh_entsize as Elf_Addr. | |
106 | |
107 2017-08-21 Richard Biener <rguenther@suse.de> | |
108 | |
109 * simple-object-common.h (struct simple_object_functions): Add | |
110 copy_lto_debug_sections hook. | |
111 * simple-object.c: Include fcntl.h. | |
112 (handle_lto_debug_sections): New helper function. | |
113 (simple_object_copy_lto_debug_sections): New function copying | |
114 early LTO debug sections to regular debug sections in a new file. | |
115 (simple_object_start_write): Handle NULL segment_name. | |
116 * simple-object-coff.c (simple_object_coff_functions): Adjust | |
117 for not implemented copy_lto_debug_sections hook. | |
118 * simple-object-mach-o.c (simple_object_mach_o_functions): Likewise. | |
119 * simple-object-xcoff.c (simple_object_xcoff_functions): Likewise. | |
120 * simple-object-elf.c (SHT_NULL, SHT_SYMTAB, SHT_RELA, SHT_REL, | |
121 SHT_GROUP): Add various sectopn header types. | |
122 (SHF_EXCLUDE): Add flag. | |
123 (Elf32_External_Sym, Elf64_External_Sym): Add symbol struct. | |
124 (ELF_ST_BIND, ELF_ST_TYPE, ELF_ST_INFO): Add accessors. | |
125 (STT_OBJECT, STT_FUNC, STT_TLS, STT_GNU_IFUNC): Add Symbol types. | |
126 (STV_DEFAULT): Add symbol visibility. | |
127 (SHN_COMMON): Add special section index name. | |
128 (struct simple_object_elf_write): New. | |
129 (simple_object_elf_start_write): Adjust for new private data. | |
130 (simple_object_elf_write_shdr): Pass in values for all fields | |
131 we write. | |
132 (simple_object_elf_write_to_file): Adjust. Copy from recorded | |
133 section headers if requested. | |
134 (simple_object_elf_release_write): Release private data. | |
135 (simple_object_elf_copy_lto_debug_sections): Copy and rename sections | |
136 as denoted by PFN and all their dependences, symbols and relocations | |
137 to the empty destination file. | |
138 (simple_object_elf_functions): Adjust for copy_lto_debug_sections hook. | |
139 | |
140 2017-07-02 Jan Kratochvil <jan.kratochvil@redhat.com> | |
141 | |
142 * dwarfnames.c (DW_FIRST_IDX, DW_END_IDX, DW_IDX, DW_IDX_DUP): New. | |
143 | |
144 2017-06-07 Tony Reix <tony.reix@atos.net> | |
145 Matthieu Sarter <matthieu.sarter.external@atos.net> | |
146 David Edelsohn <dje.gcc@gmail.com> | |
147 | |
148 * simple-object-xcoff.c (simple_object_xcoff_find_sections): | |
149 Search symbol table for .go_export symbol and apply pfn if found. | |
150 | |
151 2017-05-31 DJ Delorie <dj@redhat.com> | |
152 | |
153 * configure.ac (strnlen): Add to AC_CHECK_DECLS. | |
154 * configure: Likewise. | |
155 * config.in: Add HACE_DECL_STRNLEN. | |
156 | |
157 2017-05-27 Iain Buclaw <ibuclaw@gdcproject.org> | |
158 | |
159 * d-demangle.c (dlang_identifier): Prefix mangled init symbols | |
160 with `initializer for'. | |
161 * testsuite/demangle-expected: Update tests. | |
162 | |
163 2017-05-27 Iain Buclaw <ibuclaw@gdcproject.org> | |
164 | |
165 * d-demangle.c (dlang_call_convention_p): Move declaration | |
166 before dlang_type. | |
167 (dlang_type): Handle function types. | |
168 * testsuite/d-demangle-expected: Add tests. | |
169 | |
170 2017-05-27 Iain Buclaw <ibuclaw@gdcproject.org> | |
171 | |
172 * d-demangle.c (dlang_parse_real): Remove stack buffer, write | |
173 the demangled hexadecimal directly to string. | |
174 * testsuite/d-demangle-expected: Add tests. | |
175 | |
176 2017-05-24 Eli Zaretskii <eliz@gnu.org> | |
177 | |
178 * waitpid.c (wait) [__MINGW32__]: Define as a macro | |
179 that calls _cwait, so that this function works on MinGW. | |
180 | |
181 2017-05-02 Iain Buclaw <ibuclaw@gdcproject.org> | |
182 | |
183 * d-demangle.c (dlang_hexdigit): New function. | |
184 (ascii2hex): Remove function. | |
185 (dlang_parse_string): Update to call dlang_hexdigit. | |
186 * testsuite/d-demangle-expected: Add tests. | |
187 | |
188 2017-05-02 Iain Buclaw <ibuclaw@gdcproject.org> | |
189 | |
190 * d-demangle.c (strtol): Remove declaration. | |
191 Updated all callers to use dlang_number. | |
192 (dlang_number): New function. | |
193 (dlang_value): Moved check for ISDIGIT into dlang_parse_integer. | |
194 * testsuite/d-demangle-expected: Add tests. | |
195 | |
196 2017-05-02 Iain Buclaw <ibuclaw@gdcproject.org> | |
197 | |
198 * d-demangle.c (dlang_parse_symbol): Remove function. | |
199 (dlang_parse_qualified): New function. | |
200 (dlang_parse_mangle): New function. | |
201 (dlang_type): Update to call dlang_parse_qualified. | |
202 (dlang_identifier): Update to call either dlang_parse_qualified or | |
203 dlang_parse_mangle. | |
204 (dlang_type_modifier_p): Remove function. | |
205 (dlang_call_convention_p): Don't allow type modifiers in mangle. | |
206 (dlang_template_args): Update to call dlang_identifier. | |
207 (dlang_demangle): Update to call dlang_parse_mangle. | |
208 * testsuite/d-demangle-expected: Add tests. | |
209 | |
210 2017-05-01 Iain Buclaw <ibuclaw@gdcproject.org> | |
211 | |
212 * d-demangle.c (dlang_value): Add comment explaining why cases for | |
213 digits are required. | |
214 * testsuite/d-demangle-expected: Update integer value tests. | |
215 | |
216 2017-05-01 Iain Buclaw <ibuclaw@gdcproject.org> | |
217 | |
218 * d-demangle.c (dlang_parse_symbol): Skip over anonymous symbols. | |
219 * testsuite/d-demangle-expected: Add tests. | |
220 | |
221 2017-05-01 Iain Buclaw <ibuclaw@gdcproject.org> | |
222 | |
223 * d-demangle.c (dlang_identifier): Handle template constraint symbols. | |
224 (dlang_parse_template): Only advance if template symbol prefix is | |
225 followed by a digit. | |
226 * testsuite/d-demangle-expected: Add tests. | |
227 | |
228 2017-05-01 Iain Buclaw <ibuclaw@gdcproject.org> | |
229 | |
230 * d-demangle.c (dlang_attributes): Handle scope attributes. | |
231 * testsuite/d-demangle-expected: Add tests. | |
232 | |
233 2017-04-27 Jonathan Wakely <jwakely@redhat.com> | |
234 | |
235 PR demangler/80513 | |
236 * cp-demangle.c (d_number): Check for overflow. | |
237 * cplus-dem.c (consume_count): Fix overflow check. | |
238 (gnu_special): Check for underscore after thunk delta. | |
239 * testsuite/demangle-expected: Add tests for overflows and invalid | |
240 characters in thunks. | |
241 | |
242 2017-04-21 Mark Wielaard <mark@klomp.org> | |
243 | |
244 * cp-demangle.c (MAX_RECURSION_COUNT): New constant. | |
245 (struct d_print_info): Add recursion field. | |
246 (d_print_init): Initialize recursion. | |
247 (d_print_comp): Check and update d_print_info recursion depth. | |
248 | |
249 2017-04-21 Mark Wielaard <mark@klomp.org> | |
250 | |
251 * cp-demangle.c (d_substitution): Return NULL if d_add_substitution | |
252 fails. | |
253 | |
254 2017-04-21 Mark Wielaard <mark@klomp.org> | |
255 | |
256 * cp-demangle.h (struct d_info): Remove did_subs field. | |
257 * cp-demangle.c (struct d_info_checkpoint): Likewise. | |
258 (d_template_param): Don't update did_subs. | |
259 (d_substitution): Likewise. | |
260 (d_checkpoint): Don't assign did_subs. | |
261 (d_backtrack): Likewise. | |
262 (cplus_demangle_init_info): Don't initialize did_subs. | |
263 | |
264 2017-03-27 Pedro Alves <palves@redhat.com> | |
265 | |
266 * cp-demint.c (cplus_demangle_fill_component): Handle | |
267 DEMANGLE_COMPONENT_RVALUE_REFERENCE. | |
268 | |
269 2017-03-12 Mark Wielaard <mark@klomp.org> | |
270 | |
271 * cp-demangle.c (cplus_demangle_fill_name): Initialize | |
272 demangle_component d_printing. | |
273 (cplus_demangle_fill_extended_operator): Likewise. | |
274 (cplus_demangle_fill_ctor): Likewise. | |
275 (cplus_demangle_fill_dtor): Likewise. | |
276 | |
277 2017-03-08 Mark Wielaard <mark@klomp.org> | |
278 | |
279 PR demangler/70909 | |
280 PR demangler/67264 | |
281 * cp-demangle.c: Fix endless recursion. Pass | |
282 struct demangle_component as non const. | |
283 (d_make_empty): Initialize variable. | |
284 (d_print_comp_inner): Limit recursion. | |
285 (d_print_comp): Decrement variable. | |
286 * cp-demint.c (cplus_demangle_fill_component): Initialize | |
287 variable. | |
288 (cplus_demangle_fill_builtin_type): Likewise. | |
289 (cplus_demangle_fill_operator): Likewise. | |
290 * testsuite/demangle-expected: Add tests. | |
291 | |
292 2017-01-18 Markus Trippelsdorf <markus@trippelsdorf.de> | |
293 | |
294 PR PR c++/70182 | |
295 * cp-demangle.c (d_unqualified_name): Handle "on" for | |
296 operator names. | |
297 * testsuite/demangle-expected: Add tests. | |
298 | |
299 2017-01-18 Markus Trippelsdorf <markus@trippelsdorf.de> | |
300 | |
301 PR c++/77489 | |
302 * cp-demangle.c (d_discriminator): Handle discriminator >= 10. | |
303 * testsuite/demangle-expected: Add tests for discriminator. | |
304 | |
305 2017-01-04 Jakub Jelinek <jakub@redhat.com> | |
306 | |
307 Update copyright years. | |
308 | |
309 2017-01-04 Alan Modra <amodra@gmail.com> | |
310 | |
311 * Makefile.in (configure_deps): Update. | |
312 * configure: Regenerate. | |
313 | |
314 2016-12-13 Jakub Jelinek <jakub@redhat.com> | |
315 | |
316 PR c++/78761 | |
317 * cp-demangle.c (cplus_demangle_type): Demangle Dc as decltype(auto). | |
318 * testsuite/demangle-expected: Add test for decltype(auto). | |
319 | |
320 2016-12-12 Nathan Sidwell <nathan@acm.org> | |
321 | |
322 PR c++/78252 | |
323 * cp-demangle.c (struct d_print_info): Add is_lambda_arg field. | |
324 (d_print_init): Initialize it. | |
325 (d_print_comp_inner) <DEMANGLE_COMPONENT_TEMPLATE_PARAM>: Check | |
326 is_lambda_arg for auto. | |
327 <DEMANGLE_COMPONENT_REFERENCE, | |
328 DEMANGLE_COMPONENT_RVALUE_REFERENCE>: Skip smashing check when | |
329 is_lambda_arg. | |
330 <DEMANGLE_COMPONENT_LAMBDA>: Increment is_lambda_arg around arg | |
331 printing. | |
332 * testsuite/demangle-expected: Add lambda auto mangling cases. | |
333 | |
334 2016-12-06 DJ Delorie <dj@redhat.com> | |
335 | |
336 * argv.c (expandargv): Check for directories passed as @-files. | |
337 | |
338 2016-11-30 David Malcolm <dmalcolm@redhat.com> | |
339 | |
340 PR c/78498 | |
341 * strndup.c (strlen): Delete decl. | |
342 (strnlen): Add decl. | |
343 (strndup): Call strnlen rather than strlen. | |
344 * xstrndup.c (xstrndup): Likewise. | |
345 | |
346 2016-11-29 Nathan Sidwell <nathan@acm.org> | |
347 | |
348 * cp-demangle.c (d_print_comp_inner): Fix parameter indentation. | |
349 | |
350 2016-11-03 David Tolnay <dtolnay@gmail.com> | |
351 Mark Wielaard <mark@klomp.org> | |
352 | |
353 * Makefile.in (CFILES): Add rust-demangle.c. | |
354 (REQUIRED_OFILES): Add rust-demangle.o. | |
355 * cplus-dem.c (libiberty_demanglers): Add rust_demangling case. | |
356 (cplus_demangle): Handle RUST_DEMANGLING. | |
357 (rust_demangle): New function. | |
358 * rust-demangle.c: New file. | |
359 * testsuite/Makefile.in (really-check): Add check-rust-demangle. | |
360 (check-rust-demangle): New rule. | |
361 * testsuite/rust-demangle-expected: New file. | |
362 | |
363 2016-11-15 Mark Wielaard <mark@klomp.org> | |
364 | |
365 * cp-demangle.c (d_expression_1): Make sure third expression | |
366 exists for ?: and fold expressions. | |
367 * testsuite/demangle-expected: Add examples of strings that could | |
368 crash the demangler because of missing expression. | |
369 | |
370 2016-11-14 Mark Wielaard <mark@klomp.org> | |
371 | |
372 * cplus-dem.c (demangle_signature): After 'H', template function, | |
373 no success and don't advance position if end of string reached. | |
374 (demangle_template): After 'z', template name, return zero on | |
375 premature end of string. | |
376 (gnu_special): Guard strchr against searching for zero characters. | |
377 (do_type): If member, only advance mangled string when 'F' found. | |
378 * testsuite/demangle-expected: Add examples of strings that could | |
379 crash the demangler by reading past end of input. | |
380 | |
381 2016-11-06 Mark Wielaard <mark@klomp.org> | |
382 | |
383 * configure.ac (ac_libiberty_warn_cflags): Add -Wshadow=local. | |
384 * configure: Regenerated. | |
385 | |
386 2016-11-07 Jason Merrill <jason@redhat.com> | |
387 | |
388 * cp-demangle.c (is_fnqual_component_type): New. | |
389 (d_encoding, d_print_comp_inner, d_print_mod_list): Use it. | |
390 (FNQUAL_COMPONENT_CASE): New. | |
391 (d_make_comp, has_return_type, d_print_comp_inner) | |
392 (d_print_function_type): Use it. | |
393 (next_is_type_qual): New. | |
394 (d_cv_qualifiers, d_print_mod): Handle noexcept and throw-spec. | |
395 | |
396 2016-11-02 Mark Wielaard <mjw@redhat.com> | |
397 | |
398 * cplus-dem.c (demangle_signature): Move fall through comment. | |
399 (demangle_fund_type): Add fall through comment between 'G' and 'I'. | |
400 * hashtab.c (iterative_hash): Add fall through comments. | |
401 * regex.c (regex_compile): Add Fall through comment after '+'/'?'. | |
402 (byte_re_match_2_internal): Add Fall through comment after jump_n. | |
403 Change "Note fall through" to "Fall through". | |
404 (common_op_match_null_string_p): Return false after set_number_at | |
405 instead of fall through. | |
406 | |
407 2016-11-01 Jason Merrill <jason@redhat.com> | |
408 | |
409 * cp-demangle.c (d_ctor_dtor_name): Handle inheriting constructor. | |
410 | |
411 2016-10-31 Mark Wielaard <mjw@redhat.com> | |
412 | |
413 * cplus-dem.c (ada_demangle): Initialize demangled to NULL and | |
414 XDELETEVEC demangled when unknown. | |
415 | |
416 2016-09-19 Andrew Stubbs <ams@codesourcery.com> | |
417 | |
418 * pex-win32.c (argv_to_cmdline): Quote zero-length parameters. | |
419 * testsuite/test-pexecute.c (main): Insert check for zero-length parameters. | |
420 | |
421 2016-09-10 Mark Wielaard <mjw@redhat.com> | |
422 | |
423 * cp-demangle.c (d_substitution): Change struct demangle_component | |
424 variable name from c to dc. | |
425 | |
426 2016-08-12 Marek Polacek <polacek@redhat.com> | |
427 | |
428 PR c/7652 | |
429 * cp-demangle.c (d_print_mod): Add FALLTHRU. | |
430 | |
431 2016-08-04 Marcel Böhme <boehme.marcel@gmail.com> | |
432 | |
433 PR c++/71696 | |
434 * cplus-dem.c: Prevent infinite recursion when there is a cycle | |
435 in the referencing of remembered mangled types. | |
436 (work_stuff): New stack to keep track of the remembered mangled | |
437 types that are currently being processed. | |
438 (push_processed_type): New method to push currently processed | |
439 remembered type onto the stack. | |
440 (pop_processed_type): New method to pop currently processed | |
441 remembered type from the stack. | |
442 (work_stuff_copy_to_from): Copy values of new variables. | |
443 (delete_non_B_K_work_stuff): Free stack memory. | |
444 (demangle_args): Push/Pop currently processed remembered type. | |
445 (do_type): Do not demangle a cyclic reference and push/pop | |
446 referenced remembered type. | |
447 | |
448 2016-07-29 Aldy Hernandez <aldyh@redhat.com> | |
449 | |
450 * make-relative-prefix.c (make_relative_prefix_1): Fall back to | |
451 malloc if alloca argument is greater than MAX_ALLOCA_SIZE. | |
452 | |
453 2016-07-15 Jason Merrill <jason@redhat.com> | |
454 | |
455 * cp-demangle.c (cplus_demangle_operators): Add f[lrLR]. | |
456 (d_expression_1): Handle them. | |
457 (d_maybe_print_fold_expression): New. | |
458 (d_print_comp_inner): Use it. | |
459 (d_index_template_argument): Handle negative index. | |
460 | |
461 * cp-demangle.c (cplus_demangle_operators): Add sP and sZ. | |
462 (d_print_comp_inner): Handle them. | |
463 (d_template_args_1): Split out from d_template_args. | |
464 (d_args_length): New. | |
465 | |
466 2016-07-13 Marcel Böhme <boehme.marcel@gmail.com> | |
467 | |
468 PR c++/70926 | |
469 * cplus-dem.c: Handle large values and overflow when demangling | |
470 length variables. | |
471 (demangle_template_value_parm): Read only until end of mangled string. | |
472 (do_hpacc_template_literal): Likewise. | |
473 (do_type): Handle overflow when demangling array indices. | |
474 | |
475 2016-06-12 Brooks Moses <bmoses@google.com> | |
476 | |
477 * cp-demangle.c (cplus_demangle_print_callback): Avoid zero-length | |
478 VLAs. | |
479 | |
480 2016-05-31 Alan Modra <amodra@gmail.com> | |
481 | |
482 * xmemdup.c (xmemdup): Use xmalloc rather than xcalloc. | |
483 | |
484 2016-05-19 Jakub Jelinek <jakub@redhat.com> | |
485 | |
486 PR c++/70498 | |
487 * cp-demangle.c (d_expression_1): Formatting fix. | |
488 | |
489 2016-05-18 Artemiy Volkov <artemiyv@acm.org> | |
490 | |
491 * cplus-dem.c (enum type_kind_t): Add tk_rvalue_reference | |
492 constant. | |
493 (demangle_template_value_parm): Handle tk_rvalue_reference | |
494 type kind. | |
495 (do_type): Support 'O' type id (rvalue references). | |
496 | |
497 * testsuite/demangle-expected: Add tests. | |
498 | |
499 2016-05-02 Marcel Böhme <boehme.marcel@gmail.com> | |
500 | |
501 PR c++/70498 | |
502 * cp-demangle.c: Parse numbers as integer instead of long to avoid | |
503 overflow after sanity checks. Include <limits.h> if available. | |
504 (INT_MAX): Define if necessary. | |
505 (d_make_template_param): Takes integer argument instead of long. | |
506 (d_make_function_param): Likewise. | |
507 (d_append_num): Likewise. | |
508 (d_identifier): Likewise. | |
509 (d_number): Parse as and return integer. | |
510 (d_compact_number): Handle overflow. | |
511 (d_source_name): Change variable type to integer for parsed number. | |
512 (d_java_resource): Likewise. | |
513 (d_special_name): Likewise. | |
514 (d_discriminator): Likewise. | |
515 (d_unnamed_type): Likewise. | |
516 * testsuite/demangle-expected: Add regression test cases. | |
517 | |
518 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org> | |
519 | |
520 * configure: Remove SH5 support. | |
521 | |
522 2016-04-08 Marcel Böhme <boehme.marcel@gmail.com> | |
523 | |
524 PR c++/69687 | |
525 * cplus-dem.c: Include <limits.h> if available. | |
526 (INT_MAX): Define if necessary. | |
527 (remember_type, remember_Ktype, register_Btype, string_need): | |
528 Abort if we detect cases where we the size of the allocation would | |
529 overflow. | |
530 | |
531 PR c++/70492 | |
532 * cplus-dem.c (gnu_special): Handle case where consume_count returns | |
533 -1. | |
534 | |
535 2016-03-31 Mikhail Maltsev <maltsevm@gmail.com> | |
536 Marcel Bohme <boehme.marcel@gmail.com> | |
537 | |
538 PR c++/67394 | |
539 PR c++/70481 | |
540 * cplus-dem.c (squangle_mop_up): Zero bsize/ksize after freeing | |
541 btypevec/ktypevec. | |
542 * testsuite/demangle-expected: Add coverage tests. | |
543 | |
544 2016-01-27 Iain Buclaw <ibuclaw@gdcproject.org> | |
545 | |
546 * d-demangle.c (dlang_call_convention): Handle extern Objective-C | |
547 function calling convention. | |
548 (dlang_call_convention_p): Likewise. | |
549 (dlang_type): Likewise. | |
550 * testsuite/d-demangle-expected: Add coverage tests. | |
551 | |
552 2016-01-27 Iain Buclaw <ibuclaw@gdcproject.org> | |
553 | |
554 * d-demangle.c (dlang_function_args): Append ',' for variadic functions | |
555 only if parameters were seen before the elipsis symbol. | |
556 * testsuite/d-demangle-expected: Add coverage test for parameter-less | |
557 variadic functions. | |
558 | |
559 2016-01-27 Iain Buclaw <ibuclaw@gdcproject.org> | |
560 | |
561 * d-demangle.c (dlang_type): Handle function types only in the context | |
562 of seeing a pointer type symbol. | |
563 * testsuite/d-demangle-expected: Update function pointer tests. | |
564 | |
565 2016-01-05 Mike Frysinger <vapier@gentoo.org> | |
566 | |
567 * argv.c (dupargv): Change arg to char * const *. Update comment. | |
568 (writeargv, countargv): Likewise. | |
569 * functions.texi (dupargv, writeargv, countargv): Likewise. | |
570 | |
571 2016-01-05 Mike Frysinger <vapier@gentoo.org> | |
572 | |
573 * argv.c (dupargv): Replace strlen/xmalloc/strcpy with xstrdup. | |
574 | |
575 2015-12-28 Patrick Palka <ppalka@gcc.gnu.org> | |
576 | |
577 * crc32.c: In the documentation, don't refer to GDB's | |
578 now-nonexistent crc32 implementation. In the table-generation | |
579 program embedded within the documentation, change the type of | |
580 the induction variables i and j from int to unsigned int, to | |
581 avoid undefined behavior. | |
582 | |
583 2015-12-21 Nick Clifton <nickc@redhat.com> | |
584 | |
585 PR 66827 | |
586 * regex.c (EXTRACT_NUMBER): Cast sign byte to unsigned before left | |
587 shifting. | |
588 | |
589 2015-11-27 Pedro Alves <palves@redhat.com> | |
590 | |
591 PR other/61321 | |
592 PR other/61233 | |
593 * cp-demangle.c (d_demangle_callback, d_make_comp): Handle | |
594 DEMANGLE_COMPONENT_CONVERSION. | |
595 (is_ctor_dtor_or_conversion): Handle DEMANGLE_COMPONENT_CONVERSION | |
596 instead of DEMANGLE_COMPONENT_CAST. | |
597 (d_operator_name): Return a DEMANGLE_COMPONENT_CONVERSION | |
598 component if handling a conversion. | |
599 (d_count_templates_scopes, d_print_comp_inner): Handle | |
600 DEMANGLE_COMPONENT_CONVERSION. | |
601 (d_print_comp_inner): Handle DEMANGLE_COMPONENT_CONVERSION instead | |
602 of DEMANGLE_COMPONENT_CAST. | |
603 (d_print_cast): Rename as ... | |
604 (d_print_conversion): ... this. Adjust comments. | |
605 (d_print_cast): Rewrite - simply print the left subcomponent. | |
606 * cp-demint.c (cplus_demangle_fill_component): Handle | |
607 DEMANGLE_COMPONENT_CONVERSION. | |
608 | |
609 * testsuite/demangle-expected: Add tests. | |
610 | |
611 2015-11-12 Mike Stump <mikestump@comcast.net> | |
612 | |
613 * Makefile.in (etags tags TAGS): Use && instead of ;. | |
614 | |
615 2015-11-09 Alan Modra <amodra@gmail.com> | |
616 | |
617 * configure.ac: Check size of size_t. | |
618 * configure: Regenerate. | |
619 * config.in: Regenerate. | |
620 | |
621 2015-11-09 Alan Modra <amodra@gmail.com> | |
622 | |
623 * obstack.c (_obstack_newchunk): Silence -Wc++compat warning. | |
624 (_obstack_begin_worker): Likewise. Move assignment to h->chunk | |
625 after alloc failure check. | |
626 | |
627 2015-11-09 Alan Modra <amodra@gmail.com> | |
628 | |
629 PR gdb/17133 | |
630 * obstack.c (__alignof__): Expand alignof_type from alignof.h. | |
631 (obstack_exit_failure): Don't use exitfail.h. | |
632 (_): Include libintl.h when HAVE_LIBINTL_H and nls enabled. | |
633 Provide default. Don't include gettext.h. | |
634 (_Noreturn): Define. | |
635 * obstacks.texi: Adjust node references to external libc info files. | |
636 | |
637 2015-11-09 Alan Modra <amodra@gmail.com> | |
638 | |
639 PR gdb/17133 | |
640 * obstack.c: Import current gnulib file. | |
641 * obstacks.texi: Updated doc, from glibc's manual/memory.texi. | |
642 | |
643 2015-11-06 Joel Brobecker <brobecker@adacore.com> | |
644 | |
645 * configure.ac: Set AC_CV_FUNC_GETPAGESIZE to "yes" on | |
646 Android hosts. | |
647 * configure: Regenerate. | |
648 | |
649 2015-10-28 Jason Merrill <jason@redhat.com> | |
650 | |
651 * Makefile.in (TAGS): Fix for separate build directory. | |
652 | |
653 2015-10-18 Roland McGrath <roland@gnu.org> | |
654 Iain Sandoe <iain@codesourcery.com> | |
655 | |
656 PR other/63758 | |
657 * pex-unix.c: Obtain the environment interface from settings in | |
658 environ.h rather than in-line code. Update copyright date. | |
659 * setenv.c: Likewise. | |
660 * xmalloc.c: Likewise. | |
661 | |
662 2015-09-30 Jason Merrill <jason@redhat.com> | |
663 | |
664 * cp-demangle.c (d_cv_qualifiers): Dx means transaction_safe. | |
665 (cplus_demangle_type): Let d_cv_qualifiers handle it. | |
666 (d_dump, d_make_comp, has_return_type, d_encoding) | |
667 (d_count_templates_scopes, d_print_comp_inner) | |
668 (d_print_mod_list, d_print_mod, d_print_function_type) | |
669 (is_ctor_or_dtor): Handle DEMANGLE_COMPONENT_TRANSACTION_SAFE. | |
670 | |
671 2015-08-15 Ian Lance Taylor <iant@google.com> | |
672 | |
673 * cp-demangle.c (d_abi_tags): Preserve di->last_name across any | |
674 ABI tags. | |
675 | |
676 2015-08-11 Iain Buclaw <ibuclaw@gdcproject.org> | |
677 | |
678 * d-demangle.c (dlang_parse_real): Remove call to strtod. | |
679 (strtod): Remove declaration. | |
680 * testsuite/d-demangle-expected: Update float and complex literal | |
681 tests to check correct hexadecimal demangling. | |
682 | |
683 2015-07-13 Mikhail Maltsev <maltsevm@gmail.com> | |
684 | |
685 * cp-demangle.c (d_dump): Fix syntax error. | |
686 (d_identifier): Adjust type of len to match d_source_name. | |
687 (d_expression_1): Fix out-of-bounds access. Check code variable for | |
688 NULL before dereferencing it. | |
689 (d_find_pack): Do not recurse for FIXED_TYPE, DEFAULT_ARG and NUMBER. | |
690 (d_print_comp_inner): Add NULL pointer check. | |
691 * cp-demangle.h (d_peek_next_char): Define as inline function when | |
692 CHECK_DEMANGLER is defined. | |
693 (d_advance): Likewise. | |
694 * testsuite/demangle-expected: Add new testcases. | |
695 | |
696 2015-07-09 Uros Bizjak <ubizjak@gmail.com> | |
697 | |
698 * getruntime.c (RUSAGE_SELF): Define if not already defined. | |
699 (get_runtime): Use RUSAGE_SELF as argument 1 of getrusage call. | |
700 | |
701 2015-06-01 Jason Merrill <jason@redhat.com> | |
702 | |
703 * cp-demangle.c (cplus_demangle_type): Handle arguments to vendor | |
704 extended qualifier. | |
705 | |
706 2015-05-22 Yunlian Jiang <yunlian@google.com> | |
707 | |
708 * configure.ac: Add AC_GNU_SOURCE. | |
709 * Makefile.in (COMPILE.c): Add -D_GNU_SOURCE. | |
710 * configure, config.in: Rebuild. | |
711 * floatformat.c (_GNU_SOURCE): Don't define if already defined. | |
712 | |
713 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org> | |
714 | |
715 * d-demangle.c (dlang_symbol_kinds): New enum. | |
716 (dlang_parse_symbol): Update signature. Handle an ambiguity between | |
717 pascal functions and template value arguments. Only check for a type | |
718 if parsing a function, or at the top level. Return failure if the | |
719 entire symbol was not successfully demangled. | |
720 (dlang_identifier): Update signature. Handle an ambiguity between two | |
721 adjacent digits in a mangled symbol string. | |
722 (dlang_type): Update call to dlang_parse_symbol. | |
723 (dlang_template_args): Likewise. | |
724 (dlang_parse_template): Likewise. | |
725 (dlang_demangle): Likewise. | |
726 * testsuite/d-demangle-expected: Fix bad tests found, and add problematic | |
727 examples to the unittests. | |
728 | |
729 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org> | |
730 | |
731 * d-demangle.c (dlang_template_args): Skip over specialized template | |
732 parameters in mangled symbol. | |
733 * testsuite/d-demangle-expected: Add coverage and unittest for specialized | |
734 template parameters. | |
735 | |
736 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org> | |
737 | |
738 * d-demangle.c (dlang_type): Handle cent and ucent types. | |
739 * testsuite/d-demangle-expected: Add coverage tests for cent and ucent. | |
740 | |
741 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org> | |
742 | |
743 * d-demangle.c (dlang_attributes): Handle return attributes, ignoring | |
744 return parameters in the mangled string. Return NULL if have encountered | |
745 an unknown attribute. | |
746 (dlang_function_args): Handle return parameters in the mangled string. | |
747 * testsuite/d-demangle-expected: Add coverage tests for functions with | |
748 return parameters and return attributes. | |
749 | |
750 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org> | |
751 | |
752 * d-demangle.c (dlang_identifier): Check encoded length of identifier | |
753 to verify strncmp matches entire string. | |
754 * testsuite/d-demangle-expected: Fix wrong test for postblit symbol. | |
755 | |
756 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org> | |
757 | |
758 * d-demangle.c (dlang_type_modifiers): New function. | |
759 (dlang_type_modifier_p): New function. | |
760 (dlang_call_convention_p): Ignore any kind of type modifier. | |
761 (dlang_type): Handle and emit the type modifier after delegate types. | |
762 (dlang_parse_symbol): Handle and emit the type modifier after the symbol. | |
763 * testsuite/d-demangle-expected: Add coverage tests for all valid | |
764 usages of function symbols with type modifiers. | |
765 | |
766 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org> | |
767 | |
768 * d-demangle.c (dlang_call_convention): Return NULL if have reached the | |
769 end of the symbol, but expected something to read. | |
770 (dlang_attributes): Likewise. | |
771 (dlang_function_type): Likewise. | |
772 (dlang_type): Likewise. | |
773 (dlang_identifier): Likewise. | |
774 (dlang_value): Likewise. | |
775 | |
776 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org> | |
777 | |
778 * d-demangle.c (dlang_parse_string): Represent embedded whitespace or | |
779 non-printable characters as hex or escape sequences. | |
780 * testsuite/d-demangle-expected: Add test for templates with tabs and | |
781 newlines embedded into the signature. | |
782 | |
783 2015-05-08 Joel Brobecker <brobecker@adacore.com> | |
784 | |
785 * mkstemps.c: #include <time.h> if HAVE_TIME_H is defined | |
786 but not HAVE_SYS_TIME_H. | |
787 | |
788 2015-04-22 Eli Zaretskii <eliz@gnu.org> | |
789 | |
790 * setenv.c <environ>: Declare only if not a macro. | |
791 | |
792 2015-04-14 Max Ostapenko <m.ostapenko@partner.samsung.com> | |
793 | |
794 * testsuite/Makefile.in (LIBCFLAGS): Add LDFLAGS. | |
795 | |
796 2015-04-10 Jakub Jelinek <jakub@redhat.com> | |
797 Iain Sandoe <iain@codesourcery.com> | |
798 | |
799 PR target/65351 | |
800 * configure: Regenerate. | |
801 | |
802 2015-04-07 Jakub Jelinek <jakub@redhat.com> | |
803 Iain Sandoe <iain@codesourcery.com> | |
804 | |
805 PR target/65351 | |
806 * configure: Regenerate. | |
807 | |
808 2015-01-19 Eli Zaretskii <eliz@gnu.org> | |
809 | |
810 * strerror.c <sys_nerr, sys_errlist>: Declare only if they aren't | |
811 macros. | |
812 | |
813 2014-12-24 Uros Bizjak <ubizjak@gmail.com> | |
814 Ben Elliston <bje@au.ibm.com> | |
815 Manuel Lopez-Ibanez <manu@gcc.gnu.org> | |
816 | |
817 * xasprintf.c: New file. | |
818 * Makefile.in (CFILES): Add xasprintf.c. | |
819 (REQUIRED_OFILES): Add xasprintf.$(objext). | |
820 (xasprintf.$(objext)): New target. | |
821 * functions.texi: Regenerate. | |
822 | |
823 2014-12-11 Uros Bizjak <ubizjak@gmail.com> | |
824 Ben Elliston <bje@au.ibm.com> | |
825 Manuel Lopez-Ibanez <manu@gcc.gnu.org> | |
826 | |
827 * xvasprintf.c: New file. | |
828 * vprintf-support.h: Likewise. | |
829 * vprintf-support.c: Likewise. | |
830 * Makefile.in (CFILES): Add vprintf-support.c, xvasprintf.c. | |
831 (REQUIRED_OFILES): Add vprintf-support.$(objext), xvasprintf.$(objext). | |
832 (vprintf-support.$(objext), xvasprintf.$(objext)): New targets. | |
833 (vasprintf.$(objext)): Depend on $(srcdir)/vprintf-support.h. | |
834 * functions.texi: Regenerate. | |
835 * vasprintf.c (int_vasprintf): Use libiberty_vprintf_buffer_size. | |
836 | |
837 2014-11-22 John David Anglin <danglin@gcc.gnu.org> | |
838 | |
839 PR other/63694 | |
840 * configure.ac: Check for strtol, strtoul, strtoll and strtoull | |
841 declarations. | |
842 * configure: Regenerated. | |
843 | |
844 2014-11-12 Kirill Yukhin <kirill.yukhin@intel.com> | |
845 | |
846 * testsuite/test-strtol.c (run_tests): Cast strtol return to | |
847 unsigned long. | |
848 | |
849 2014-11-11 Anthony Brandon <anthony.brandon@gmail.com> | |
850 Manuel López-Ibáñez <manu@gcc.gnu.org> | |
851 | |
852 PR driver/36312 | |
853 * filename_cmp.c (canonical_filename_eq): New function to check if | |
854 file names are the same. | |
855 * functions.texi: Updated with documentation for new function. | |
856 | |
857 2014-11-11 David Malcolm <dmalcolm@redhat.com> | |
858 | |
859 * ChangeLog.jit: New. | |
860 | |
861 2014-11-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
862 | |
863 * sigsetmask.c (_POSIX_SOURCE): Remove. | |
864 | |
865 2014-10-28 Yury Gribov <y.gribov@samsung.com> | |
866 | |
867 * strtoll.c: New file. | |
868 * strtoull.c: New file. | |
869 * configure.ac: Add long long checks. Add harness for strtoll and | |
870 strtoull. Check decls for strtol, strtoul, strtoll, strtoull. | |
871 * Makefile.in (CFILES, CONFIGURED_OFILES): Add strtoll and strtoull. | |
872 * config.in: Regenerate. | |
873 * configure: Regenerate. | |
874 * functions.texi: Regenerate. | |
875 * testsuite/Makefile.in (check-strtol): New rule. | |
876 (test-strtol): Likewise. | |
877 (mostlyclean): Clean up strtol test. | |
878 * testsuite/test-strtol.c: New test. | |
879 | |
880 2014-10-15 David Malcolm <dmalcolm@redhat.com> | |
881 | |
882 * choose-temp.c (choose_tmpdir): Remove now-redundant local | |
883 copy of prototype. | |
884 * functions.texi: Regenerate. | |
885 * make-temp-file.c (choose_tmpdir): Convert return type from | |
886 char * to const char * - given that this returns a pointer to | |
887 a memoized allocation, the caller must not touch it. | |
888 | |
889 2014-10-14 Joel Brobecker <brobecker@adacore.com> | |
890 | |
891 * d-demangle.c: Replace strtold with strtod in global comment. | |
892 (strtold): Remove declaration. | |
893 (strtod): New declaration. | |
894 (dlang_parse_real): Declare value as double instead of long | |
895 double. Replace call to strtold by call to strtod. | |
896 Update format in call to snprintf. | |
897 | |
898 2014-09-26 Jason Merrill <jason@redhat.com> | |
899 | |
900 * cp-demangle.c (d_substitution): Handle abi tags on abbreviation. | |
901 | |
902 2014-09-26 Max Ostapenko <m.ostapenko@partner.samsung.com> | |
903 | |
904 * pex-common.h (struct pex_funcs): Add new parameter for open_write field. | |
905 * pex-unix.c (pex_unix_open_write): Add support for new parameter. | |
906 * pex-djgpp.c (pex_djgpp_open_write): Likewise. | |
907 * pex-win32.c (pex_win32_open_write): Likewise. | |
908 * pex-common.c (pex_run_in_environment): Likewise. | |
909 | |
910 2014-09-23 Iain Buclaw <ibuclaw@gdcproject.org> | |
911 | |
912 * Makefile.in (CFILES): Add d-demangle.c. | |
913 (REQUIRED_OFILES): Add d-demangle.o. | |
914 * cplus-dem.c (libiberty_demanglers): Add dlang_demangling case. | |
915 (cplus_demangle): Likewise. | |
916 * d-demangle.c: New file. | |
917 * testsuite/Makefile.in (really-check): Add check-d-demangle. | |
918 * testsuite/d-demangle-expected: New file. | |
919 | |
920 2014-09-19 Ian Lance Taylor <iant@google.com> | |
921 | |
922 * simple-object-elf.c (simple_object_elf_write_ehdr): Correctly | |
923 handle objects with more than SHN_LORESERVE sections. | |
924 (simple_object_elf_write_shdr): Add sh_link parameter. | |
925 (simple_object_elf_write_to_file): Correctly handle objects with | |
926 more than SHN_LORESERVE sections. | |
927 | |
928 2014-08-29 Andrew Burgess <aburgess@broadcom.com> | |
929 | |
930 * cp-demangle.c (d_dump): Only access field from s_fixed part of | |
931 the union for DEMANGLE_COMPONENT_FIXED_TYPE. | |
932 (d_count_templates_scopes): Likewise. | |
933 | |
934 2014-08-13 Gary Benson <gbenson@redhat.com> | |
935 | |
936 * testsuite/demangler-fuzzer.c: New file. | |
937 * testsuite/Makefile.in (fuzz-demangler): New rule. | |
938 (demangler-fuzzer): Likewise. | |
939 (mostlyclean): Clean up demangler fuzzer. | |
940 | |
941 2014-06-11 Andrew Burgess <aburgess@broadcom.com> | |
942 | |
943 * cplus-dem.c (do_type): Call string_delete even if the call to | |
944 demangle_template fails. | |
945 | |
946 2014-06-01 Ray Donnelly <mingw.android@gmail.com> | |
947 | |
948 * pex-win32.c (argv_to_cmdline): Don't quote | |
949 args unnecessarily | |
950 | |
951 2014-05-28 Pedro Alves <palves@redhat.com> | |
952 | |
953 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM | |
954 and DEMANGLE_COMPONENT_NUMBER. | |
955 | |
956 2014-05-22 Thomas Schwinge <thomas@codesourcery.com> | |
957 | |
958 * testsuite/demangle-expected: Fix last commit. | |
959 | |
960 2014-05-14 Andrew Burgess <aburgess@broadcom.com> | |
961 | |
962 * cplus-dmem.c (internal_cplus_demangle): Free any resources | |
963 allocated by possible previous call to gnu_special. | |
964 (squangle_mop_up): Reset pointers to NULL after calling free. | |
965 * testsuite/demangle-expected: New test case. | |
966 | |
967 2014-05-08 Gary Benson <gbenson@redhat.com> | |
968 | |
969 * cp-demangle.c (struct d_component_stack): New structure. | |
970 (struct d_print_info): New field component_stack. | |
971 (d_print_init): Initialize the above. | |
972 (d_print_comp_inner): Renamed from d_print_comp. | |
973 Do not restore template stack if it would cause a loop. | |
974 (d_print_comp): New function. | |
975 * testsuite/demangle-expected: New test cases. | |
976 | |
977 2014-04-17 Jakub Jelinek <jakub@redhat.com> | |
978 | |
979 PR sanitizer/56781 | |
980 * maint-tool: Also emit rule for noasan/ subdirectory. | |
981 * configure.ac (NOASANFLAG): Set and substitute. | |
982 * Makefile.in: Regenerated. | |
983 (NOASANFLAG): Set. | |
984 (all, $(TARGETLIB), mostlyclean): Handle noasan subdir like pic | |
985 subdir. | |
986 (stamp-noasandir): New goal. | |
987 * configure: Regenerated. | |
988 | |
989 2014-04-01 Richard Biener <rguenther@suse.de> | |
990 | |
991 * simple-object.c (simple_object_internal_write): Handle | |
992 EINTR and short writes. | |
993 | |
994 2014-03-28 Richard Biener <rguenther@suse.de> | |
995 | |
996 * simple-object.c (simple_object_internal_read): Handle | |
997 EINTR and short reads. | |
998 | |
999 2014-03-13 Uros Bizjak <ubizjak@gmail.com> | |
1000 | |
1001 * regex.c (bzero) [!_LIBC]: Define without coma expression. | |
1002 (regerror): Cast the call to memcpy to (void) to avoid unused | |
1003 value warnings. | |
1004 | |
1005 2014-01-28 Thomas Schwinge <thomas@codesourcery.com> | |
1006 | |
1007 * cp-demangle.c (d_demangle_callback): Put an abort call in place, | |
1008 to help the compiler. | |
1009 | |
1010 2014-01-21 Tom Tromey <tromey@redhat.com> | |
1011 | |
1012 * _doprint.c (checkit): Use stdarg, not VA_* macros. | |
1013 * asprintf.c (asprintf): Use stdarg, not VA_* macros. | |
1014 * concat.c (concat_length, concat_copy, concat_copy2, concat) | |
1015 (reconcat): Use stdarg, not VA_* macros. | |
1016 * snprintf.c (snprintf): Use stdarg, not VA_* macros. | |
1017 * vasprintf.c (checkit): Use stdarg, not VA_* macros. | |
1018 * vsnprintf.c (checkit): Use stdarg, not VA_* macros. | |
1019 | |
1020 2014-01-06 Mike Frysinger <vapier@gentoo.org> | |
1021 | |
1022 PR other/56780 | |
1023 * configure.ac: Delete target_header_dir assignment. | |
1024 * configure: Regenerated. | |
1025 | |
1026 2014-01-06 Gary Benson <gbenson@redhat.com> | |
1027 | |
1028 * cp-demangle.c (struct d_print_info): New fields | |
1029 next_saved_scope, copy_templates, next_copy_template and | |
1030 num_copy_templates. | |
1031 (d_count_templates): New function. | |
1032 (d_print_init): New parameter "dc". | |
1033 Estimate numbers of templates and scopes required. | |
1034 (d_print_free): Removed function. | |
1035 (cplus_demangle_print_callback): Allocate stack for | |
1036 templates and scopes. Removed call to d_print_free. | |
1037 (d_copy_templates): Removed function. | |
1038 (d_save_scope): New function. | |
1039 (d_get_saved_scope): Likewise. | |
1040 (d_print_comp): Replace state saving/restoring code with | |
1041 calls to d_save_scope and d_get_saved_scope. | |
1042 | |
1043 2013-12-23 Bill Maddox <maddox@google.com> | |
1044 | |
1045 * cp-demangle.c (cplus_demangle_fill_ctor,cplus_demangle_fill_dtor): | |
1046 Handle unified ctor/dtor. | |
1047 (d_ctor_dtor_name): Handle unified ctor/dtor. | |
1048 | |
1049 2013-11-22 Cary Coutant <ccoutant@google.com> | |
1050 | |
1051 PR other/59195 | |
1052 * cp-demangle.c (struct d_info_checkpoint): New struct. | |
1053 (struct d_print_info): Add current_template field. | |
1054 (d_operator_name): Set flag when processing a conversion | |
1055 operator. | |
1056 (cplus_demangle_type): When processing <template-args> for | |
1057 a conversion operator, backtrack if necessary. | |
1058 (d_expression_1): Renamed from d_expression. | |
1059 (d_expression): New wrapper around d_expression_1. | |
1060 (d_checkpoint): New function. | |
1061 (d_backtrack): New function. | |
1062 (d_print_init): Initialize current_template. | |
1063 (d_print_comp): Set current_template. | |
1064 (d_print_cast): Put current_template in scope for | |
1065 printing conversion operator name. | |
1066 (cplus_demangle_init_info): Initialize is_expression and | |
1067 is_conversion. | |
1068 * cp-demangle.h (struct d_info): Add is_expression and | |
1069 is_conversion fields. | |
1070 * testsuite/demangle-expected: New test cases. | |
1071 | |
1072 2013-11-15 Andreas Schwab <schwab@linux-m68k.org> | |
1073 | |
1074 * configure: Regenerate. | |
1075 | |
1076 2013-11-12 Uros Bizjak <ubizjak@gmail.com> | |
1077 | |
1078 * cp-demangle.c (d_copy_templates): Cast result of malloc | |
1079 to (struct d_print_template *). | |
1080 (d_print_comp): Cast result of realloc to (struct d_saved scope *). | |
1081 | |
1082 2013-10-29 Marc Glisse <marc.glisse@inria.fr> | |
1083 | |
1084 PR tree-optimization/58689 | |
1085 * concat.c: Remove note about xmalloc. | |
1086 | |
1087 2013-10-27 Gerald Pfeifer <gerald@pfeifer.com> | |
1088 | |
1089 * testsuite/test-demangle.c: Include unistd.h. | |
1090 | |
1091 2013-10-25 Gary Benson <gbenson@redhat.com> | |
1092 | |
1093 * cp-demangle.c (struct d_saved_scope): New structure. | |
1094 (struct d_print_info): New fields saved_scopes and | |
1095 num_saved_scopes. | |
1096 (d_print_init): Initialize the above. | |
1097 (d_print_free): New function. | |
1098 (cplus_demangle_print_callback): Call the above. | |
1099 (d_copy_templates): New function. | |
1100 (d_print_comp): New variables saved_templates and | |
1101 need_template_restore. | |
1102 [DEMANGLE_COMPONENT_REFERENCE, DEMANGLE_COMPONENT_RVALUE_REFERENCE]: | |
1103 Capture scope the first time the component is traversed, and use the | |
1104 captured scope for subsequent traversals. | |
1105 * testsuite/demangle-expected: Add regression test. | |
1106 | |
1107 2013-10-23 Gerald Pfeifer <gerald@pfeifer.com> | |
1108 | |
1109 * testsuite/test-expandargv.c: Include unistd.h. | |
1110 | |
1111 2013-10-15 David Malcolm <dmalcolm@redhat.com> | |
1112 | |
1113 * configure.ac: If --enable-host-shared, use -fPIC. | |
1114 * configure: Regenerate. | |
1115 | |
1116 2013-10-11 Paul Pluzhnikov <ppluzhnikov@google.com> | |
1117 | |
1118 * cp-demangle.c (d_name): Demangle local-source-names. | |
1119 * testsuite/demangle-expected: New test. | |
1120 | |
1121 2013-09-10 Paolo Carlini <paolo.carlini@oracle.com> | |
1122 | |
1123 PR bootstrap/58386 | |
1124 Revert: | |
1125 | |
1126 2013-09-10 Gary Benson <gbenson@redhat.com> | |
1127 | |
1128 * cp-demangle.c: Include hashtab.h. | |
1129 (struct d_print_info): New field saved_scopes. | |
1130 (d_print_init): Initialize the above. | |
1131 (d_print_free): New function. | |
1132 (cplus_demangle_print_callback): Call the above. | |
1133 (struct d_saved_scope): New structure. | |
1134 (d_store_scope): New function. | |
1135 (d_free_scope) Likewise. | |
1136 (d_restore_scope) Likewise. | |
1137 (d_hash_saved_scope) Likewise. | |
1138 (d_equal_saved_scope) Likewise. | |
1139 (d_print_comp): New variable saved_scope. | |
1140 [DEMANGLE_COMPONENT_REFERENCE, | |
1141 DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first | |
1142 time the component is traversed, and use the captured scope for | |
1143 subsequent traversals. | |
1144 * testsuite/demangle-expected: Add regression test. | |
1145 | |
1146 2013-09-10 Gary Benson <gbenson@redhat.com> | |
1147 | |
1148 * cp-demangle.c: Include hashtab.h. | |
1149 (struct d_print_info): New field saved_scopes. | |
1150 (d_print_init): Initialize the above. | |
1151 (d_print_free): New function. | |
1152 (cplus_demangle_print_callback): Call the above. | |
1153 (struct d_saved_scope): New structure. | |
1154 (d_store_scope): New function. | |
1155 (d_free_scope) Likewise. | |
1156 (d_restore_scope) Likewise. | |
1157 (d_hash_saved_scope) Likewise. | |
1158 (d_equal_saved_scope) Likewise. | |
1159 (d_print_comp): New variable saved_scope. | |
1160 [DEMANGLE_COMPONENT_REFERENCE, | |
1161 DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first | |
1162 time the component is traversed, and use the captured scope for | |
1163 subsequent traversals. | |
1164 * testsuite/demangle-expected: Add regression test. | |
1165 | |
1166 2013-08-20 Alan Modra <amodra@gmail.com> | |
1167 | |
1168 * floatformat.c (floatformat_ibm_long_double): Rename to.. | |
1169 (floatformat_ibm_long_double_big): ..this. | |
1170 (floatformat_ibm_long_double_little): New. | |
1171 | |
1172 2013-07-09 Tristan Gingold <gingold@adacore.com> | |
1173 | |
1174 * makefile.vms (OBJS): Add dwarfnames.obj | |
1175 | |
1176 2013-05-31 Matt Burgess <matthew@linuxfromscratch.org> | |
1177 | |
1178 PR other/56780 | |
1179 * configure.ac: Move test for --enable-install-libiberty | |
1180 outside of the 'with_target_subdir' test so that it actually gets | |
1181 run. Add output messages to show the test result. | |
1182 * configure: Regenerate. | |
1183 * Makefile.in (install_to_libdir): Place the | |
1184 installation of the libiberty library in the same guard as that | |
1185 used for the headers to prevent it being installed unless | |
1186 requested via --enable-install-libiberty. | |
1187 | |
1188 2013-05-06 David Edelsohn <dje.gcc@gmail.com> | |
1189 Peter Bergner <bergner@vnet.ibm.com> | |
1190 Segher Boessenkool <segher@kernel.crashing.org> | |
1191 Jakub Jelinek <jakub@redhat.com> | |
1192 | |
1193 * hashtab.c (hash_pointer): Remove conditional and avoid | |
1194 unexecuted shift equal to wordsize. | |
1195 | |
1196 2013-04-22 Andi Kleen <ak@linux.intel.com> | |
1197 | |
1198 * hashtab.c (hash_pointer): Move to end of file and reimplement. | |
1199 | |
1200 2013-04-03 Jason Merrill <jason@redhat.com> | |
1201 | |
1202 * cp-demangle.c (cplus_demangle_type): Fix function quals. | |
1203 (d_pointer_to_member_type): Simplify. | |
1204 | |
1205 Demangle C++11 ref-qualifier. | |
1206 * cp-demangle.c (d_ref_qualifier): New. | |
1207 (d_nested_name, d_function_type): Use it. | |
1208 (d_parmlist): Don't get confused by a ref-qualifier. | |
1209 (cplus_demangle_type): Reorder ref-qualifier. | |
1210 (d_pointer_to_member_type): Likewise. | |
1211 (d_dump): Handle DEMANGLE_COMPONENT_REFERENCE_THIS and | |
1212 DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS. | |
1213 (d_make_comp, has_return_type, d_encoding): Likewise. | |
1214 (d_print_comp, d_print_mod_list, d_print_mod): Likewise. | |
1215 (d_print_function_type, is_ctor_or_dtor): Likewise. | |
1216 | |
1217 2013-03-27 Kai Tietz <ktietz@redhat.com> | |
1218 | |
1219 * configure: Regenerated. | |
1220 | |
1221 2013-03-06 Tobias Burnus <burnus@net-b.de> | |
1222 | |
1223 * libiberty.texi: Update comment, remove lowersections. | |
1224 * obstacks.texi: Regenerate. | |
1225 | |
1226 2013-03-05 Jakub Jelinek <jakub@redhat.com> | |
1227 | |
1228 PR middle-end/56526 | |
1229 * simple-object-mach-o.c (simple_object_mach_o_segment): Initialize | |
1230 wrapper_sect_offset to avoid a warning. | |
1231 | |
1232 2013-03-01 Andreas Schwab <schwab@linux-m68k.org> | |
1233 | |
1234 * obstacks.texi (Obstacks): Trim @node to only contain the | |
1235 node name. | |
1236 * libiberty.texi (Obstacks): Lower section. | |
1237 | |
1238 2013-02-14 Jason Merrill <jason@redhat.com> | |
1239 | |
1240 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DEFAULT_ARG. | |
1241 (d_print_comp): Likewise. | |
1242 | |
1243 2013-02-09 Jakub Jelinek <jakub@redhat.com> | |
1244 | |
1245 PR other/56245 | |
1246 * regex.c (PTR_INT_TYPE): Define. | |
1247 (EXTEND_BUFFER): Change incr type from int to PTR_INT_TYPE. | |
1248 | |
1249 2013-01-31 Kai Tietz <ktietz@redhat.com> | |
1250 | |
1251 PR other/54620 | |
1252 * sha1.c (sha1_process_block): Handle case that size_t is | |
1253 a wider-integer-scalar as a 32-bit unsigned integer. | |
1254 | |
1255 PR other/53413 | |
1256 * md5.c (md5_process_block): Handle case that size_t is | |
1257 a wider-integer-scalar a 32-bit unsigned integer. | |
1258 | |
1259 2013-01-04 Ian Lance Taylor <iant@google.com> | |
1260 | |
1261 PR other/54800 | |
1262 * simple-object-mach-o.c (simple_object_mach_o_segment): Don't | |
1263 bother to zero out a buffer we are about to set anyhow. | |
1264 | |
1265 2013-01-01 David Edelsohn <dje.gcc@gmail.com> | |
1266 | |
1267 * simple-object-xcoff.c: New file. | |
1268 * Makefile.in: Add it to build machinery. | |
1269 * simple-object-common.h (simple_object_xcoff_functions): Declare. | |
1270 * simple-object.c (format_functions): Add | |
1271 simple_object_xcoff_functions. | |
1272 | |
1273 2012-11-10 Jason Merrill <jason@redhat.com> | |
1274 | |
1275 * cp-demangle.c (d_unqualified_name): Handle abi tags here. | |
1276 (d_name): Not here. | |
1277 | |
1278 2012-11-09 Jason Merrill <jason@redhat.com> | |
1279 | |
1280 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_TAGGED_NAME. | |
1281 (d_make_comp, d_find_pack, d_print_comp): Likewise. | |
1282 (d_abi_tags): New. | |
1283 (d_name): Call it. | |
1284 | |
1285 2012-10-08 Jason Merrill <jason@redhat.com> | |
1286 | |
1287 * cp-demangle.c (d_special_name, d_dump): Handle TH and TW. | |
1288 (d_make_comp, d_print_comp): Likewise. | |
1289 | |
1290 2012-09-18 Ian Lance Taylor <iant@google.com> | |
1291 | |
1292 * strnlen.c: New file. | |
1293 * configure.ac: Check for strnlen, add it to AC_LIBOBJ if it's not | |
1294 present. | |
1295 * Makefile.in: Rebuild dependencies. | |
1296 (CFILES): Add strnlen.c. | |
1297 (CONFIGURED_OFILES): Add ./strnlen.$(objext). | |
1298 * configure, config.in, functions.texi: Rebuild. | |
1299 | |
1300 * maint-tool: Accept .def files in the include directory. | |
1301 | |
1302 2012-09-18 Florian Weimer <fweimer@redhat.com> | |
1303 | |
1304 PR other/54411 | |
1305 * objalloc.c (_objalloc_alloc): Add overflow check covering | |
1306 alignment and CHUNK_HEADER_SIZE addition. | |
1307 | |
1308 2011-08-28 H.J. Lu <hongjiu.lu@intel.com> | |
1309 | |
1310 * argv.c (dupargv): Replace malloc with xmalloc. Don't check | |
1311 xmalloc return. | |
1312 (buildargv): Likewise. Also replace strdup with xstrdup. | |
1313 (expandargv): Don't check dupargv return. | |
1314 | |
1315 2011-08-28 H.J. Lu <hongjiu.lu@intel.com> | |
1316 | |
1317 PR binutils/14526 | |
1318 * argv.c (buildargv): Replace alloca with xmalloc/free. | |
1319 | |
1320 2012-08-17 Andreas Schwab <schwab@linux-m68k.org> | |
1321 | |
1322 * floatformat.c (floatformat_to_double): Correctly handle numbers | |
1323 between 1 and 2. Simplify handling of denormal number. | |
1324 (main): Test with 1.1. | |
1325 | |
1326 2012-07-31 Mike Frysinger <vapier@gentoo.org> | |
1327 | |
1328 * md5.c (md5_finish_ctx): Declare swap_bytes. Assign SWAP() output | |
1329 to swap_bytes, and then call memcpy to move it to ctx->buffer. | |
1330 | |
1331 2012-07-26 Kazu Hirata <kazu@codesourcery.com> | |
1332 Sandra Loosemore <sandra@codesourcery.com> | |
1333 | |
1334 * pex-win32.c (pex_win32_exec_child): Only close original file | |
1335 descriptors if child is launched successfully. | |
1336 | |
1337 2012-07-18 Jason Merrill <jason@redhat.com> | |
1338 | |
1339 * cp-demangle.c (cplus_demangle_operators): Add *_cast. | |
1340 (op_is_new_cast): New. | |
1341 (d_expression, d_print_comp): Check it. | |
1342 | |
1343 2012-07-13 Doug Evans <dje@google.com> | |
1344 | |
1345 * filename_cmp.c (filename_hash, filename_eq): New functions. | |
1346 | |
1347 2012-06-29 Andreas Schwab <schwab@linux-m68k.org> | |
1348 | |
1349 * copying-lib.texi (Library Copying): Don't use @heading inside | |
1350 @enumerate. | |
1351 | |
1352 2012-05-22 Tom Tromey <tromey@redhat.com> | |
1353 | |
1354 http://sourceware.org/bugzilla/show_bug.cgi?id=14065 | |
1355 * testsuite/demangle-expected: Add regression test. | |
1356 * cp-demangle.c (d_find_pack): Return NULL for | |
1357 DEMANGLE_COMPONENT_UNNAMED_TYPE. | |
1358 | |
1359 2012-04-27 Tom Tromey <tromey@redhat.com> | |
1360 | |
1361 * dwarfnames.c: New file. | |
1362 * Makefile.in (CFILES): Add dwarfnames. | |
1363 (REQUIRED_OFILES): Add dwarfnames. | |
1364 (./dwarfnames.$(objext)): New target. | |
1365 | |
1366 2012-04-04 Tristan Gingold <gingold@adacore.com> | |
1367 | |
1368 * pex-unix.c (to_ptr32): Fix style. | |
1369 | |
1370 2012-04-02 Tristan Gingold <gingold@adacore.com> | |
1371 | |
1372 * stack-limit.c: Includes ansidecl.h. | |
1373 (stack_limit_increase): Add ATTRIBUTE_UNUSED | |
1374 | |
1375 2012-03-20 Jason Merrill <jason@redhat.com> | |
1376 | |
1377 * cp-demangle.c (cplus_demangle_type): Handle 'auto'. | |
1378 | |
1379 2012-03-07 Jason Merrill <jason@redhat.com> | |
1380 | |
1381 * cp-demangle.c (cplus_demangle_operators): Add li. | |
1382 (d_unqualified_name): Handle it specially. | |
1383 | |
1384 2012-01-26 Jakub Jelinek <jakub@redhat.com> | |
1385 | |
1386 * make-relative-prefix.c (make_relative_prefix_1): Avoid warning | |
1387 about using preprocessor directives inside of macro arguments. | |
1388 | |
1389 2012-01-22 Douglas B Rupp <rupp@gnat.com> | |
1390 | |
1391 * configure: Regenerate. | |
1392 | |
1393 2012-01-10 Jason Merrill <jason@redhat.com> | |
1394 | |
1395 * cp-demangle.c (d_print_comp) [DEMANGLE_COMPONENT_OPERATOR]: | |
1396 Omit a trailing space in the operator name. | |
1397 | |
1398 2012-01-06 Jason Merrill <jason@redhat.com> | |
1399 | |
1400 PR c++/6057 | |
1401 PR c++/48051 | |
1402 PR c++/50855 | |
1403 PR c++/51322 | |
1404 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_NULLARY and | |
1405 DEMANGLE_COMPONENT_INITIALIZER_LIST. | |
1406 (d_make_comp): Likewise. Allow null right arg for | |
1407 DEMANGLE_COMPONENT_TRINARY_ARG2. | |
1408 (cplus_demangle_operators): Adjust new/delete; add .*, :: and throw. | |
1409 (d_template_args, d_template_arg): Handle 'J' for argument packs. | |
1410 (d_exprlist): Add terminator parm. | |
1411 (d_expression, d_print_comp): Handle initializer lists, nullary | |
1412 expressions, prefix/suffix operators, and new. | |
1413 (d_print_subexpr): Avoid parens around DEMANGLE_COMPONENT_QUAL_NAME | |
1414 and DEMANGLE_COMPONENT_INITIALIZER_LIST. | |
1415 * testsuite/demangle-expected: Add tests. | |
1416 | |
1417 * cp-demangle.c (cplus_demangle_type): decltype, pack expansion | |
1418 and vector are substitutable. | |
1419 (cplus_demangle_operators): Sort. | |
1420 | |
1421 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | |
1422 | |
1423 * configure: Regenerate. | |
1424 | |
1425 2012-01-02 Jakub Jelinek <jakub@redhat.com> | |
1426 | |
1427 * make-relative-prefix.c (make_relative_prefix_1): Avoid | |
1428 stack overflow if PATH contains just a single entry and | |
1429 HOST_EXECUTABLE_SUFFIX needs to be used. | |
1430 | |
1431 PR driver/48306 | |
1432 * make-relative-prefix.c: Include sys/stat.h. | |
1433 (make_relative_prefix_1): If access succeeds, check also stat | |
1434 if nstore is a regular file. | |
1435 | |
1436 2011-12-20 Andreas Schwab <schwab@linux-m68k.org> | |
1437 | |
1438 * configure: Regenerate. | |
1439 | |
1440 2011-12-20 Tristan Gingold <gingold@adacore.com> | |
1441 | |
1442 * aclocal.m4: Assume strncmp works in cross case. | |
1443 * configure: Regenerate | |
1444 | |
1445 2011-12-19 Andreas Schwab <schwab@linux-m68k.org> | |
1446 | |
1447 * configure: Regenerate. | |
1448 | |
1449 2011-11-07 Richard Henderson <rth@redhat.com> | |
1450 | |
1451 Merged from transactional-memory. | |
1452 | |
1453 * cp-demangle.c (cplus_demangle_fill_ctor): Accept | |
1454 gnu_v3_object_ctor_group. | |
1455 (cplus_demangle_fill_dtor): Accept gnu_v3_object_dtor_group. | |
1456 (d_ctor_dtor_name): Recognize gnu_v3_object_ctor_group | |
1457 and gnu_v3_object_dtor_group. | |
1458 (d_dump): Handle DEMANGLE_COMPONENT_TRANSACTION_CLONE | |
1459 and DEMANGLE_COMPONENT_NONTRANSACTION_CLONE. | |
1460 (d_make_comp, d_print_comp): Likewise. | |
1461 (d_special_name): Generate them. | |
1462 | |
1463 2011-11-04 Jason Merrill <jason@redhat.com> | |
1464 | |
1465 PR c++/48370 | |
1466 * cp-demangle.c (d_special_name, d_print_comp): Handle a | |
1467 discriminator number on DEMANGLE_COMPONENT_REFTEMP. | |
1468 | |
1469 2011-11-02 Doug Evans <dje@google.com> | |
1470 | |
1471 * Makefile.in (CFILES): Add timeval-utils.c. | |
1472 (REQUIRED_OFILES): Add timeval-utils.$(objext). | |
1473 (INSTALLED_HEADERS): Add timeval-utils.h. | |
1474 (timeval-utils.$(objext)): Add rule. | |
1475 | |
1476 2011-10-28 Ian Lance Taylor <iant@google.com> | |
1477 | |
1478 * setproctitle.c (setproctitle): Use "GNU/Linux" in comment. | |
1479 | |
1480 2011-10-26 Iain Sandoe <iains@gcc.gnu.org> | |
1481 | |
1482 PR target/48108 | |
1483 * simple-object-mach-o.c (GNU_WRAPPER_SECTS, GNU_WRAPPER_INDEX, | |
1484 GNU_WRAPPER_NAMES): New macros. | |
1485 (simple_object_mach_o_segment): Handle wrapper scheme. | |
1486 (simple_object_mach_o_write_section_header): Allow the segment name | |
1487 to be supplied. | |
1488 (simple_object_mach_o_write_segment): Handle wrapper scheme. Ensure | |
1489 that the top-level segment name in the load command is empty. | |
1490 (simple_object_mach_o_write_to_file): Determine the number of | |
1491 sections during segment output, use that in writing the header. | |
1492 | |
1493 2011-10-10 Ian Lance Taylor <iant@google.com> | |
1494 | |
1495 PR c++/48665 | |
1496 * cp-demangle.c (d_cv_qualifiers): If qualifiers are applied to a | |
1497 function type, change them to apply to the "this" parameter. | |
1498 * testsuite/demangle-expected: Add test case. | |
1499 | |
1500 2011-09-28 Doug Evans <dje@google.com> | |
1501 | |
1502 * timeval-utils.c: New file. | |
1503 | |
1504 * argv.c (countargv): New function. | |
1505 | |
1506 2011-09-23 Cary Coutant <ccoutant@google.com> | |
1507 | |
1508 PR 40831 | |
1509 * cp-demangle.c (d_make_comp): Add new component type. | |
1510 (cplus_demangle_mangled_name): Check for clone suffixes. | |
1511 (d_parmlist): Don't error out if we see '.'. | |
1512 (d_clone_suffix): New function. | |
1513 (d_print_comp): Print info for clone suffixes. | |
1514 * testsuite/demangle-expected: Add new testcases. | |
1515 | |
1516 2011-09-23 Ian Lance Taylor <iant@google.com> | |
1517 Pierre Vittet <piervit@pvittet.com> | |
1518 | |
1519 * md5.c (md5_process_bytes): Correct handling of unaligned | |
1520 buffer. | |
1521 | |
1522 2011-08-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
1523 | |
1524 * aclocal.m4: Include ../config/picflag.m4. | |
1525 * configure.ac (GCC_PICFLAG): Call it. | |
1526 (enable_shared): Clear PICFLAG unless shared. | |
1527 * configure: Regenerate. | |
1528 | |
1529 2011-08-12 Steve Ellcey <sje@cup.hp.com> | |
1530 | |
1531 * md5.c (md5_read_ctx): Handle mis-aligned resbuf pointer. | |
1532 | |
1533 2011-08-06 Uros Bizjak <ubizjak@gmail.com> | |
1534 | |
1535 * testsuite/test-expandargv.c (writeout_test): Check result of fwrite. | |
1536 | |
1537 2011-08-01 Jason Merrill <jason@redhat.com> | |
1538 | |
1539 PR c++/49932 | |
1540 * cp-demangle.c (d_prefix): Handle decltype. | |
1541 * testsuite/demangle-expected: Test it. | |
1542 | |
1543 2011-07-26 H.J. Lu <hongjiu.lu@intel.com> | |
1544 | |
1545 * testsuite/demangle-expected: Remove an extra line. | |
1546 | |
1547 2011-07-26 Ian Lance Taylor <iant@google.com> | |
1548 | |
1549 * cp-demangle.c (d_print_init): Initialize pack_index field. | |
1550 (d_print_comp): Check for NULL template argument. | |
1551 * testsuite/demangle-expected: Add test case. | |
1552 | |
1553 2011-07-22 Gerald Pfeifer <gerald@pfeifer.com> | |
1554 | |
1555 PR target/49817 | |
1556 * stack-limit.c: Include <stdint.h>. | |
1557 | |
1558 2011-07-22 Jakub Jelinek <jakub@redhat.com> | |
1559 | |
1560 PR c++/49756 | |
1561 * stack-limit.c: New file. | |
1562 * Makefile.in: Regenerate deps. | |
1563 (CFILES): Add stack-limit.c. | |
1564 (REQUIRED_OFILES): Add ./stack-limit.$(objext). | |
1565 * configure.ac (checkfuncs): Add getrlimit and setrlimit. | |
1566 (AC_CHECK_FUNCS): Likewise. | |
1567 * configure: Regenerated. | |
1568 * config.in: Regenerated. | |
1569 | |
1570 2011-07-04 Jason Merrill <jason@redhat.com> | |
1571 | |
1572 * cp-demangle.c (d_expression): Handle 'this'. | |
1573 (d_print_comp) [DEMANGLE_COMPONENT_FUNCTION_PARAM]: Likewise. | |
1574 | |
1575 2011-07-01 Joel Brobecker <brobecker@adacore.com> | |
1576 | |
1577 * filename_cmp.c (filename_cmp, filename_ncmp): Add handling of | |
1578 HAVE_CASE_INSENSITIVE_FILE_SYSTEM. | |
1579 | |
1580 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com> | |
1581 | |
1582 PR debug/49408 | |
1583 * cp-demangle.c (d_print_comp): Suppress argument list for function | |
1584 references by the '&' unary operator. Keep also already processed | |
1585 variant without the argument list. Suppress argument list types for | |
1586 function call used in an expression. | |
1587 * testsuite/demangle-expected: Fix excessive argument list types in | |
1588 `test for typed function in decltype'. New testcase for no argument | |
1589 list types printed. 3 new testcases for function references by the | |
1590 '&' unary operator.. | |
1591 | |
1592 2011-06-20 Jason Merrill <jason@redhat.com> | |
1593 | |
1594 PR c++/37089 | |
1595 * cp-demangle.c (d_print_comp): Handle reference smashing. | |
1596 * testsuite/demangle-expected: Test it. | |
1597 | |
1598 2011-06-13 Jan Kratochvil <jan.kratochvil@redhat.com> | |
1599 | |
1600 * cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>: | |
1601 Suppress d_print_mod for DMGL_RET_POSTFIX. | |
1602 * testsuite/demangle-expected: New testcases for --ret-postfix. | |
1603 | |
1604 2011-06-13 Jan Kratochvil <jan.kratochvil@redhat.com> | |
1605 | |
1606 * cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>: Do | |
1607 not pass DMGL_RET_POSTFIX or DMGL_RET_DROP. Support DMGL_RET_DROP. | |
1608 * testsuite/demangle-expected: New testcases for --ret-drop. | |
1609 * testsuite/test-demangle.c: Document --ret-drop in a comment. | |
1610 (main): New variable ret_drop, fill it, call cplus_demangle with it. | |
1611 | |
1612 2011-06-13 Jan Kratochvil <jan.kratochvil@redhat.com> | |
1613 | |
1614 * cp-demangle.c (struct d_print_info): Remove field options. | |
1615 (d_print_init): Remove parameter options. | |
1616 (cplus_demangle_print_callback): Update all the callers. | |
1617 (d_print_comp, d_print_mod_list, d_print_mod, d_print_function_type) | |
1618 (d_print_array_type, d_print_expr_op, d_print_cast, d_print_subexpr): | |
1619 Add parameter options, update all the callers. | |
1620 | |
1621 2011-04-20 Jim Meyering <meyering@redhat.com> | |
1622 | |
1623 * cp-demint.c (cplus_demangle_v3_components): Remove useless | |
1624 if-before-free. | |
1625 * cplus-dem.c (squangle_mop_up): Likewise. | |
1626 (delete_non_B_K_work_stuff): Likewise. | |
1627 * pex-common.c (pex_free): Likewise. | |
1628 * pex-msdos.c (pex_msdos_cleanup): Likewise. | |
1629 * pex-win32.c (mingw_rootify, msys_rootify): Likewise. | |
1630 (win32_spawn): Likewise. | |
1631 * regex.c (FREE_VAR, weak_alias): Likewise. | |
1632 * spaces.c (spaces): Likewise. | |
1633 | |
1634 2011-04-10 Jim Meyering <meyering@redhat.com> | |
1635 | |
1636 Avoid memory overrun in a test leading to potential double-free. | |
1637 * testsuite/test-expandargv.c (writeout_test): Fix off-by-one error: | |
1638 i.e., do copy the trailing NUL byte. | |
1639 | |
1640 2011-03-31 Tristan Gingold <gingold@adacore.com> | |
1641 | |
1642 * makefile.vms (OBJS): Add filename_cmp.obj | |
1643 | |
1 2011-02-28 Kai Tietz <kai.tietz@onevision.com> | 1644 2011-02-28 Kai Tietz <kai.tietz@onevision.com> |
2 | 1645 |
3 * filename_cmp.c (filename_ncmp): New function. | 1646 * filename_cmp.c (filename_ncmp): New function. |
4 * functions.texi: Regenerated. | 1647 * functions.texi: Regenerated. |
5 | 1648 |
122 2010-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 1765 2010-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
123 | 1766 |
124 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY(C)): Delete. | 1767 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY(C)): Delete. |
125 * configure: Regenerate. | 1768 * configure: Regenerate. |
126 | 1769 |
127 2010-10-07 Andi Kleen <ak@linux.intel.com> | 1770 2010-10-07 Andi Kleen <ak@linux.intel.com> |
128 | 1771 |
129 * configure: Regenerate. | 1772 * configure: Regenerate. |
130 * configure.ac: Turn PR_SET_NAME check into link check. | 1773 * configure.ac: Turn PR_SET_NAME check into link check. |
131 | 1774 |
132 2010-10-06 Andi Kleen <ak@linux.intel.com> | 1775 2010-10-06 Andi Kleen <ak@linux.intel.com> |
133 | 1776 |
134 * Makefile.in (CFILES): Add setproctitle. | 1777 * Makefile.in (CFILES): Add setproctitle. |
135 (CONFIGURED_OFILES): Add setproctitle. | 1778 (CONFIGURED_OFILES): Add setproctitle. |
136 (setproctitle): Add rule. | 1779 (setproctitle): Add rule. |
137 * config.in: Regenerate. | 1780 * config.in: Regenerate. |
335 | 1978 |
336 2009-10-08 Daniel Gutson <dgutson@codesourcery.com> | 1979 2009-10-08 Daniel Gutson <dgutson@codesourcery.com> |
337 Daniel Jacobowitz <dan@codesourcery.com> | 1980 Daniel Jacobowitz <dan@codesourcery.com> |
338 Pedro Alves <pedro@codesourcery.com> | 1981 Pedro Alves <pedro@codesourcery.com> |
339 | 1982 |
340 libiberty/ | |
341 * argv.c (consume_whitespace): New function. | 1983 * argv.c (consume_whitespace): New function. |
342 (only_whitespace): New function. | 1984 (only_whitespace): New function. |
343 (buildargv): Always use ISSPACE by calling consume_whitespace. | 1985 (buildargv): Always use ISSPACE by calling consume_whitespace. |
344 (expandargv): Skip empty files. Do not stop at the first empty | 1986 (expandargv): Skip empty files. Do not stop at the first empty |
345 argument (calling only_whitespace).. | 1987 argument (calling only_whitespace).. |
473 | 2115 |
474 * vsnprintf.c: Doc fix. | 2116 * vsnprintf.c: Doc fix. |
475 | 2117 |
476 2009-05-29 Kai Tietz <kai.tietz@onevision.com> | 2118 2009-05-29 Kai Tietz <kai.tietz@onevision.com> |
477 | 2119 |
478 * pex-win32.c (pex_win32_fdopenr): Set INHERIT to false. | 2120 * pex-win32.c (pex_win32_fdopenr): Set INHERIT to false. |
479 | 2121 |
480 2009-05-29 Michael Matz <matz@suse.de> | 2122 2009-05-29 Michael Matz <matz@suse.de> |
481 | 2123 |
482 * fibheap.c (fibheap_replace_key_data): Make sure we don't early | 2124 * fibheap.c (fibheap_replace_key_data): Make sure we don't early |
483 out when forcing the minimum. | 2125 out when forcing the minimum. |
504 * pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing | 2146 * pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing |
505 standard handles (stdin, stdout, stderr) in parent. | 2147 standard handles (stdin, stdout, stderr) in parent. |
506 | 2148 |
507 2009-04-29 Julian Brown <julian@codesourcery.com> | 2149 2009-04-29 Julian Brown <julian@codesourcery.com> |
508 | 2150 |
509 * pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT. | 2151 * pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT. |
510 (pex_win32_exec_child): Ensure each process has only one handle open | 2152 (pex_win32_exec_child): Ensure each process has only one handle open |
511 on pipe endpoints. Close standard input after creating child for | 2153 on pipe endpoints. Close standard input after creating child for |
512 symmetry with standard output/standard error. | 2154 symmetry with standard output/standard error. |
513 | 2155 |
514 2009-04-25 Eli Zaretskii <eliz@gnu.org> | 2156 2009-04-25 Eli Zaretskii <eliz@gnu.org> |
522 * configure.ac (setobjs, msdosdjgpp): Move a-priori setting of | 2164 * configure.ac (setobjs, msdosdjgpp): Move a-priori setting of |
523 existing and required library functions to with_target_subdir | 2165 existing and required library functions to with_target_subdir |
524 section, so that the native build does detect them at configure | 2166 section, so that the native build does detect them at configure |
525 time. | 2167 time. |
526 * configure: Regenerated. | 2168 * configure: Regenerated. |
527 | 2169 |
528 2009-04-13 Ozkan Sezer <sezeroz@gmail.com> | 2170 2009-04-13 Ozkan Sezer <sezeroz@gmail.com> |
529 | 2171 |
530 PR target/39397 | 2172 PR target/39397 |
531 * pex-common.h (struct pex_obj): Store pid values as pid_t, | 2173 * pex-common.h (struct pex_obj): Store pid values as pid_t, |
532 not as long (members *children and (*wait)) | 2174 not as long (members *children and (*wait)) |
533 * pex-common.c (pex_run_in_environment): Likewise. | 2175 * pex-common.c (pex_run_in_environment): Likewise. |
534 * pex-win32.c (pex_win32_wait): Return pid_t and properly check | 2176 * pex-win32.c (pex_win32_wait): Return pid_t and properly check |
535 returned pid value. | 2177 returned pid value. |
536 * pex-djgpp.c (pex_djgpp_wait): Return pid_t. | 2178 * pex-djgpp.c (pex_djgpp_wait): Return pid_t. |
537 * pex-msdos.c (pex_msdos_wait): Likewise. | 2179 * pex-msdos.c (pex_msdos_wait): Likewise. |
538 | 2180 |
539 2009-04-07 Arnaud Patard <apatard@mandriva.com> | 2181 2009-04-07 Arnaud Patard <apatard@mandriva.com> |
540 | 2182 |
541 * libiberty/configure.ac: Fix Linux/MIPS matching rule. | 2183 * configure.ac: Fix Linux/MIPS matching rule. |
542 * libiberty/configure: Regenerate. | 2184 * configure: Regenerate. |
543 | 2185 |
544 2009-03-27 Ian Lance Taylor <iant@google.com> | 2186 2009-03-27 Ian Lance Taylor <iant@google.com> |
545 | 2187 |
546 * memmem.c: New file, from gnulib. | 2188 * memmem.c: New file, from gnulib. |
547 * configure.ac: Add memmem to list of functions provided if they | 2189 * configure.ac: Add memmem to list of functions provided if they |
622 (COMPILE.c, MULTIOSDIR): Replace it with CFLAGS. | 2264 (COMPILE.c, MULTIOSDIR): Replace it with CFLAGS. |
623 | 2265 |
624 2008-10-08 David Edelsohn <edelsohn@gnu.org> | 2266 2008-10-08 David Edelsohn <edelsohn@gnu.org> |
625 | 2267 |
626 * xstrdup.c: Include <sys/types.h> after "config.h" | 2268 * xstrdup.c: Include <sys/types.h> after "config.h" |
627 | 2269 |
628 2008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com> | 2270 2008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com> |
629 | 2271 |
630 * configure.ac: Call AC_SYS_LARGEFILE. | 2272 * configure.ac: Call AC_SYS_LARGEFILE. |
631 * config.in: Regenerated. | 2273 * config.in: Regenerated. |
632 * configure: Likewise. | 2274 * configure: Likewise. |
700 * libiberty.texi: Expand TABs, drop indentation outside examples. | 2342 * libiberty.texi: Expand TABs, drop indentation outside examples. |
701 * obstacks.texi: Likewise. | 2343 * obstacks.texi: Likewise. |
702 | 2344 |
703 2008-04-21 Aurelien Jarno <aurelien@aurel32.net> | 2345 2008-04-21 Aurelien Jarno <aurelien@aurel32.net> |
704 | 2346 |
705 * libiberty/configure.ac: use -fPIC on Linux/MIPS hosts. | 2347 * configure.ac: use -fPIC on Linux/MIPS hosts. |
706 * libiberty/configure: Regenerate. | 2348 * configure: Regenerate. |
707 | 2349 |
708 2008-04-18 Kris Van Hees <kris.van.hees@oracle.com> | 2350 2008-04-18 Kris Van Hees <kris.van.hees@oracle.com> |
709 | 2351 |
710 * testsuite/demangle-expected: Added tests for char16_t and char32_t. | 2352 * testsuite/demangle-expected: Added tests for char16_t and char32_t. |
711 | 2353 |
907 safe-ctype.h. | 2549 safe-ctype.h. |
908 (filename_cmp): Use TOLOWER instead of tolower for conversions | 2550 (filename_cmp): Use TOLOWER instead of tolower for conversions |
909 that are locale-independent. | 2551 that are locale-independent. |
910 * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h. | 2552 * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h. |
911 | 2553 |
912 2007-04-11 Thomas Neumann tneumann@users.sourceforge.net | 2554 2007-04-11 Thomas Neumann <tneumann@users.sourceforge.net> |
913 | 2555 |
914 * argv.c: Use ANSI C declarations. | 2556 * argv.c: Use ANSI C declarations. |
915 * make-relative-prefix.c: Likewise. | 2557 * make-relative-prefix.c: Likewise. |
916 | 2558 |
917 2007-04-06 Joel Brobecker <brobecker@adacore.com> | 2559 2007-04-06 Joel Brobecker <brobecker@adacore.com> |
2479 (is_ctor_or_dtor): Don't expect that we've read the entire | 4121 (is_ctor_or_dtor): Don't expect that we've read the entire |
2480 string--reverse patch of 2003-11-29. | 4122 string--reverse patch of 2003-11-29. |
2481 | 4123 |
2482 2003-12-15 Brendan Kehoe <brendan@zen.org> | 4124 2003-12-15 Brendan Kehoe <brendan@zen.org> |
2483 | 4125 |
2484 * libiberty/Makefile.in (floatformat.o): Add dependency on | 4126 * Makefile.in (floatformat.o): Add dependency on |
2485 config.h to accompany change of 2003-12-03. | 4127 config.h to accompany change of 2003-12-03. |
2486 | 4128 |
2487 2003-12-15 Ian Lance Taylor <ian@wasabisystems.com> | 4129 2003-12-15 Ian Lance Taylor <ian@wasabisystems.com> |
2488 | 4130 |
2489 Fix handling of constructor/destructor of standard substitution: | 4131 Fix handling of constructor/destructor of standard substitution: |
3175 | 4817 |
3176 * config.table: Use mh-s390pic for s390x too. | 4818 * config.table: Use mh-s390pic for s390x too. |
3177 | 4819 |
3178 2002-10-06 Andreas Jaeger <aj@suse.de> | 4820 2002-10-06 Andreas Jaeger <aj@suse.de> |
3179 | 4821 |
3180 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded | 4822 * cplus-dem.c (ada_demangle): Get rid of unneeded |
3181 variable and of strict-aliasing warning. | 4823 variable and of strict-aliasing warning. |
3182 (grow_vect): Use char as first parameter. | 4824 (grow_vect): Use char as first parameter. |
3183 | 4825 |
3184 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 4826 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3185 | 4827 |
3443 | 5085 |
3444 * cp-demangle.c: Revert yesterday's change. | 5086 * cp-demangle.c: Revert yesterday's change. |
3445 | 5087 |
3446 2002-01-31 Adam Megacz <adam@xwt.org> | 5088 2002-01-31 Adam Megacz <adam@xwt.org> |
3447 | 5089 |
3448 * gcc/libiberty/configure.in: Treat mingw the same as cywin | 5090 * configure.in: Treat mingw the same as cywin |
3449 wrt HAVE_SYS_ERRLIST. | 5091 wrt HAVE_SYS_ERRLIST. |
3450 | 5092 |
3451 2002-01-30 Phil Edwards <pme@gcc.gnu.org> | 5093 2002-01-30 Phil Edwards <pme@gcc.gnu.org> |
3452 | 5094 |
3453 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2. | 5095 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2. |
3951 might be a signed integer under pre-ISO C systems. | 5593 might be a signed integer under pre-ISO C systems. |
3952 | 5594 |
3953 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk> | 5595 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk> |
3954 John David Anglin <dave@hiauly1.hia.nrc.ca> | 5596 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3955 | 5597 |
3956 * libiberty/lbasename.c: New file. | 5598 * lbasename.c: New file. |
3957 * libiberty/Makefile.in: Update for lbasename. | 5599 * Makefile.in: Update for lbasename. |
3958 | 5600 |
3959 2001-03-06 Zack Weinberg <zackw@stanford.edu> | 5601 2001-03-06 Zack Weinberg <zackw@stanford.edu> |
3960 | 5602 |
3961 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New. | 5603 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New. |
3962 * configure.in: Replace all alloca logic with a simple use of | 5604 * configure.in: Replace all alloca logic with a simple use of |
4325 (demangle_substitution): Remove parameter. | 5967 (demangle_substitution): Remove parameter. |
4326 (print_usage): Remove extra fprintf option. | 5968 (print_usage): Remove extra fprintf option. |
4327 | 5969 |
4328 2000-08-24 Greg McGary <greg@mcgary.org> | 5970 2000-08-24 Greg McGary <greg@mcgary.org> |
4329 | 5971 |
4330 * libiberty/random.c (end_ptr): Revert previous change. | 5972 * random.c (end_ptr): Revert previous change. |
4331 | 5973 |
4332 2000-08-24 Greg McGary <greg@mcgary.org> | 5974 2000-08-24 Greg McGary <greg@mcgary.org> |
4333 | 5975 |
4334 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname, | 5976 * cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname, |
4335 demangle_expression, demangle_function_name): Use ARRAY_SIZE. | 5977 demangle_expression, demangle_function_name): Use ARRAY_SIZE. |
4336 * libiberty/random.c (end_ptr): Likewise. | 5978 * random.c (end_ptr): Likewise. |
4337 | 5979 |
4338 2000-08-23 Alex Samuel <samuel@codesourcery.com> | 5980 2000-08-23 Alex Samuel <samuel@codesourcery.com> |
4339 | 5981 |
4340 * cp-demangle.c (result_close_template_list): Remove function. | 5982 * cp-demangle.c (result_close_template_list): Remove function. |
4341 (result_add_separated_char): New function. | 5983 (result_add_separated_char): New function. |