Commit Graph

4281 Commits

Author SHA1 Message Date
Joel Sherrill
98165e21b7 Check that context control overlay is big enough. 2000-06-10 18:36:48 +00:00
Joel Sherrill
c5fe7cf65c Patch rtems-rc-4.5.0-27-cvs from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to remove syntactically incorrect else code that was technically
unneeded anyway.
2000-06-09 18:45:23 +00:00
Joel Sherrill
c580598529 Configure a default interrupt stack size. 2000-06-08 01:37:04 +00:00
Joel Sherrill
8b9aa32d5b Added -DUSE_INIT_FINI so they should be able to run C++ tests. 2000-06-07 13:34:55 +00:00
Joel Sherrill
423fb5ac8c Changed patch version for newlib to include Ralf's fixes for
install shell script problems.
2000-06-07 13:31:52 +00:00
Joel Sherrill
b790e3990f Changed distribution version. 2000-06-07 13:31:22 +00:00
Joel Sherrill
b24ef52626 Do not include config.sub and config.guess in distribution. scripts
must be loaded as a subdirectory of an RTEMS release.
2000-06-07 13:31:06 +00:00
Joel Sherrill
68638f0519 Added attributes of allocatable and executable to .reset and .initial
sections so they are disassembled by objdump and loaded by gdb.
2000-06-07 13:29:46 +00:00
Joel Sherrill
1a632e8e73 -T linkcmds now part of %lib rule so %link rule can more easily honor
the CPU model library linking rules built into gcc.
2000-06-07 13:27:40 +00:00
Joel Sherrill
259397cc88 Added *spec.in since they are now automatically generated from the *.add
files.
2000-06-07 13:23:46 +00:00
Joel Sherrill
bdf9a99415 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
gccnewlib.add applies find -path=... which might cause files.gcc
  getting corrupted.

  This seems to be gnu-find specific and doesn't seem to be supported
  by Solaris find (/usr/bin/find). I didn't see this because I use
  gnu-find even under Solaris (/amd/bin/find under our Solaris
  installation).
  This causes the first call to find in gccnewlib.add to deliver
  incorrect results and may result into incorrectly setting up the
  files.* files, esp. files.gcc.
2000-06-06 13:44:18 +00:00
Joel Sherrill
19f4540ee5 Updated patch versions. 2000-06-02 20:13:51 +00:00
Joel Sherrill
fd16f5b587 Patch from Keith Outwater <vac4050@cae597.rsc.raytheon.com> to rename
webserver trace() routine to goahead_trace() to avoid name conflicts
with ncurses.
2000-06-01 21:50:37 +00:00
Joel Sherrill
e89694ee7e Distributed the preinstall of the header files to the directories
owning the header files.
2000-05-31 22:31:26 +00:00
Joel Sherrill
322c894c08 Patch to:
1. Fixes a typo in the code conditionalized by GEN68360_WITH_SRAM
  2. Mods the code to add support for an additional bank of SRAM (needed more RAM
     to run the web server!)

From <vac4050@cae597.rsc.raytheon.com> reviewed by Eric Norum <eric@cls.usask.ca>.
2000-05-31 15:27:40 +00:00
Joel Sherrill
3081446337 Patch rtems-rc-4.5.0-25.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
multilib handling issues.
2000-05-31 15:24:43 +00:00
Joel Sherrill
db07e68798 Update from John S. Gwynne <jsg@jsgpc.mrcday.com> that:
* updated README
     * improved misc script for running the RTEMS test programs
     * Updated 332 SIM configuration in start.c
     * C++ global constructor fix (USE_INIT_FINI)
     * change __end_of_ram to _RamEnd to match changes by others
2000-05-31 15:05:55 +00:00
Joel Sherrill
0adfb21347 Added -DUSE_INIT_FINI to all m68k and PowerPC BSPs. 2000-05-31 15:01:48 +00:00
Joel Sherrill
fe4edc8ccf Include clockdrv.h and console.h per Frank Szczerba <frank@wmi.com>. 2000-05-31 14:14:27 +00:00
Joel Sherrill
6a8700de5f Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to:
This is the diff to let gcc-target-default.cfg use LINK.c -Wl,-r
  instead of LD -r for building *.rels.

  BTW: gcc -r works but seems to be undocumented, however
       as gcc -r -v shows it seems to works. Now I am using -Wl,-r :-)
