OSDN Git Service

* configure.ac: Set PACKAGE correctly.
[pf3gnuchains/gcc-fork.git] / libcpp / ChangeLog
1 2004-08-28  Andreas Schwab  <schwab@suse.de>
2             Andreas Jaeger <aj@suse.de>
3
4         * configure.ac: Set PACKAGE correctly.
5         * configure: Regenerated.
6
7 2004-08-25  Paolo Bonzini  <bonzini@gnu.org>
8
9         * Makefile.in: Add back top_builddir.
10
11 2004-08-25  Paolo Bonzini  <bonzini@gnu.org>
12
13         * configure.ac: Replace Automake macro invocations
14         with manual Autoconf checks and substitutions.
15         * configure: Regenerate.
16         * aclocal.m4: Regenerate.
17         * config.in: Regenerate.
18         * Makefile.am: Removed.
19         * Makefile.in: Heavy simplification and reorganization.
20
21 2004-08-09  Mark Mitchell  <mark@codesourcery.com>
22
23         * configure.ac (arm*-*-eabi*): New target.
24         (arm*-*-symbianelf*): Likewise.
25         * configure: Regenerated.
26
27 2004-07-24  Bernardo Innocenti  <bernie@develer.com>
28
29         * internal.h (xnew, xcnew, xnewvec, xcnewvec, xobnew): Remove.
30         * directives.c: Use XNEW-family macros from libiberty.
31         * lex.c: Likewise.
32         * macro.c: Likewise.
33         * cpplib.h (cpp_deps_style): Export enum with name.
34
35 2004-07-23  Matthias Klose  <doko@debian.org> 
36
37         * init.c (init_library): Use PACKAGE for the text domain. 
38
39 2004-07-16  Andris Pavenis  <pavenis@latnet.lv>
40
41         PR preprocessor/16366
42         * internal.h (struct cpp_reader): New field dir_hash.
43         * files.c (make_cpp_dir): Use dir_hash, not file_hash.
44         (_cpp_init_files, _cpp_cleanup_files): Update for new field.
45
46 2004-07-04  Neil Booth  <neil@duron.akihabara.co.uk>
47
48         PR preprocessor/16192
49         PR preprocessor/15913
50         PR preprocessor/15572
51         * expr.c (_cpp_parse_expr): Handle remaining cases where an
52         expression is missing.
53         * init.c (post_options): Traditional cpp doesn't do // comments.
54
55 2004-06-30  Per Bothner  <per@bothner.com>
56
57         * include/line-map.h (fileline):  Remove old typedef.
58         * internal.h (struct cpp_reader):  Use source_location typedef instead.
59
60 2004-06-26  Zack Weinberg  <zack@codesourcery.com>
61
62         Partially revert patch of 2004-06-05.
63         * files.c (search_cache): Remove pfile argument.  Don't check
64         for file that would be found by "" or <> search here...
65         (_cpp_find_file): ...do it here, before calling find_file_in_dir.
66         Do not apply directory-of-current-file correction to files
67         found by this check.  Rearrange code slightly.
68
69 2004-06-21  Geoffrey Keating  <geoffk@apple.com>
70
71         * files.c (should_stack_file): Correct swapped parameters to call
72         to cb.read_pch.
73         * pch.c (cpp_valid_state): Handle -fpreprocessed.
74
75 2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
76
77         * Makefile.in: Regenerate with automake 1.8.5.
78         * aclocal.m4: Likewise.
79         * configure: Regenerate.
80
81 2004-06-11  Zack Weinberg  <zack@codesourcery.com>
82
83         * configure.ac: Don't invoke ACX_HEADER_STDBOOL.
84         * configure, config.in: Regenerate.
85         * system.h: Unconditionally define bool as unsigned char,
86         BOOL_BITFIELD as unsigned int.
87         * .cvsignore: New file.
88
89 2004-06-09  Geoffrey Keating  <geoffk@apple.com>
90
91         * traditional.c (push_replacement_text): Set macro->traditional.
92         (save_replacement_text): Likewise.
93         * pch.c (cpp_write_pch_state): Don't write list of defined macros.
94         (struct save_macro_item): Delete.
95         (struct save_macro_data): Use a character array not the previous
96         structured format.
97         (save_macros): Save macro as text not as internal structures.
98         (cpp_prepare_state): Update for changes to save_macro_data.
99         (cpp_read_state): Don't read macros defined in PCH.  Restore
100         -D macros as text.
101         * macro.c (create_iso_definition): Honour alloc_subobject.
102         Clear traditional flag.
103         (_cpp_create_definition): Honour alloc_subobject.
104         * lex.c (cpp_token_val_index): New.
105         * internal.h: Include cpp-id-data.h.
106         (uchar): Move definition to cpp-id-data.h.
107         (U): Likewise.
108         (cpp_macro): Likewise.
109         * directives.c (struct answer): Move to cpp-id-data.h.
110         (do_assert): Honour alloc_subobject.
111
112         * include/symtab.h (struct ht): Add field 'alloc_subobject'.
113         * include/cpplib.h (struct cpp_string): Add GTY marker.
114         (enum cpp_token_fld_kind): New.
115         (struct cpp_token): Add GTY markers.
116         (cpp_token_val_index): Prototype.
117         (CPP_HASHNODE_VALUE_IDX): New.
118         (struct cpp_hashnode): Don't skip fields of 'value' when marking.
119         * include/cpp-id-data.h: New file.
120
121 2004-06-09  Paolo Bonzini  <bonzini@gnu.org>
122
123         * Makefile.am (all-local): New.
124         * Makefile.in: Regenerate.
125
126 2004-06-06  Roger Sayle  <roger@eyesopen.com>
127
128         * Makefile.am (LIBICONV): Declare.
129         (makedepend_LDADD): Use LIBICONV.
130         * Makefile.in: Regenerate.
131
132 2004-06-05  Andrew Pinski  <pinskia@physics.uc.edu>
133
134         * Makefile.am (LIBINTL): Declare
135         (makedepend_LDADD): Use LIBINTL.
136         * Makefile.in: Regenerate.
137
138 2004-06-05  Zack Weinberg  <zack@codesourcery.com>
139
140         * Makefile.am: Add makedepend.
141         * Makefile.in, aclocal.m4: Regenerate.
142         * charset.c: Insert a space to avoid a warning.
143         * directives.c: Include mkdeps.h.
144         (_cpp_handle_directive): Reenable macro expander if appropriate.
145         (undefine_macros): Inline body of _cpp_free_definition for speed.
146         Do not call undef callback or _cpp_warn_if_unused_macro.
147         (cpp_get_deps): New interface.
148         * files.c (search_cache): Add pfile argument.  Check for file
149         that would be found by "" or <> search here...
150         (_cpp_find_file): ...not here.  Correct recorded start_dir of
151         files found by directory-of-current-file search that would be
152         found by "" or <> search.
153         * init.c (cpp_add_dependency_target): Delete.
154         * internal.h (struct lexer_state): Add discarding_output flag.
155         * lex.c (lex_identifier): Compute hash function while scanning.
156         * macro.c (cpp_scan_nooutput): Disable macro expansion outside
157         directives.
158         * makedepend.c: New file.
159         * mkdeps.c (struct deps): Add vpath vector.
160         (apply_vpath, deps_add_vpath): New function.
161         (deps_free): Free vpath vector.
162         (deps_add_dep, deps_add_target): Use apply_vpath.
163         * symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH.
164         (ht_lookup_with_hash): New function.
165         * cpplib.h, mkdeps.h: Update prototypes.
166         * symtab.h: Update prototypes.
167         (HT_HASHSTEP, HT_FINISH): New macros.
168
169 2004-05-29  Geoffrey Keating  <geoffk@apple.com>
170
171         * symtab.c (ht_create): Set entries_owned.
172         (ht_destroy): Honour entries_owned.
173         (ht_expand): Likewise.
174         (ht_load): New.
175         * include/symtab.h (struct ht): New field 'entries_owned'
176         (ht_load): New prototype.
177
178 2004-05-26  Paolo Bonzini  <bonzini@gnu.org>
179
180         PR bootstrap/15651
181         * configure.ac: Fix m4 quoting when picking
182         the size of HOST_WIDE_INT.
183         * configure: Regenerate.
184
185 2004-05-25  Paolo Bonzini  <bonzini@gnu.org>
186
187         * Makefile.am: the correct directory for
188         gettext include files is given by @INCINTL@.
189         * Makefile.in: Regenerate.
190
191 2004-05-24  Paolo Bonzini  <bonzini@gnu.org>
192
193         * system.h [!ENABLE_NLS]: dgettext takes two
194         parameters.
195
196 2004-05-23  Paolo Bonzini  <bonzini@gnu.org>
197
198         Moved libcpp from the gcc subdirectory to the toplevel.
199         * Makefile.am: New file.
200         * Makefile.in: Regenerate.
201         * configure.ac: New file.
202         * configure: Regenerate.
203         * config.in: Regenerate.
204         * charset.c: Moved from gcc/cppcharset.c.  Add note about
205         brokenness of input charset detection.  Adjust for change
206         in name of cppucnid.h.
207         * errors.c: Moved from gcc/cpperror.c.  Do not include intl.h.
208         * expr.c: Moved from gcc/cppexp.c.
209         * files.c: Moved from gcc/cppfiles.c.  Do not include intl.h.
210         Remove #define of O_BINARY, it is in system.h.
211         * identifiers.c: Moved from gcc/cpphash.c.
212         * internal.h: Moved from gcc/cpphash.h.  Change header
213         guard name.  All other files adjusted to match name change.
214         * init.c: Moved from gcc/cppinit.c.
215         (init_library) [ENABLE_NLS]: Call bindtextdomain.
216         * lex.c: Moved from gcc/cpplex.c.
217         * directives.c: Moved from gcc/cpplib.c.
218         * macro.c: Moved from gcc/cppmacro.c.
219         * pch.c: Moved from gcc/cpppch.c.  Do not include intl.h.
220         * traditional.c: Moved from gcc/cpptrad.c.
221         * ucnid.h: Moved from gcc/cppucnid.h.  Change header
222         guard name.
223         * ucnid.pl: Moved from gcc/cppucnid.pl.
224         * ucnid.tab: Moved from gcc/cppucnid.tab.  Change header
225         guard name.
226         * symtab.c: Moved from gcc/hashtable.c.
227         * line-map.c: Moved from gcc.  Do not include intl.h.
228         * mkdeps.c: Moved from gcc.
229         * system.h: New file.
230         * include/cpplib.h: Moved from gcc.  Change header guard name.
231         * include/line-map.h: Moved from gcc.  Change header guard name.
232         * include/mkdeps.h: Moved from gcc.  Change header guard name.
233         * include/symtab.h: Moved from gcc/hashtable.h.  Change header
234         guard name.