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