2000-05-31 13:35:08 +00:00
Joel Sherrill
75061954c1 Patch from Nick Simon <Nick.SIMON@syntegra.bt.co.uk> to make
error.h C++ safe.
2000-05-30 14:07:37 +00:00
Joel Sherrill
a3f5b6be31 Added a special CPU model of "rtems_multilib". This is the beginnings
of an experiment to determine what it will take to multilib most of
RTEMS per GNU multilib conventions.  It is thought that only
interrupt processing and IO are not multlib-able.  This means that
a BSP Kit should include IRQ processing from score/cpu, all peripheral
support (header files from score/cpu, libchip, and libcpu), and the
BSPs themselves.  The rest of RTEMS should be multlib-able.  But to do
this, all RTEMS CPU model feature flags must be derivable from gcc
cpp predefines.  By configuring the bare bsp with the rtems_multilib
CPU model, you can try any combination of CPU CFLAGS and see well how the
logic in that section of the <CPU>.h works.   Once all CPU multilib
variations can be built, then RTEMS proper can be multilib'ed and
separated from the BSPs.
2000-05-28 20:14:45 +00:00
Joel Sherrill
63cf252f31 Patch rtems-rc-4.5.0-21.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which splits the current monolithic specs files into a sequence of
subparts.  These can be concatenated togather to make a the whole .spec
file.  This cleans up the maintenance problem of having "all languages"
and a "C/C++ only" gccnewlib spec files.  Plus it should make it easier
to produce variants like the gdb-m68k-bdm which require special hackery. :)
Ralf's comments:

  It addresses the way *.spec.in get composed inside of the source
  tree.

  Changes:
    * Each spec.in is broken into several files (*.add), one *.add file
      per sub-package.
    * Each Makefile.am composes spec.ins from the *.add files
    * Removal of redundant automake support files.
    * Default value for BuildRoot changed to /tmp/<spec-file-name>
    * %clean stage added to *specs

  Advantages (IMHO).
    * The *.add files are easier to adminstrate and more flexible in
      comparison to the former *.specs.ins.
    * gccnewlib_c_only.spec.in now is composed from the same sources as
      gccnewlib.spec.in (less errors)
    * If using the default BuildRoot --clean now deletes all files that
      were generated while building.

  Notes:
    * rtems.spec.in has not yet been adapted to the scheme used for the
      other *spec.ins
    * Except for cosmetical changes the internals of the  *.spec files
      should not have changed.

  To Apply:
    cvs rm -f scripts/binutils/binutils.spec.in
    cvs rm -f scripts/gccnewlib/gccnewlib.spec.in
    cvs rm -f scripts/gccnewlib/gccnewlib_c_only.spec.in
    cvs rm -f scripts/gdb/gdb.spec.in
    cvs rm -f scripts/config.sub
    cvs rm -f scripts/config.guess
    cvs rm -f scripts/install-sh
    cvs rm -f scripts/mkinstalldirs
    cvs rm -f scripts/missing

    patch -p1 < rtems-rc-4.5.0-21.diff

    cvs add scripts/*/*.add
    cvs add scripts/*/README
2000-05-28 18:14:55 +00:00
cvs2git
22095e222d This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-28 18:03:55 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'Added on 4.5 branch':
    scripts/binutils/base-binutils.add
    scripts/binutils/binutils.add
    scripts/binutils/target-binutils.add
    scripts/gccnewlib/base-chill.add
    scripts/gccnewlib/base-g77.add
    scripts/gccnewlib/base-gcc.add
    scripts/gccnewlib/base-gcj.add
    scripts/gccnewlib/gccnewlib.add
    scripts/gccnewlib/target-chill.add
    scripts/gccnewlib/target-g77.add
    scripts/gccnewlib/target-gcc.add
    scripts/gccnewlib/target-gcj.add
    scripts/gccnewlib/target-objc.add
    scripts/gdb/base-gdb.add
    scripts/gdb/gdb.add
    scripts/gdb/target-gdb.add
2000-05-28 18:03:56 +00:00
Joel Sherrill
559cf7684d Updated newlib version which bumped the gnatnewlib version. 2000-05-28 17:53:39 +00:00
Joel Sherrill
5bd07d40e3 Updated newlib, gdb, and gcc patch versions which bumped the RPM release
of gccnewlib and gdb.
2000-05-28 17:53:16 +00:00
Joel Sherrill
19de118930 New version number. 2000-05-28 17:52:48 +00:00
Joel Sherrill
d102375e79 Removed definition of PPC_ABI and PPC_ASM as there are now defaults
that reflect the GNU toolset.
2000-05-28 17:52:30 +00:00
Joel Sherrill
dd72009e4e Added casts to avoid warnings. 2000-05-28 17:49:21 +00:00
Joel Sherrill
1d89b75c96 Removed more warnings. In particular added ifdef's on IPV6 for
variables only used in IPV6.
2000-05-28 17:47:39 +00:00
Joel Sherrill
f8d3664510 Added prototype of fdopen() since it is not strict ANSI and not
having a prototype caused warnings.
2000-05-28 17:46:40 +00:00
Joel Sherrill
9c948846fa Added cast to remove warning. 2000-05-28 17:45:55 +00:00
Joel Sherrill
96efaf679b Renamed delay() to avoid conflicts since it is a common name that
was in particular used by the ttcp test.
2000-05-28 17:45:17 +00:00
Joel Sherrill
3704a9a149 Added defaults for PPC_ABI and PPC_ASM so every PowerPC does not
have to define them to their default value.  The default values
reflect the ABI and Assembly format of the current GNU tools.
2000-05-28 17:43:00 +00:00
Joel Sherrill
cfca5dba95 Removed warning by adding return NULL. 2000-05-28 17:42:03 +00:00
Joel Sherrill
9d05d68fe6 Changed sed command to avoid severe limitations in Solaris /bin/sed.
Detected by Joel after multiple reports on the rtems-users mailing
list.  Final fix from Ralf Corsepius.
2000-05-28 17:41:43 +00:00
Joel Sherrill
05ff78ab00 Added INSTALL_CHANGE and INSTALL_VARIANT information. 2000-05-26 17:49:52 +00:00
Joel Sherrill
09c16269d9 Significant updates. 2000-05-26 17:17:40 +00:00
Joel Sherrill
3050704fa5 Corrected old-style usage of TARGET_ARCH. 2000-05-26 17:16:37 +00:00
Joel Sherrill
fa9b9f512b Corrected resource requirements. 2000-05-25 19:49:34 +00:00
Joel Sherrill
a12793743a Removed warning. 2000-05-25 17:17:35 +00:00
Joel Sherrill
60a3213b13 Increased memory reserved for stack requirements. 2000-05-25 16:06:30 +00:00
Joel Sherrill
f3b1664f51 Increased resources configured. 2000-05-25 16:04:37 +00:00
Joel Sherrill
c94c2518de Update from Stephan Wilms <Stephan.Wilms@CWA.de> that adds autodetection.
What I implemented in this new driver version is, that the driver will
first probe for a DEC21140 card and use it if found. If not found it
will probe for a DEC21143 card and use that if found. This removes the
need for defining/undefining a macro (as was required with my previous
version). I tested the driver with my 21143 card using netdemo and it
apears to work just fine.

