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