1 2006-09-11 Paul Brook <paul@codesourcery.com>
4 * arm/arm.sc: Add .jcr.
6 2006-09-11 Daniel Jacobowitz <dan@codesourcery.com>
9 * arm/Makefile.in (armv7m, lm3s10x, lm3s301, lm3s31x): Swap
11 (rdimon, rdpmon): Skip 8k.
13 2006-09-06 Nathan Sidwell <nathan@codesourcery.com>
16 * m68k/Makefile.in (CF_SOURCES): New.
17 (install): Install them.
19 2006-09-01 Paul Brook <paul@codesourcery.com>
22 * arm/Makefile.in: Reduce rdi/rdp ram size to avoid overflow.
24 2006-09-01 Nathan Sidwell <nathan@codesourcery.com>
27 * m68k/cf.sc: Add .jcr section to .text.
29 2006-09-01 Paul Brook <paul@codesourcery.com>
32 * arm/Makefile.in: Include _exit.c in BSPs. Add rdimon-ram.ld.
33 Build linker scripts instead of spec files for rdimon and rdpmon.
34 Pass CRT0 ad BSP to arm.sc.
35 * arm/_exit.c: New file.
36 * arm/arm.sc: Add STARTUP, GROUP and SEARCH_DIR. Remove defaults
38 * arm/crt0.S: Give Thumb-2 symbols function type.
39 Skip generic Arm init code for Thumb-2.
40 Add _nmi_isr and _fault_isr.
41 * arm/libcfunc.c (do_AngelSWI): Remove.
42 * arm/swi.h (do_AngelSWI): New function.
43 * arm/syscalls.c (do_AngelSWI): Remove.
45 (isatty): New function.
47 2006-08-31 Nathan Sidwell <nathan@codesourcery.com>
50 * m68k/bdm-crt1.c: Call hardware_init_hook before copying
54 * m68k/Makefile.in (CF_BDM_SCRIPTS): Rename to CF_RAM_SCRIPTS.
56 (%-bdm.ld): Rename to %-ram.ld.
58 2006-08-30 Paul Brook <paul@codesourcery.com>
61 * arm/Makefile.in: Change armv7m linker script generation. Add
62 armv7m.spec. Build armv7m-crt0.o.
63 * arm/arm.sc: New file.
64 * arm/armv7m.specs: New file.
65 * arm/crt0.S: Add armv7m code.
66 * arm/elf-lm3s10x.ld: Remove.
67 * arm/elf-lm3s301.ld: Remove.
68 * arm/elf-lm3s31x.ld: Remove.
69 * arm/swi.h (do_AngelSWI): Add definition.
70 * arm/syscalls.c: Merge lazy semihosting initialization from newlib.
73 * libc/sys/arm/crt0.S: Add armv7m rom startup code.
75 2006-08-29 Paul Brook <paul@codesourcery.com>
78 * libc/sys/arm/_fault_isr.c (_fault_isr): Compile unconditionally.
79 * libc/sys/arm/_nmi_isr.c (_nmi_isr): Ditto.
81 2006-08-29 Paul Brook <paul@codesourcery.com>
84 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Remove.
85 * configure.in: Remove --disable-newlib-atexit-dynamic-alloc.
86 * libc/stdlib/__atexit.c (__register_exitproc): Use weak reference to
87 malloc. Only allocate dynamically if it is present.
88 * libc/stdlib/__call_atexit.c (__call_exitprocs): Use weak reference
90 * configure: Regenerate.
91 * newlib.hin: Regenerate.
93 2006-08-29 Paul Brook <paul@codesourcery.com>
96 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
98 2006-08-25 Nathan Sidwell <nathan@codesourcery.com>
101 * m68k/Makefile.in (DBUG_BSP, DBUG_OBJS): Remove.
103 (BDM_OBJS): Add bdm-crt1.o.
104 (BDM_OTHER_OBJS): Remove print.o putnum.o
106 (CF_BDM_SCRIPTS): Generated name of ram scripts.
107 (CF_ROM_SCRIPTS): Generated name of rom scripts.
108 (CF_SCRIPTS): Adjust.
110 (bdm-crt0.o, bdm-crt1.o): New targets.
112 (m5208evb, m5213evb, m52235evb, m5235evb, m5273c3, m5282evb,
113 m5329evb, m5485evb): New.
114 (%-bdm.ld, %-rom.ld): New. Replace individual linker script rules.
115 (install): Remove DBUG installs.
116 * m68k/bdm-crt0.S: New.
117 * m68k/bdm-crt1.c: New.
118 * m68k/bdm-exit.c: Call __reset.
119 * m68k/bdm-isv.c: Remove.
120 * m68k/cf.sc: Adjust to produce either rom or ram images.
121 * m68k/dbug-exit.S, m68k/dbug-inbyte.S, m68k/dbug-outbyte.S: Remove.
123 2006-08-22 Paul Brook <paul@codesourcery.com>
126 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Fix
127 multithreaded locking.
129 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
133 * m68k/cf.sc: Set entry point to _start.
134 * m68k/crt0.X (_start): New name for entrypoint
135 (start): Weak alias for start.
137 2006-06-23 Mark Mitchell <mark@codesourcery.com>
141 * arm/elf-lm3s301.ld: Include cm3.ld.
142 * arm/elf-lm3s31x.ld: Likewise.
144 2006-06-13 Mark Mitchell <mark@codesourcery.com>
148 * arm/Makefile.in (LMS_SCRIPTS): Add lm3s301.ld and lm3s31x.ld.
150 2006-06-09 Nathan Sidwell <nathan@codesourcery.com>
153 * m68k/bdm-system.c (_system): Support system(NULL).
155 2006-06-09 Sandra Loosemore <sandra@codesourcery.com>
158 * libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
159 Make them do something useful in the ARM_RDI_MONITOR case.
162 * arm/syscalls.c (_unlink, isatty, _system, _rename): Make
163 them do something useful in the ARM_RDI_MONITOR case.
165 2006-06-08 Nathan Sidwell <nathan@codesourcery.com>
168 * m68k/bdm-system.c (_system): Properly encode non failure exit
171 2006-06-05 Nathan Sidwell <nathan@codesourcery.com>
174 * m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-inbyte.o.
176 * m68k/bdm-close.c: Add copyright notice.
177 * m68k/bdm-fstat.c: Add copyright notice.
178 * m68k/bdm-gettimeofday.c: Add copyright notice.
179 * m68k/bdm-inbyte.c: Remove.
180 * m68k/bdm-isatty.c: Add copyright notice.
181 * m68k/bdm-lseek.c: Add copyright notice. Fix &/| thinko.
182 * m68k/bdm-open.c: Add copyright notice.
183 * m68k/bdm-read.c: Add copyright notice.
184 * m68k/bdm-rename.c: Add copyright notice.
185 * m68k/bdm-stat.c: Add copyright notice.
186 * m68k/bdm-system.c: Add copyright notice.
187 * m68k/bdm-time.c: New.
188 * m68k/bdm-unlink.c: Add copyright notice.
189 * m68k/bdm-write.c: Add copyright notice.
191 2006-05-31 Mark Mitchell <mark@codesourcery.com>
194 * arm/elf-lm3s301.ld: New script.
195 * arm/elf-lm3s31x.ld: Likewise.
197 * arm/Makefile.in (LMS_SCRIPTS): New variable.
198 (LMS_INSTALL): Likewise.
199 (install): Depend on LMS_INSTALL.
200 (install-lms): New target.
201 * arm/elf-cm3.lmd: New file.
202 * arm/elf-lm3s10x.ld: Likewise.
206 * libc/sys/arm/syscalls.c (findslot): Call
207 initialise_monitor_handles.
208 (remap_handle): Do not call initialise_monitor_handles.
210 2006-05-25 Nathan Sidwell <nathan@codesourcery.com>
213 * m68k/Makefile.in (m52235-dbug.ld, m52235-bdm.ld): New
216 2006-05-24 Nathan Sidwell <nathan@codesourcery.com>
219 * m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-outbyte.o.
220 * m68k/bdm-outbyte.c: Delete.
221 * m68k/bdm-semihost.h (BDM_OUTBYTE): Mark as obsolete.
223 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
226 * m68k/bdm-semihost.h: Add new constants for additional
227 semihosting functions. Add new BDM_TRAP macro to encapsulate
229 * m68k/bdm-exit.c (_exit): Use new BDM_TRAP macro.
230 * m68k/bdm-outbyte.c (outbyte): Ditto.
231 * m68k/bdm-isrs.c, m68k/bdm-isv.c: Former BDM_TRAP
232 now called BDM_TRAPNUM.
233 * m68k/bdm-gdb.h, m68k/bdm-gdb.c: New files
234 containing declarations and conversion functions for GDB's fileio
236 * m68k/bdm-close.c: New file to define corresponding function.
237 * m68k/bdm-fstat.c: Ditto.
238 * m68k/bdm-gettimeofday.c: Ditto.
239 * m68k/bdm-isatty.c: Ditto.
240 * m68k/bdm-lseek.c: Ditto.
241 * m68k/bdm-open.c: Ditto.
242 * m68k/bdm-read.c: Ditto.
243 * m68k/bdm-rename.c: Ditto.
244 * m68k/bdm-stat.c: Ditto.
245 * m68k/bdm-system.c: Ditto.
246 * m68k/bdm-unlink.c: Ditto.
247 * m68k/bdm-write.c Ditto.
248 * m68k/Makefile.in: Add dependencies for new files.
251 * configure.host: Tell it we have _rename and _system when
252 building m68k-unknown-elf.
254 2006-05-04 Paul Brook <paul@codesourcery.com>
257 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_memclr.c,
258 aeabi_memcpy.c, aeabi_memmove.c and aeabi_memset.c.
259 * libc/sys/arm/Makefile.in: Regenerate.
260 * libc/sys/arm/aeabi.h: New file.
261 * libc/sys/arm/aeabi_memclr.c: New file.
262 * libc/sys/arm/aeabi_memcpy.c: New file.
263 * libc/sys/arm/aeabi_memmove.c: New file.
264 * libc/sys/arm/aeabi_memset.c: New file.
266 2006-03-29 Nathan Sidwell <nathan@codesourcery.com>
269 * m68k/bdm-isv.c (software_init_hook): Fix trap numbering.
271 * m68k/Makefile.in (CF_SCRIPTS): Add m5329 board.
273 (*-dbug.ld, *-bdm.ld): Add appropriate IO definition.
274 (m5329evb-dbug.ld, m5329evb-bdm.ld): New.
275 * cf.sc (GROUP): Revert previous change. Add IO library.
277 * m68k/Makefile.in (BDM_BSP, BDM_OBJS, BDM_ISRS): New.
278 (CF_SCRIPTS): Rename dbug scripts. Add bdm scripts. Add m5485
280 (all): Add new targets.
281 (BDM_BSP): New target.
282 (bdm-isv.o, bdm-exit.o, bdm-outbyte.o, bdm-semihost.o): New
284 (BDM_ISRS): New targets.
285 (m5208evb.ld, m5213evb.ld, m5235evb.ld, m5272c3.ld, m5282evb.ld):
287 (m5485evb-dbug): New.
288 (m5208evb-bdm.ld, m5213evb-bdm.ld, m5235evb-bdm.ld,
289 m5272c3-bdm.ld, m5282evb-bdm.ld, m5485evb-bdm.ld): New.
290 (install): Add BDM_BSP.
291 * m68k/bdm-exit.c: New
292 * m68k/bdm-inbyte.c: New
293 * m68k/bdm-outbyte.c: New
294 * m68k/bdm-semihost.c: New
295 * m68k/bdm-semihost.h: New
296 * m68k/bdm-isrs.c: New.
297 * m68k/bdm-isv.c: New.
298 * dbug-cf.sc: Renamed to ...
299 * cf.sc: ... here. Add bdm flexibility. Remove GROUP
301 2006-03-23 Mark Mitchell <mark@codesourcery.com>
304 * libc/sys/arm/Makefile.am (extra_objs): Add _exit.o _nmi_isr.o
306 * libc/sys/arm/Makefile.in: Regenerated.
307 * libc/sys/arm/_exit.c: New file.
308 * libc/sys/arm/_fault_isr.c: Likewise.
309 * libc/sys/arm/_nmi_isr.c: Likewise.
310 * libc/sys/arm/configure.in (--enable-newlib-arm-v7m): New option.
311 * libc/sys/arm/configure:
312 * libc/sys/arm/crt0.S (_start): Do not use semihosting calls in
313 _start when configured for ARM V7M. Do not call
314 initialise_monitor_handles. Indent preprocessor directives.
315 (.isr_vector): New section, on ARM V7M.
316 * libc/sys/arm/swi.h (do_AngelSWI): New function.
317 * syscalls.c (_exit): Remove.
318 (do_AngelSWI): Likewise.
319 (CHECK_INIT): Remove.
320 (remap_handle): Call initialise_monitor_handles.
321 (__arm_monitor_handles_lock): New variable.
322 (initialise_monitor_handles): Make sure to run only once.