1 2009-06-14 Danny Backx <dannybackx@users.sourceforge.net>
3 * configure.ac : Replace entries referencing winsup by ones that match
4 the cegcc directory structure.
6 2009-06-02 Danny Backx <dannybackx@users.sourceforge.net>
8 * gcc/config/i386/mingw32ce.h, gcc/config/arm/wince-cegcc.h,
9 gcc/config/arm/mingw32.h (LIBGCC_SPEC) : Remove, replace by
10 * gcc/config/i386/mingw32ce.h, gcc/config/arm/wince-cegcc.h,
11 gcc/config/arm/mingw32.h (SHARED_LIBGCC_SPEC, REAL_LIBGCC_SPEC) : New
12 macros that support the shared libgcc.
14 2009-05-30 Danny Backx <dannybackx@users.sourceforge.net>
16 * gcc/config/i386/mingw32ce.h : Use _DllMainCRTStartup with underscore.
17 * gcc/config/i386/mingw32ce.h (_WIN32,WIN32,WINNT) : Define in
18 CPP_SPEC instead of EXTRA_OS_CPP_BUILTINS.
20 2009-05-21 Danny Backx <dannybackx@users.sourceforge.net>
22 * libgcc/config.host, gcc/config.gcc : Define i?86*-mingw32ce as a
23 separate target, with extra files crtbegin.o and crtend.o . Apparently
24 both places must have an identical list here.
25 * gcc/config/i386/t-wince : Add include files from the source tree to
26 get libgcc2 and crtbegin.c and crtend.c to compile.
28 2009-05-19 Danny Backx <dannybackx@users.sourceforge.net>
29 * gcc/config/arm/cygming.opt, mingw32.h, pe-cxx.h, pe-stubs.c : Copy
30 from older mingw32ce gcc port. Mostly Pedro's work.
31 * gcc/config/i386/mingw32ce.h, t-wince.h : Likewise, but now in the
32 i386 directory for better integration.
33 * gcc/config/arm/cegcc.opt, wince-cegcc.h, cegcc1.c, t-wince-cegcc :
34 Copy from older cegcc/gcc port.
35 * gcc/config.gcc : Change arm*-wince-cegcc* to arm*-*-cegcc*.
36 * libgcc/config.host : Add arm*-*-cegcc*, arm*-*-mingw32ce* targets.
37 * libgcc/config/arm/t-wince-pe : New file, part of Pedro's work for
39 * libstdc++-v3/configure.host : Add cegcc*, mingw32ce*.
40 * libstdc++-v3/crossconfig.m4 : Add *-cegcc*.
41 * libstdc++-v3/config/os/mingw/runtimeopts.h : New file, part of
42 Pedro's work for gcc-trunk.
43 * libstdc++-v3/config/os/mingw/runtimeopts.h(force_new_p) : Remove
45 * libstdc++-v3/config/os/mingw/runtimeopts.h(debug_message_length) :
47 * libstdc++-v3/configure.ac: Add some checks, part of Pedro's work.
48 * libstdc++-v3/acinclude.m4 : Likewise.
49 * libstdc++-v3/linkage.m4(GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_1) :
50 Add checks, part of Pedro's work.
51 * libstdc++-v3/src/debug.cc(_M_get_max_length) : Replace a getenv
52 based implementation by use of runtimeopts, part of Pedro's work.
53 * libstdc++-v3/include/ext/pool_allocator.h : Likewise.
54 * libstdc++-v3/include/ext/mt_allocator.h : Likewise.
55 * libstdc++-v3/include/ext/stdio_filebuf.h : Add some conditional
56 compilation, part of Pedro's work.
57 * libstdc++-v3/include/ext/stdio_sync_filebuf.h : Likewise.
58 * libstdc++-v3/include/c_global/cstdlib : Likewise.
59 * libstdc++-v3/include/c_global/cstdio : Likewise.
60 * libstdc++-v3/include/c_global/ctime : Likewise.
61 * libstdc++-v3/include/c_global/cwchar : Likewise.
62 * libstdc++-v3/include/c_global/cstring : Likewise.
63 * libstdc++-v3/include/precompiled/stdc++.h : Likewise.
64 * libstdc++-v3/config/locale/generic/collate_members.cc : Likewise.
65 * libstdc++-v3/config/locale/generic/c_locale.cc : Likewise.
66 * libstdc++-v3/config/locale/generic/c_locale.h : Likewise.
67 * libstdc++-v3/config/locale/generic/time_members.cc : Likewise.
68 * libstdc++-v3/config/os/newlib/os_defines.h : Likewise.
69 * libstdc++-v3/config/io/basic_file_stdio.cc : Likewise.
70 * libssp/ssp.c : Likewise.
71 * libstdc++-v3/config/os/mingw32/error_constants.h : Add POSIX error
72 code macros, part of Pedro's work.
73 * libstdc++-v3/config/os/mingw32ce/ctype_noninline.h : New file, part
75 * libstdc++-v3/config/os/mingw32ce/os_defines.h : Likewise.
76 * libstdc++-v3/config/os/mingw32ce/ctype_inline.h : Likewise.
77 * libstdc++-v3/config/os/mingw32ce/ctype_base.h : Likewise.
78 * libstdc++-v3/config/os/mingw32ce/error_constants.h : Likewise.
79 * libstdc++-v3/config/os/generic/runtimeopts.h : Likewise.
80 * libstdc++-v3/config.h.in (HAVE_ERRNO_H, HAVE_FCNTL_H, HAVE_GETENV,
84 2009-05-19 Danny Backx <dannybackx@users.sourceforge.net>
86 * gcc-4.4.0/ChangeLog.ce : New file.
87 * gcc-4.4.0 : Fresh import from gcc-core-4.4.0 and gcc-g++-4.4.0 .
89 2006-12-03 Pedro Alves <pedro_alves@portugalmail.pt>
91 * gcc/config/arm/arm.c (arm_major_arch, arm_thumb_arch_p): New
93 * gcc/config/arm/arm-protos.h (arm_major_arch, arm_thumb_arch_p):
95 * gcc/config/arm/wince-pe.h (TARGET_OS_CPP_BUILTINS): Add _M_ARM,
98 2006-11-27 Pedro Alves <pedro_alves@portugalmail.pt>
100 * gcc/config/arm/mingw32.h (STARTFILE_SPEC): Add crt3.o and dllcrt3.o
101 instead of crt2.o and dllcrt2.o.
103 2006-11-12 Pedro Alves <pedro_alves@portugalmail.pt>
105 * gcc/config/arm/wince-pe.h (TARGET_OS_CPP_BUILTINS): Delete _M_ARM
108 2006-11-08 Pedro Alves <pedro_alves@portugalmail.pt>
110 * gcc/config/arm/wince-pe.h (DEFAULT_SIGNED_CHAR): Define to 1.
112 2006-11-04 Danny Backx <dannybackx@users.sourceforge.net>
114 * gcc/config/arm/pe.h (PROFILE_HOOK): Remove, it looks like we don't need
115 it to get profiling to work.
117 2006-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
119 * gcc/target-def.h (TARGET_ATTRIBUTE_TABLE): Only define if not
121 * gcc/config/arm/arm.c (arm_file_end): Give it external linkage.
122 (arm_handle_struct_attribute): New.
123 (arm_ms_bitfield_layout_p): New.
124 (TARGET_ATTRIBUTE_TABLE, TARGET_ASM_FILE_END,
125 TARGET_ENCODE_SECTION_INFO, TARGET_STRIP_NAME_ENCODING): Move
126 declarations to config/arm/arm.h.
127 (TARGET_MS_BITFIELD_LAYOUT_P): Define to
128 arm_ms_bitfield_layout_p.
129 (arm_return_in_memory): Replace #ifdef'ing on ARM_WINCE with
130 TARGET_RETURN_AGGREGATES_IN_MEMORY.
131 (arm_attribute_table): Add shared, ms_struct, gcc_struct
133 Allow subtarget to add attributes using
134 SUBTARGET_ATTRIBUTE_TABLE.
135 (arm_elf_asm_constructor): Only compile on OBJECT_FORMAT_ELF.
136 (thumb_output_function_prologue): Call arm_pe_strip_name_encoding
137 instead of arm_strip_name_encoding.
138 (arm_handle_struct_attribute): New function.
139 (arm_ms_bitfield_layout_p): New function.
140 * gcc/config/arm/arm.h (TARGET_ASM_FILE_END, TARGET_ATTRIBUTE_TABLE,
141 TARGET_ENCODE_SECTION_INFO, TARGET_STRIP_NAME_ENCODING): Define.
142 * gcc/config/arm/t-wince-cegcc: Add cegcc1.o rule.
143 (TARGET_LIBGCC2_CFLAGS): Add -mwin32.
144 * gcc/config/arm/t-mingw32 (SYSTEM_INCLUDE_DIR): Delete.
145 (NATIVE_SYSTEM_HEADER_DIR): Likewise.
146 * gcc/config/arm/arm-protos.h (arm_file_end,
147 arm_pe_asm_named_section, arm_pe_section_type_flags,
148 arm_pe_strip_name_encoding, arm_pe_output_labelref,
149 arm_pe_handle_shared_attribute): Declare.
150 * gcc/config/arm/wince-pe.h:
151 (TARGET_VERSION): Set to "(arm Windows CE/Native SDK)".
152 (MULTILIB_DEFAULTS): Remove -mfpu=vfp.
153 (SUBTARGET_CPU_DEFAULT): Default to TARGET_CPU_arm8 (armv4).
154 (CPP_SPEC): Remove cegcc specifics.
155 (ASM_SPEC): Don't pass -cpu=iwmmxt to assembler when -mcpu=xscale
157 (SUBTARGET_EXTRA_SPECS, SUBTARGET_ASM_FLOAT_SPEC): Remove.
158 (TARGET_OS_CPP_BUILTINS): Add _stdcall, _fastcall and _cdecl.
159 (SUBTARGET_CPP_SPEC, HANDLE_SYSV_PRAGMA,
160 HANDLE_PRAGMA_PACK_PUSH_POP): Delete.
161 (STARTFILE_SPEC): Remove cegcc specifics.
162 (LIBGCC_SPEC): Likewise.
163 (LIB_SPEC): Likewise.
164 (COMMON_ASM_OP, ASM_OUTPUT_COMMON, ASM_DECLARE_OBJECT_NAME,
165 ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_EXTERNAL,
166 ASM_OUTPUT_EXTERNAL_LIBCALL, ASM_OUTPUT_ALIGNED_BSS,
167 TARGET_ASM_FILE_END, SUPPORTS_ONE_ONLY, MULTIPLE_SYMBOL_SPACES):
169 (ARM_MCOUNT_NAME): Define to _mcount to avoid conflicts.
170 (CHECK_STACK_LIMIT): Delete.
171 (TARGET_DEFAULT): Match Windows CE ABI with
172 MASK_MS_BITFIELD_LAYOUT and MASK_RETURN_AGGREGATES_IN_MEMORY.
173 (TARGET_SUBTARGET_DEFAULT): Delete.
174 (BIGGEST_FIELD_ALIGNMENT): Delete.
175 (SET_ASM_OP): Delete.
176 (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define to 8 as WinCE's ABI
178 (ASM_OUTPUT_DEF_FROM_DECLS, TARGET_USE_JCR_SECTION,
179 TARGET_USE_LOCAL_THUNK_ALIAS_P, SUBTARGET_ATTRIBUTE_TABLE):
181 * gcc/config/arm/mingw32.h (STANDARD_INCLUDE_DIR,
182 STANDARD_INCLUDE_COMPONENT): Delete.
183 * gcc/config/arm/arm.opt: New option -mreturn-aggregates-in-memory.
184 * gcc/config/arm/pe.opt: New option -mms-bitfields.
185 * gcc/config/arm/pe.c (arm_pe_handle_shared_attribute): New.
186 (arm_pe_strip_name_encoding): New.
187 (arm_pe_output_labelref): Call arm_pe_strip_name_encoding instead
188 of arm_strip_name_encoding.
189 (arm_pe_unique_section): Likewise.
190 (arm_pe_section_type_flags): New.
191 (arm_pe_asm_named_section ): New.
192 (arm_pe_file_end): Call arm_file_end.
193 * gcc/config/arm/pe.h (HANDLE_SYSV_PRAGMA): New.
194 (HANDLE_PRAGMA_PACK_PUSH_POP): New.
195 (SUBTARGET_OVERRIDE_OPTIONS): New.
196 (TARGET_ASM_NAMED_SECTION): Set to arm_pe_asm_named_section
198 (TARGET_SECTION_TYPE_FLAGS): New.
199 (ASM_DECLARE_FUNCTION_NAME): Don't output -export to .drectve
201 Use arm_pe_record_exported_symbol instead.
202 (TARGET_ASM_FILE_END): Set to arm_pe_file_end.
203 (TARGET_ENCODE_SECTION_INFO): Set to arm_pe_encode_section_info.
204 (TARGET_STRIP_NAME_ENCODING): Set to arm_pe_strip_name_encoding.
205 (COMMON_ASM_OP): New.
206 (ASM_OUTPUT_COMMON): Don't output -export to .drectve directly.
207 Use arm_pe_record_exported_symbol instead.
208 (ASM_DECLARE_OBJECT_NAME): Likewise.
209 (ASM_OUTPUT_EXTERNAL): New.
210 (ASM_OUTPUT_EXTERNAL_LIBCALL): New.
212 (ASM_OUTPUT_DEF_FROM_DECLS): New.
214 (SUBTARGET_ATTRIBUTE_TABLE): New.
215 (TARGET_USE_LOCAL_THUNK_ALIAS_P): New.
216 (TARGET_USE_JCR_SECTION): New.
217 (SUBTARGET_ENCODE_SECTION_INFO): New.
218 (TARGET_STRIP_NAME_ENCODING): New.
219 * gcc/config/arm/wince-cegcc.h (SUBTARGET_EXTRA_SPECS,
220 EXTRA_OS_CPP_BUILTINS, TARGET_OS_CPP_BUILTINS,
221 SUBTARGET_CPP_SPEC): Delete.
222 * gcc/config/arm/t-wince-pe (pe.o): Add expr.h to dependencies.
223 (cegcc1.o): Delete build rule.
224 (MULTILIB_OPTIONS): Remove -mfpu=vfp.
225 (TARGET_LIBGCC2_CFLAGS): Remove unneeded options.
227 2006-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
229 * gcc/config/arm/pe-cxx.c: Fix indenting to match the original
230 config/i386/winnt-cxx.c.
232 2006-10-17 Pedro Alves <pedro_alves@portugalmail.pt>
234 * gcc/config/arm/wince-cegcc.h (STARTFILE_SPEC) : Add gcrt3.o instead
236 * gcc/config/arm/mingw32.h: Likewise.
238 2006-10-16 Danny Backx <dannybackx@users.sourceforge.net>
240 * gcc/config/arm/wince-cegcc.h (LIB_SPEC) : Link -lgmon when called
242 (STARTFILE_SPEC): Add gcrt2.o when called with -pg.
244 2006-10-12 Danny Backx <dannybackx@users.sourceforge.net>
246 * gcc/config/arm/wince-cegcc.h (mno-cegcc): Remove option.
247 Use the arm-wince-mingw32ce target instead.
249 2006-10-10 Pedro Alves <pedro_alves@portugalmail.pt>
251 * gcc/config/arm/cegcc.c: Delete. We use the originals instead.
252 This code is generic PE code, and will hopefully get
253 pushed down to a more general place in GCC 4.3 stage1.
254 * gcc/cegcc-cxx.c: Likewise.
255 * gcc/cegcc-stubs.c: Likewise.
256 * gcc/config.gcc: Use the originals instead of the new copies for the
257 arm*-wince-cegcc case.
258 * gcc/config/arm/t-wince-cegcc: Make it empty, we now inherit the
260 * gcc/ChangeLog.ce: New file.
261 Index: libstdc++-v3/ChangeLog.ce
262 ===================================================================
263 --- libstdc++-v3/ChangeLog.ce (revisão 0)
264 ++ libstdc++-v3/ChangeLog.ce (revisão 0)
266 2007-02-04 Pedro Alves <pedro_alves@portugalmail.pt>
268 * libstdc++-v3/acinclude.m4 (GLIBCXX_ENABLE_C99]): Remove wcscoll and wcsxfrm.
269 Check for wcscoll, wcsxfrm, strcoll and strxfrm.
270 * libstdc++-v3/configure: Regenerate.
271 * libstdc++-v3/include/c_std/std_cwchar.h: Use _GLIBCXX_HAVE_WCSCOLL, and
272 _GLIBCXX_HAVE_WCSXFRM.
273 * libstdc++-v3/config/locale/generic/collate_members.cc
274 (collate<char>::_M_compare): Use _GLIBCXX_HAVE_STRCOLL.
275 Use strcmp as alternative.
276 (collate<char>::_M_transform): Use _GLIBCXX_HAVE_STRXFRM.
277 Use strncpy as alternative.
278 (collate<wchar_t>::_M_compare): Use _GLIBCXX_HAVE_WCSCOLL.
279 Use wcscmp as alternative.
280 (collate<wchar_t>::_M_transform): Use _GLIBCXX_HAVE_WCSXFRM.
281 Use wcsncpy as alternative.
283 2006-11-12 Pedro Alves <pedro_alves@portugalmail.pt>
285 * libstdc++-v3/config/io/basic_file_stdio.cc (__gnu_internal::read,
286 __gnu_internal::write, __gnu_internal::lseek,
287 __gnu_internal::fdopen): Delete.
288 (__basic_file<char>::sys_open): Fix typo.
290 2006-10-22 Pedro Alves <pedro_alves@portugalmail.pt>
292 * libstdc++-v3/config/locale/generic/time_members.cc :
293 (__timepunct<char>::_M_put): Enable on __MINGW32CE__.
294 (__timepunct<char>::_M_initialize_timepunct) : Likewise.
295 (__timepunct<wchar_t>::_M_put) : Likewise.
296 (__timepunct<wchar_t>::_M_initialize_timepunct) : Likewise.
298 2006-10-18 Pedro Alves <pedro_alves@portugalmail.pt>
300 * libstdc++-v3/config/io/basic_file_stdio.cc : Include <windows.h> on mingw32ce.
301 (__gnu_internal::read) : New.
302 (__gnu_internal::write) : New.
303 (__gnu_internal::lseek) : New.
304 (__gnu_internal::fdopen) : New.
305 (__gnu_internal::xwrite): Revert to always using file
306 descriptors (handles on CE).
307 (__basic_file<char>::sys_open) : Enable on mingw32ce too. Don't
308 special case __fd == 0.
309 (__basic_file<char>::fd) : Enable on mingw32ce too.
310 (__basic_file<char>::xsgetn) : Use file descriptors on mingw32ce too.
311 (__basic_file<char>::xsputn) : Likewise.
312 (__basic_file<char>::xsputn_2) : Likewise.
313 (__basic_file<char>::seekoff) : Likewise, using __gnu_internal::lseek.
314 (__basic_file<char>::showmanyc) : Implement for mingw32ce using Win32 api.
316 2006-10-17 Pedro Alves <pedro_alves@portugalmail.pt>
318 * libstdc++-v3/crossconfig.m4 (cegcc*, mingw32*): Add fnctl.h to AC_CHECK_HEADERS.
319 * libstdc++-v3/configure : Regenerate.
320 * libstdc++-v3/config.h.in : Regenerate.
321 * libstdc++-v3/config/io/basic_file_stdio.cc : Wrap fnctl.h inclusion
322 on _GLIBCXX_HAVE_FCNTL_H.
324 2006-10-16 Pedro Alves <pedro_alves@portugalmail.pt>
326 * libstdc++-v3/include/ext/pool_allocator.h : Include runtimeopts.h.
327 (allocate) : Use runtimeopts::force_new_p.
328 * libstdc++-v3/include/ext/stdio_filebuf.h (stdio_filebuf) : Don't build
329 fildes constructor version on mingw32ce.
330 (fd) : Don't build on mingw32ce.
331 * libstdc++-v3/include/ext/stdio_sync_filebuf.h : Wrap unistd.h inclusion
332 on _GLIBCXX_HAVE_UNISTD_H.
333 * libstdc++-v3/include/ext/mt_allocator.h : Include runtimeopts.h.
334 (_Tune) : Use runtimeopts::force_new_p.
335 (_S_tune) : Likewise.
336 * libstdc++-v3/include/Makefile.am (host_headers) : Add runtimeopts.h
337 * libstdc++-v3/include/Makefile.in : Regenerate.
338 * libstdc++-v3/include/stdc++.h : Include <bits/c++config.h>.
339 Wrap errno.h inclusion with _GLIBCXX_HAVE_ERRNO_H.
340 Wrap clocale.h inclusion with _GLIBCXX_HAVE_LOCALE_H.
341 Wrap csignal.h inclusion with _GLIBCXX_HAVE_SIGNAL_H.
342 * libstdc++-v3/include/c_std/std_cstdlib.h (bsearch, calloc, getenv,
343 mblen, mbstowcs, mbtowc, system, freopen, perror,
344 remove, rename, rewind, setbuf, tmpfile, tmpnam,
345 clock, mktime, time, asctime, ctime, gmtime,
346 localtime, strftime) : These function on exist on coredll. Wrap with
347 ifndef __MINGW32CE__.
348 * libstdc++-v3/include/c_std/std_cstring.h (strcoll, strxfrm, strerror): Likewise.
349 * libstdc++-v3/src/localename.cc : Wrap clocale.h inclusion with
350 _GLIBCXX_HAVE_LOCALE_H.
351 (locale) : No locale support on coredll, Always use _S_classic.
352 * libstdc++-v3/src/locale_init.cc : Wrap clocale.h inclusion with
353 _GLIBCXX_HAVE_LOCALE_H.
354 (global) : No setlocale on coredll. Wrap with ifndef __MINGW32CE__.
355 * libstdc++-v3/src/locale.cc : Wrap clocale.h inclusion with
356 _GLIBCXX_HAVE_LOCALE_H.
357 (_S_normalize_category) : Always return __cat on mingw32ce.
358 * libstdc++-v3/crossconfig.m4 (cegcc): Add errno.h, signal.h and unistd.h
359 to AC_CHECK_HEADERS. Call GLIBCXX_CHECK_STDLIB_SUPPORT.
360 * libstdc++-v3/config/locale/generic/collate_members.cc (_M_compare) :
361 No strcoll on coredll. Call strcmp instead.
362 (_M_transform) : No strxfrm on coredll. Call strncpy + strlen instead.
363 * libstdc++-v3/config/locale/generic/c_locale.cc: Include <bits/c++config.h>.
364 Wrap errno.h inclusion with _GLIBCXX_HAVE_ERRNO_H.
365 Provice a default ERANGE for mingw32ce.
366 (__convert_to_v) Adapt to lack of errno and setlocale.
367 * libstdc++-v3/config/locale/generic/c_locale.h :
368 Wrap clocale.h inclusion with _GLIBCXX_HAVE_LOCALE_H.
369 (__convert_from_v) : Don't handle locale on mingw32ce.
370 * libstdc++-v3/config/locale/generic/time_members.cc (_M_put) : Don't build on
372 * libstdc++-v3/config/io/basic_file_stdio.cc :
373 Wrap errno.h inclusion with _GLIBCXX_HAVE_ERRNO_H.
374 Use FILE* instead of file descriptors on mingw32ce throughout.
375 Adapt to lack of errno.
376 * libstdc++-v3/configure: Regenerate.
377 * libstdc++-v3/config.h.in : Regenerate.
379 2006-10-10 Pedro Alves <pedro_alves@portugalmail.pt>
381 * libstdc++-v3/config/os/generic/runtimeopts.h : New file.
382 * libstdc++-v3/configure: Regenerate with autoconf 2.59.
383 * libstdc++-v3/ChangeLog.ce : New file.