OSDN Git Service

* Makefile.am (LIBICONV): Declare.
[pf3gnuchains/gcc-fork.git] / libcpp / ChangeLog
1 2004-06-06  Roger Sayle  <roger@eyesopen.com>
2
3         * Makefile.am (LIBICONV): Declare.
4         (makedepend_LDADD): Use LIBICONV.
5         * Makefile.in: Regenerate.
6
7 2004-06-05  Andrew Pinski  <pinskia@physics.uc.edu>
8
9         * Makefile.am (LIBINTL): Declare
10         (makedepend_LDADD): Use LIBINTL.
11         * Makefile.in: Regenerate.
12
13 2004-06-05  Zack Weinberg  <zack@codesourcery.com>
14
15         * Makefile.am: Add makedepend.
16         * Makefile.in, aclocal.m4: Regenerate.
17         * charset.c: Insert a space to avoid a warning.
18         * directives.c: Include mkdeps.h.
19         (_cpp_handle_directive): Reenable macro expander if appropriate.
20         (undefine_macros): Inline body of _cpp_free_definition for speed.
21         Do not call undef callback or _cpp_warn_if_unused_macro.
22         (cpp_get_deps): New interface.
23         * files.c (search_cache): Add pfile argument.  Check for file
24         that would be found by "" or <> search here...
25         (_cpp_find_file): ...not here.  Correct recorded start_dir of
26         files found by directory-of-current-file search that would be
27         found by "" or <> search.
28         * init.c (cpp_add_dependency_target): Delete.
29         * internal.h (struct lexer_state): Add discarding_output flag.
30         * lex.c (lex_identifier): Compute hash function while scanning.
31         * macro.c (cpp_scan_nooutput): Disable macro expansion outside
32         directives.
33         * makedepend.c: New file.
34         * mkdeps.c (struct deps): Add vpath vector.
35         (apply_vpath, deps_add_vpath): New function.
36         (deps_free): Free vpath vector.
37         (deps_add_dep, deps_add_target): Use apply_vpath.
38         * symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH.
39         (ht_lookup_with_hash): New function.
40         * cpplib.h, mkdeps.h: Update prototypes.
41         * symtab.h: Update prototypes.
42         (HT_HASHSTEP, HT_FINISH): New macros.
43
44 2004-05-29  Geoffrey Keating  <geoffk@apple.com>
45
46         * symtab.c (ht_create): Set entries_owned.
47         (ht_destroy): Honour entries_owned.
48         (ht_expand): Likewise.
49         (ht_load): New.
50
51 2004-05-26  Paolo Bonzini  <bonzini@gnu.org>
52
53         PR bootstrap/15651
54         * configure.ac: Fix m4 quoting when picking
55         the size of HOST_WIDE_INT.
56         * configure: Regenerate.
57
58 2004-05-25  Paolo Bonzini  <bonzini@gnu.org>
59
60         * Makefile.am: the correct directory for
61         gettext include files is given by @INCINTL@.
62         * Makefile.in: Regenerate.
63
64 2004-05-24  Paolo Bonzini  <bonzini@gnu.org>
65
66         * system.h [!ENABLE_NLS]: dgettext takes two
67         parameters.
68
69 2004-05-23  Paolo Bonzini  <bonzini@gnu.org>
70
71         Moved libcpp from the gcc subdirectory to the toplevel.
72         * Makefile.am: New file.
73         * Makefile.in: Regenerate.
74         * configure.ac: New file.
75         * configure: Regenerate.
76         * config.in: Regenerate.
77         * charset.c: Moved from gcc/cppcharset.c.  Add note about
78         brokenness of input charset detection.  Adjust for change
79         in name of cppucnid.h.
80         * errors.c: Moved from gcc/cpperror.c.  Do not include intl.h.
81         * expr.c: Moved from gcc/cppexp.c.
82         * files.c: Moved from gcc/cppfiles.c.  Do not include intl.h.
83         Remove #define of O_BINARY, it is in system.h.
84         * identifiers.c: Moved from gcc/cpphash.c.
85         * internal.h: Moved from gcc/cpphash.h.  Change header
86         guard name.  All other files adjusted to match name change.
87         * init.c: Moved from gcc/cppinit.c.
88         (init_library) [ENABLE_NLS]: Call bindtextdomain.
89         * lex.c: Moved from gcc/cpplex.c.
90         * directives.c: Moved from gcc/cpplib.c.
91         * macro.c: Moved from gcc/cppmacro.c.
92         * pch.c: Moved from gcc/cpppch.c.  Do not include intl.h.
93         * traditional.c: Moved from gcc/cpptrad.c.
94         * ucnid.h: Moved from gcc/cppucnid.h.  Change header
95         guard name.
96         * ucnid.pl: Moved from gcc/cppucnid.pl.
97         * ucnid.tab: Moved from gcc/cppucnid.tab.  Change header
98         guard name.
99         * symtab.c: Moved from gcc/hashtable.c.
100         * line-map.c: Moved from gcc.  Do not include intl.h.
101         * mkdeps.c: Moved from gcc.
102         * system.h: New file.
103