Changeset 9c266d2 in rtems


Ignore:
Timestamp:
02/11/09 16:20:10 (15 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.9
Children:
07d8cc54
Parents:
00ac31c4
Message:

2009-02-11 Till Straumann <strauman@…>

PR 1369/bsps

  • Makefile.am, configure.ac: Fix name clashes when using MC68040 fpsp floating-point emulation.
Location:
c/src/lib/libcpu/m68k
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/m68k/ChangeLog

    r00ac31c4 r9c266d2  
     12009-02-11      Till Straumann <strauman@slac.stanford.edu>
     2
     3        PR 1369/bsps
     4        * Makefile.am, configure.ac: Fix name clashes when using MC68040 fpsp
     5        floating-point emulation.
     6
    172008-09-08      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libcpu/m68k/Makefile.am

    r00ac31c4 r9c266d2  
    4141## m68040/fpsp
    4242noinst_PROGRAMS += m68040/fpsp.rel
    43 m68040_fpsp_rel_SOURCES = m68040/fpsp/rtems_fpsp.c m68040/fpsp/bindec.S \
     43noinst_PROGRAMS += m68040/fpsp_tmp.rel
     44m68040_fpsp_tmp_rel_SOURCES = m68040/fpsp/rtems_fpsp.c m68040/fpsp/bindec.S \
    4445    m68040/fpsp/binstr.S m68040/fpsp/bugfix.S m68040/fpsp/decbin.S \
    4546    m68040/fpsp/do_func.S m68040/fpsp/gen_except.S m68040/fpsp/get_op.S \
     
    5657    m68040/fpsp/x_store.S m68040/fpsp/x_unfl.S m68040/fpsp/x_unimp.S \
    5758    m68040/fpsp/x_unsupp.S
    58 m68040_fpsp_rel_CPPFLAGS = $(AM_CPPFLAGS)
    59 m68040_fpsp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     59m68040_fpsp_tmp_rel_CPPFLAGS = $(AM_CPPFLAGS)
     60m68040_fpsp_tmp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     61
     62# avoid name clashes and modifying the source by
     63# prefixing all (global) symbols in the binary
     64m68040/fpsp_tmp1.rel: m68040/fpsp_tmp.rel
     65        $(OBJCOPY) --prefix-symbols __fpsp_ $^ $@
     66
     67# Then remove the prefix again on all global
     68# symbols we really need:
     69m68040/fpsp.rel: m68040/fpsp_tmp1.rel
     70            $(OBJCOPY) --redefine-sym __fpsp_M68KFPSPInstallExceptionHandlers=M68KFPSPInstallExceptionHandlers --redefine-sym __fpsp_M68040FPSPUserExceptionHandlers=M68040FPSPUserExceptionHandlers --redefine-sym __fpsp__CPU_ISR_install_raw_handler=_CPU_ISR_install_raw_handler --redefine-sym __fpsp__FPSP_install_raw_handler=_FPSP_install_raw_handler $^ $@
    6071
    6172noinst_HEADERS = m68040/fpsp/fpsp.defs
  • c/src/lib/libcpu/m68k/configure.ac

    r00ac31c4 r9c266d2  
    2121RTEMS_CANONICALIZE_TOOLS
    2222RTEMS_PROG_CCAS
     23
     24RTEMS_CHECK_TOOL([OBJCOPY],[objcopy])
    2325
    2426# At this time all models should use the shared directory so do this
Note: See TracChangeset for help on using the changeset viewer.