and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  1. 26 Oct, 2006 1 commit
    • Vladimir Prus's avatar
      Merge from HEAD: · 563668be
      Vladimir Prus authored
             newlib/
             * libc/include/math.h: (exception): Add a comment
             telling fixincludes that we handle C vs. C++ issue.
      563668be
  2. 23 Oct, 2006 2 commits
    • Paul Brook's avatar
      2006-10-23 Paul Brook <paul@codesourcery.com> · e207be22
      Paul Brook authored
      	libgloss/
      	* arm/Makefile.in (ARMV7M_OBJS): Add lm3s6xx-rom.ld, lm3s8xx-rom.ld,
      	lm3s6xx-ram.ld and lm3s8xx-ram.ld
      	(lm3s6xx, lm3s8xx): Define.
      e207be22
    • Nathan Sidwell's avatar
      libgloss/ · 0af1c7e7
      Nathan Sidwell authored
      	* m68k/Makefile.in (CF_CRT0): Rename to CF_CRT0S, separate hosted
      	& unhosted versions.
      	(CF_OBJS): Add cf-isv.o.
      	(CF_SOURCES): Add cf-isv.S.
      	(cf-hosted-crt0.o, cf-unhosted-crt0.o): New targets.
      	* m68k/cf-isv.S: New, broken out of ...
      	* m68k/cf-crt0.S: ... here.  Add HOSTED & UNHOSTED differences.
      	* m68k/cf-crt1.c (__start1): Add heap_limit argument.
      	(__heap_limit): Define.
      	* m68k/cf-sbrk.c (__heap_limit): Declare.
      	(sbrk): Adjust for __heap_limit.
      	* m68k/cf.sc: Use different crt0's for hosted & unhosted.
      	Install a separate isv.o file.
      	* m68k/io.h (HOSTED_PUTCHAR): Replace with ...
      	(HOSTED_INIT_SIM): ... this.
      0af1c7e7
  3. 20 Oct, 2006 2 commits
    • Nathan Sidwell's avatar
      libgloss/ · 03020ab7
      Nathan Sidwell authored
      	* m68k/Makefile.in (CF_BOARDS): Add m5275evb.
      	(m5275evb): New board.
      03020ab7
    • Vladimir Prus's avatar
      libgloss/ · c34e3bfc
      Vladimir Prus authored
             * m68k/cf.sc: Add linkonce sections and
             DWARF sections.
      c34e3bfc
  4. 07 Oct, 2006 1 commit
    • Nathan Sidwell's avatar
      libgloss/ · 8ae70bec
      Nathan Sidwell authored
      	* m68k/Makefile.in: Adjust Coldfire rules.
      	(BDM_CRT0, BDM_BSP, BDM_OBJS, BDM_ISRS): Rename	to ...
      	(CF_CRT0, CF_BSP, CF_OBJS, CF_ISRS): ... here.  Adjust.
      	(BDM_OTHER_OBJS): Remove.
      	(BDM_SYSOBJS): Rename to ...
      	(UNHOSTED_OBJS): ... here.  Adjust.
      	(UNHOSTED_BSP, HOSTED_OBJS, HOSTED_BSP): New.
      	(CF_HOSTED_SCRIPTS): New.
      	(CF_SCRIPTS, CF_SOURCES): Adjust.
      	* m68k/cf.sc: Add IO library variable.
      	* m68k/bdm-crt0.S, m68k/bdm-crt1.c, m68k/bdm-isrs.c,
      	m68k/bdm-sbrk.c, m68k/bdm-semihost.S: Rename to ...
      	* m68k/cf-crt0.S, m68k/cf-crt1.c, m68k/cf-isrs.c, m68k/cf-sbrk.c,
      	m68k/cf-hosted.S: ... here.
      	* m68k/cf-exit.c: New.
      	* m68k/bdm-gdb.h, m68k/bdm-semihost.h: Merge into ...
      	* m68k/io.h: ... here.  Add unhosted support.  Adjust conversion
      	function names.
      	* m68k/bdm-gdb.c: Rename to ...
      	* m68k/io-gdb.c: ... here.  Adjust names of conversion functions.
      	* m68k/bdm-close.c, m68k/bdm-exit.c, m68k/bdm-fstat.c,
      	m68k/bdm-gettimeofday.c, m68k/bdm-isatty.c, m68k/bdm-lseek.c,
      	m68k/bdm-open.c, m68k/bdm-read.c, m68k/bdm-rename.c,
      	m68k/bdm-stat.c, m68k/bdm-system.c, m68k/bdm-time.c,
      	m68k/bdm-unlink.c, m68k/bdm-write.c: Rename to ...
      	* m68k/io-close.c, m68k/io-exit.c, m68k/io-fstat.c,
      	m68k/io-gettimeofday.c, m68k/io-isatty.c, m68k/io-lseek.c,
      	m68k/io-open.c, m68k/io-read.c, m68k/io-rename.c, m68k/io-stat.c,
      	m68k/io-system.c, m68k/io-time.c, m68k/io-unlink.c,
      	m68k/io-write.c: ... here.  Include io.h. Adjust for hosted &
      	unhosted libraries.  Adjust names of gdb conversion functions.
      8ae70bec
  5. 01 Oct, 2006 1 commit
  6. 29 Sep, 2006 1 commit
    • Nathan Sidwell's avatar
      libgloss/ · a7cba03e
      Nathan Sidwell authored
      	* m68k/bdm-semihost.S: Add more comments.  Make instruction weirder.
      a7cba03e
  7. 27 Sep, 2006 1 commit
    • Paul Brook's avatar
      2006-09-17 Paul Brook <paul@codesourcery.com> · 07dfb29b
      Paul Brook authored
      	newlib/
      	Backport form mainline
      	2006-09-26  Jeff Johnston  <jjohnstn@redhat.com>
      	* libc/include/stdio.h: Do not allow macros
      	for clearerr, feof, or fileno.
      	* libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
      	the dummy std stream scheme to use pointers to const external
      	fake files, one for each standard stream.
      	* libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
      	argument.  For _REENT_SMALL, reset the file pointer if it
      	matches one of the fake std stream pointers.
      	* libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
      	argument.
      	* libc/stdio/fclose.c: Ditto.
      	* libc/stdio/feof.c: Ditto.
      	* libc/stdio/ferror.c: Ditto.
      	* libc/stdio/fflush.c: Ditto.
      	* libc/stdio/fgetc.c: Ditto.
      	* libc/stdio/fgets.c: Ditto.
      	* libc/stdio/fileno.c: Ditto.
      	* libc/stdio/findfp.c: Ditto.
      	* libc/stdio/fputc.c: Ditto.
      	* libc/stdio/fputs.c: Ditto.
      	* libc/stdio/fread.c: Ditto.
      	* libc/stdio/freopen.c: Ditto.
      	* libc/stdio/fseek.c: Ditto.
      	* libc/stdio/ftell.c: Ditto.
      	* libc/stdio/fwrite.c: Ditto.
      	* libc/stdio/getc.c: Ditto.
      	* libc/stdio/getdelim.c: Ditto.
      	* libc/stdio/putc.c: Ditto.
      	* libc/stdio/refill.c: Ditto.
      	* libc/stdio/setvbuf.c: Ditto.
      	* libc/stdio/ungetc.c: Ditto.
      	* libc/stdio/vfprintf.c: Ditto.
      	* libc/stdio/vfscanf.c: Ditto.
      	* libc/stdio/wbuf.c: Ditto.: Ditto.
      	* libc/stdio/wsetup.c: Ditto.
      	* libc/stdio64/freopen64.c: Ditto.
      	* libc/stdio64/fseeko64.c: Ditto.
      	* libc/stdio64/ftello64.c: Ditto.
      	* libc/machine/powerpc/vfprintf.c: Ditto.
      	* libc/machine/powerpc/vfscanf.c: Ditto.
      07dfb29b
  8. 22 Sep, 2006 1 commit
    • Nathan Sidwell's avatar
      libgloss/ · 692dac50
      Nathan Sidwell authored
      	* m68k/bdm-crt1.c (hardware_init_hook): Use #defines for CACR bits.
      692dac50
  9. 21 Sep, 2006 1 commit
  10. 20 Sep, 2006 4 commits
  11. 18 Sep, 2006 2 commits
    • Nathan Sidwell's avatar
      libgloss/ · 7ef66d8b
      Nathan Sidwell authored
      	* m68k/Makefile.in: Don't force a frame pointer on the ISRs.
      	* m68k/bdm-crt1.c (__start1): Don't set the VBR here.
      	(hardeare_init_hook): Define weakly.  Set VBR here, enable caching
      	if supported.
      7ef66d8b
    • Nathan Sidwell's avatar
      libgloss/ · 83529f80
      Nathan Sidwell authored
      	* m68k/Makefile.in (bdm-semihost.o): Build from bdm-semihost.S.
      	* m68k/bdm-semihost.c: Remove.
      	* m68k/bdm-semihost.S: New.
      	* m68k/bdm-crt0.S: Don't install semihosting trap handler.
      	* m68k/bdm-close.c, bdm-exit.c, bdm-fstat.c, bdm-gettimeofday.c,
      	bdm-isatty.c, bdm-lseek.c, bdm-open.c, bdm-read.c, bdm-rename.c,
      	bdm-stat.c, bdm-system.c, bdm-unlink.c, bdm-write.c): Update.
      	* m68k/bdm-isrs.c: Update comment.
      	* m68k/bdm-semihost.h (BDM_TRAPNUM, BDM_FUNC_REG, BDM_ARG_REG,
      	BDM_TRAP): Remove.
      	(__bdm_semihost): Declare.
      83529f80
  12. 15 Sep, 2006 1 commit
    • Nathan Sidwell's avatar
      libgloss/ · 8b4d1ae3
      Nathan Sidwell authored
      	* m68k/Makefile.in (BDM_OTHER_OBJS): Remove sbrk.o.
      	(BDM_SYSOBJS): Add bdm-sbrk.o.
      	* m68k/bdm-sbrk.c: New.
      8b4d1ae3
  13. 11 Sep, 2006 2 commits
  14. 06 Sep, 2006 1 commit
    • Nathan Sidwell's avatar
      libgloss/ · 50f51919
      Nathan Sidwell authored
      	* m68k/Makefile.in (CF_SOURCES): New.
      	(install): Install them.
      50f51919
  15. 01 Sep, 2006 3 commits
    • Paul Brook's avatar
      2006-09-01 Paul Brook <paul@codesourcery.com> · 1c64150f
      Paul Brook authored
      	libgloss/
      	* arm/Makefile.in: Reduce rdi/rdp ram size to avoid overflow.
      1c64150f
    • Nathan Sidwell's avatar
      libgloss/ · 7097c404
      Nathan Sidwell authored
      	* m68k/cf.sc: Add .jcr section to .text.
      7097c404
    • Paul Brook's avatar
      2006-09-01 Paul Brook <paul@codesourcery.com> · 639ec0e6
      Paul Brook authored
      	libgloss/
      	* arm/Makefile.in: Include _exit.c in BSPs.  Add rdimon-ram.ld.
      	Build linker scripts instead of spec files for rdimon and rdpmon.
      	Pass CRT0 ad BSP to arm.sc.
      	* arm/_exit.c: New file.
      	* arm/arm.sc: Add STARTUP, GROUP and SEARCH_DIR.  Remove defaults
      	for ROM and RAM.
      	* arm/crt0.S: Give Thumb-2 symbols function type.
      	Skip generic Arm init code for Thumb-2.
      	Add _nmi_isr and _fault_isr.
      	* arm/libcfunc.c (do_AngelSWI): Remove.
      	* arm/swi.h (do_AngelSWI): New function.
      	* arm/syscalls.c (do_AngelSWI): Remove.
      	(_exit): Remove.
      	(isatty): New function.
      639ec0e6
  16. 31 Aug, 2006 3 commits
  17. 30 Aug, 2006 1 commit
    • Paul Brook's avatar
      2006-08-30 Paul Brook <paul@codesourcery.com> · 672c8959
      Paul Brook authored
      	libgloss/
      	* arm/Makefile.in: Change armv7m linker script generation.  Add
      	armv7m.spec.  Build armv7m-crt0.o.
      	* arm/arm.sc: New file.
      	* arm/armv7m.specs: New file.
      	* arm/crt0.S: Add armv7m code.
      	* arm/elf-lm3s10x.ld: Remove.
      	* arm/elf-lm3s301.ld: Remove.
      	* arm/elf-lm3s31x.ld: Remove.
      	* arm/swi.h (do_AngelSWI): Add definition.
      	* arm/syscalls.c: Merge lazy semihosting initialization from newlib.
      
      	newlib/
      	* libc/sys/arm/crt0.S: Add armv7m rom startup code.
      672c8959
  18. 29 Aug, 2006 3 commits
    • Paul Brook's avatar
      2006-08-29 Paul Brook <paul@codesourcery.com> · 2482516e
      Paul Brook authored
      	newlib/
      	* libc/sys/arm/_fault_isr.c (_fault_isr): Compile unconditionally.
      	* libc/sys/arm/_nmi_isr.c (_nmi_isr): Ditto.
      2482516e
    • Paul Brook's avatar
      2006-08-29 Paul Brook <paul@codesourcery.com> · 66d05b6b
      Paul Brook authored
      	newlib/
      	* acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Remove.
      	* configure.in: Remove --disable-newlib-atexit-dynamic-alloc.
      	* libc/stdlib/__atexit.c (__register_exitproc): Use weak reference to
      	malloc.  Only allocate dynamically if it is present.
      	* libc/stdlib/__call_atexit.c (__call_exitprocs): Use weak reference
      	to free.
      	* configure: Regenerate.
      	* newlib.hin: Regenerate.
      66d05b6b
    • Paul Brook's avatar
      2006-08-29 Paul Brook <paul@codesourcery.com> · 2f7ae073
      Paul Brook authored
      	newlib/
      	* libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
      2f7ae073
  19. 25 Aug, 2006 1 commit
    • Nathan Sidwell's avatar
      libgloss/ · 75d41cd8
      Nathan Sidwell authored
      	* m68k/Makefile.in (DBUG_BSP, DBUG_OBJS): Remove.
      	(BDM_CRT0): New.
      	(BDM_OBJS): Add bdm-crt1.o.
      	(BDM_OTHER_OBJS): Remove print.o putnum.o
      	(CF_BOARDS): New.
      	(CF_BDM_SCRIPTS): Generated name of ram scripts.
      	(CF_ROM_SCRIPTS): Generated name of rom scripts.
      	(CF_SCRIPTS): Adjust.
      	(all): Add BDM_CRT0.
      	(bdm-crt0.o, bdm-crt1.o): New targets.
      	(bdm-isv.o): Remove.
      	(m5208evb, m5213evb, m52235evb, m5235evb, m5273c3, m5282evb,
      	m5329evb, m5485evb): New.
      	(%-bdm.ld, %-rom.ld): New. Replace individual linker script rules.
      	(install): Remove DBUG installs.
      	* m68k/bdm-crt0.S: New.
      	* m68k/bdm-crt1.c: New.
      	* m68k/bdm-exit.c: Call __reset.
      	* m68k/bdm-isv.c: Remove.
      	* m68k/cf.sc: Adjust to produce either rom or ram images.
      	* m68k/dbug-exit.S, m68k/dbug-inbyte.S, m68k/dbug-outbyte.S: Remove.
      75d41cd8
  20. 22 Aug, 2006 1 commit
  21. 14 Aug, 2006 1 commit
  22. 24 Jul, 2006 2 commits
    • Nathan Sidwell's avatar
      add bug number · 9fae06d5
      Nathan Sidwell authored
      9fae06d5
    • Nathan Sidwell's avatar
      libgloss/ · 068c3704
      Nathan Sidwell authored
      	* m68k/cf.sc: Set entry point to _start.
      	* m68k/crt0.X (_start): New name for entrypoint
      	(start): Weak alias for start.
      068c3704
  23. 23 Jun, 2006 1 commit
    • Mark Mitchell's avatar
      Issue #754 · 1f0a227c
      Mark Mitchell authored
      	libgloss/
      	* arm/elf-lm3s301.ld: Include cm3.ld.
      	* arm/elf-lm3s31x.ld: Likewise.
      1f0a227c
  24. 13 Jun, 2006 1 commit
    • Mark Mitchell's avatar
      Issue #733 · d8531e52
      Mark Mitchell authored
      	libgloss/
      	* arm/Makefile.in (LMS_SCRIPTS): Add lm3s301.ld and lm3s31x.ld.
      d8531e52
  25. 09 Jun, 2006 2 commits