1258817Spfg2007-05-05 Geoffrey Keating <geoffk@apple.com> (r124467) 2258817Spfg 3258817Spfg PR 31775 4258817Spfg * mangle.c (write_mangled_name): Mangle static variable names. 5258817Spfg (write_unqualified_name): Use local-source-name for 6258817Spfg namespace-scope static variables. 7258817Spfg 8258817Spfg2007-03-15 Geoffrey Keating <geoffk@apple.com> (r122972) 9258817Spfg 10258817Spfg * cp-demangle.c (d_encoding): Exit early on error. 11258817Spfg (d_pointer_to_member_type): Exit early if cplus_demangle_type 12258817Spfg returns NULL. 13258817Spfg (cplus_demangle_type): Likewise. 14258817Spfg * testsuite/demangle-expected: New testcase. 15258817Spfg 16258817Spfg2007-01-31 Ben Elliston <bje@au.ibm.com> (r121364) 17258817Spfg 18258817Spfg * strsignal.c (psignal): Change type of signo to int. 19258817Spfg * functions.texi: Regenerate. 20258817Spfg 21258817Spfg2007-01-12 Ben Elliston <bje@au.ibm.com> (r120702) 22258817Spfg 23258817Spfg * pex-unix.c (writeerr): Cast write result to void. 24258817Spfg 25258817Spfg * choose-temp.c (choose_temp_base): Check the result of the call 26258817Spfg to mktemp rather than testing the length of the modified string. 27258817Spfg 28258817Spfg2006-12-20 Geoffrey Keating <geoffk@apple.com> (r120097) 29258817Spfg 30258817Spfg * cp-demangle.h: Add comment explaining what to do to avoid 31258817Spfg overrunning string. 32258817Spfg (d_check_char): New. 33258817Spfg (d_next_char): Don't advance past trailing '\0'. 34258817Spfg * cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char. 35258817Spfg (d_nested_name): Likewise. 36258817Spfg (d_special_name): Likewise. 37258817Spfg (d_call_offset): Likewise. 38258817Spfg (d_function_type): Likewise. 39258817Spfg (d_array_type): Likewise. 40258817Spfg (d_pointer_to_member_type): Likewise. 41258817Spfg (d_template_param): Likewise. 42258817Spfg (d_template_args): Likewise. 43258817Spfg (d_template_arg): Likewise. 44258817Spfg (d_expr_primary): Likewise. 45258817Spfg (d_local_name): Likewise. 46258817Spfg (d_substitution): Likewise. 47258817Spfg (d_ctor_dtor_name): Use d_advance rather than d_next_char. 48258817Spfg * testsuite/test-demangle.c: Include sys/mman.h. 49258817Spfg (MAP_ANONYMOUS): Define. 50258817Spfg (protect_end): New. 51258817Spfg (main): Use protect_end. 52258817Spfg * testsuite/demangle-expected: Add testcases for overrunning 53258817Spfg the end of the string. 54258817Spfg 55258817Spfg2006-11-07 Julian Brown <julian@codesourcery.com> (r118552) 56258817Spfg 57258817Spfg * floatformat.c (get_field): Fix segfault with little-endian word 58258817Spfg order on 64-bit hosts. 59258817Spfg (put_field): Likewise. 60258817Spfg (min): Move definition. 61