Here are some cases that I did not test, mainly because I do not have
the required testing hardware:
   - I did not enhance or test PPC support
   - I did not test DEC21140 support
   - I did not use other test software than netdemo
2000-05-25 13:42:00 +00:00
Joel Sherrill
64bddf48af Patch to remove warnings from Eric Norum <eric@cls.usask.ca>. 2000-05-25 13:19:49 +00:00
Joel Sherrill
646decbd61 Patch from Nick Simom (Nick.SIMON@syntegra.bt.co.uk) so eth_comm
can return to start code without faulting.
2000-05-24 17:11:24 +00:00
Joel Sherrill
09b6a0938e Significantly lowered the default memory requirements:
- CONFIGURE_RTEMS_INIT_TASKS_TABLE was 10 now 0
    - CONFIGURE_POSIX_INIT_THREAD_TABLE was 10 now 0
    - CONFIGURE_ITRON_INIT_TASK_TABLE was 10 now 0
    - CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS was 20 now 3
    - added CONFIGURE_NUMBER_OF_TERMIOS_PORTS and defaulted to 1
    - added CONFIGURE_TERMIOS_DISABLED defaulted to "enabled"
    - miniIMFS is now the default

Added configuration error checks that:
  + Ensure > 0 tasks/threads are configured
  + Ensure at least one inititalization task/thread is defined

bsp.h now defines these so BSP specific requirements
are accounted for.
  + CONFIGURE_NUMBER_OF_TERMIOS_PORTS
  + CONFIGURE_INTERRUPT_STACK_MEMORY

console_reserve_resources and rtems_termios_reserve_resources
are no longer required and considered obsolete.  Calls to
rtems_termios_reserve_resources have been eliminated although
the routine is still there and the body "if 0'ed".

We are very close to having NO reason to modify the
configuration tables in the BSP.  Be warned that eventually
we would like to see the need for BSP_Configuration
eliminated!
2000-05-24 17:06:54 +00:00
Joel Sherrill
9a03459c44 Significantly lowered the default memory requirements:
- CONFIGURE_RTEMS_INIT_TASKS_TABLE was 10 now 0
    - CONFIGURE_POSIX_INIT_THREAD_TABDE was 10 now 0
    - CONFIGURE_ITRON_INIT_TASK_TABLE was 10 now 0
    - CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS was 20 now 3
    - added CONFIGURE_NUMBER_OF_TERMIOS_PORTS and defaulted to 1
    - added CONFIGURE_TERMIOS_DISABLED defaulted to "enabled"
    - miniIMFS is now the default

Added configuration error checks that:
  + Ensure > 0 tasks/threads are configured
  + Ensure at least one inititalization task/thread is defined

bsp.h now defines these so BSP specific requirements
are accounted for.
  + CONFIGURE_NUMBER_OF_TERMIOS_PORTS
  + CONFIGURE_INTERRUPT_STACK_MEMORY

console_reserve_resources and rtems_termios_reserve_resources
are no longer required and considered obsolete.  Calls to
rtems_termios_reserve_resources have been eliminated although
the routine is still there and the body "if 0'ed".

We are very close to having NO reason to modify the
configuration tables in the BSP.  Be warned that eventually
we would like to see the need for BSP_Configuration
eliminated!
2000-05-24 17:06:37 +00:00
Joel Sherrill
d38427f158 Handle mp variants better. 2000-05-24 17:01:13 +00:00
Joel Sherrill
77989a586e Make sure debug variant output goes into a different log file. 2000-05-24 17:01:02 +00:00