Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>.

to address m68k-rtemself for the MVME167.

    Here is the rtems patch I promissed you a long time ago to enable ELF
    with m68k. The target name I selected is m68k-rtemself. It preserves the
    m68k-rtems COFF target, and is parterned after the other ELF/COFF dual
    targets.

    The mvme167.cfg file causes the -qelf flag to be used during compilation
    if the name of the compiler contains rtemself. This flag is used in the
    bsp_specs file to select the elflinkcmds file rather than the linkcmds
    file. The former is for ELF, the latter for COFF.

    Some patches are required to the mc68040 FPSP code. Some of the
    assembler files contain instructions that were rejected by the
    m68k-rtemself-as assembler.  This is a minor bug in the m68k ELF
    assembler, I think.
This commit is contained in:
Joel Sherrill
1999-07-26 22:11:02 +00:00
parent 220ad7de67
commit 54f440d311
9 changed files with 23 additions and 16 deletions

View File

@@ -27,7 +27,7 @@ extern rtems_configuration_table BSP_Configuration;
extern rtems_cpu_table Cpu_table;
/* Initialize C++ global Ctor/Dtor and initializes exception handling. */
#ifdef USE_INIT_FINI
#if defined(USE_INIT_FINI)
extern void _fini( void );
extern void _init( void );
#endif