Changeset 2f7a25c in rtems


Ignore:
Timestamp:
Dec 20, 2017, 8:38:28 PM (22 months ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
f3ce8f41
Parents:
0738a84
git-author:
Joel Sherrill <joel@…> (12/20/17 20:38:28)
git-committer:
Joel Sherrill <joel@…> (12/20/17 21:19:17)
Message:

beatnik, motorola_powerpc, mvme3100, mvme5500: Simplify bsp_specs

This collection of BSPs shared the linker script shared/startup/linkcmds.
I renamed that ot shared/startup/linkcmds.share and made a BSP family
specific startup/linkcmds. This was needed because each BSP family had
a different combination of start file name, undefined symbols, etc.

Updates #3520.

Location:
c/src/lib/libbsp/powerpc
Files:
4 added
12 edited
1 moved

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/beatnik/Makefile.am

    r0738a84 r2f7a25c  
    5151#startup
    5252
    53 dist_project_lib_DATA += ../shared/startup/linkcmds
     53dist_project_lib_DATA += ../shared/startup/linkcmds.share
     54dist_project_lib_DATA += startup/linkcmds
    5455
    5556noinst_LIBRARIES = libbsp.a
  • c/src/lib/libbsp/powerpc/beatnik/bsp_specs

    r0738a84 r2f7a25c  
    11%rename endfile old_endfile
    22%rename startfile old_startfile
    3 %rename link old_link
    43
    54*startfile:
    65%{!qrtems: %(old_startfile)} \
    7 %{!nostdlib: %{qrtems:  ecrti%O%s rtems_crti%O%s crtbegin.o%s -e __rtems_entry_point -u __vectors motld_start.o%s}}
     6%{!nostdlib: %{qrtems:  ecrti%O%s rtems_crti%O%s crtbegin.o%s}}
    87
    98*endfile:
    109%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}
    11 
    12 *link:
    13 %{!qrtems: %(old_link)} %{qrtems: -dp -Bstatic}
  • c/src/lib/libbsp/powerpc/beatnik/preinstall.am

    r0738a84 r2f7a25c  
    6262TMPINSTALL_FILES += $(PROJECT_LIB)/motld_start.$(OBJEXT)
    6363
    64 $(PROJECT_LIB)/linkcmds: ../shared/startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
     64$(PROJECT_LIB)/linkcmds.share: ../shared/startup/linkcmds.share $(PROJECT_LIB)/$(dirstamp)
     65        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.share
     66PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.share
     67
     68$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
    6569        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
    6670PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
  • c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am

    r0738a84 r2f7a25c  
    3434project_lib_DATA += vectors_entry.$(OBJEXT)
    3535
    36 dist_project_lib_DATA += ../shared/startup/linkcmds
     36dist_project_lib_DATA += ../shared/startup/linkcmds.share
     37dist_project_lib_DATA += startup/linkcmds
    3738
    3839noinst_LIBRARIES += libbsp.a
  • c/src/lib/libbsp/powerpc/motorola_powerpc/bsp_specs

    r0738a84 r2f7a25c  
    11%rename endfile old_endfile
    22%rename startfile old_startfile
    3 %rename link old_link
    43
    54*startfile:
    65%{!qrtems: %(old_startfile)} \
    7 %{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s \
    8   vectors_entry%O%s start.o%s -e __rtems_entry_point -u __vectors}}
     6%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s}}
    97
    108*endfile:
    119%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}
    12 
    13 *link:
    14 %{!qrtems: %(old_link)} %{qrtems: -dp -Bstatic}
  • c/src/lib/libbsp/powerpc/motorola_powerpc/preinstall.am

    r0738a84 r2f7a25c  
    7070TMPINSTALL_FILES += $(PROJECT_LIB)/vectors_entry.$(OBJEXT)
    7171
    72 $(PROJECT_LIB)/linkcmds: ../shared/startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
     72$(PROJECT_LIB)/linkcmds.share: ../shared/startup/linkcmds.share $(PROJECT_LIB)/$(dirstamp)
     73        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.share
     74PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.share
     75
     76$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
    7377        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
    7478PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
  • c/src/lib/libbsp/powerpc/mvme3100/Makefile.am

    r0738a84 r2f7a25c  
    4343project_lib_DATA += rtems_crti.$(OBJEXT)
    4444
    45 dist_project_lib_DATA += ../shared/startup/linkcmds
     45dist_project_lib_DATA += ../shared/startup/linkcmds.share
     46dist_project_lib_DATA += startup/linkcmds
    4647
    4748noinst_LIBRARIES = libbsp.a
  • c/src/lib/libbsp/powerpc/mvme3100/bsp_specs

    r0738a84 r2f7a25c  
    11%rename endfile old_endfile
    22%rename startfile old_startfile
    3 %rename link old_link
    43
    54*startfile:
    65%{!qrtems: %(old_startfile)} \
    7 %{!nostdlib: %{qrtems:  ecrti%O%s rtems_crti%O%s crtbegin.o%s -e __rtems_entry_point -u __vectors motld_start.o%s}}
     6%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s}}
    87
    98*endfile:
    109%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}
    11 
    12 *link:
    13 %{!qrtems: %(old_link)} %{qrtems: -dp -Bstatic}
  • c/src/lib/libbsp/powerpc/mvme3100/preinstall.am

    r0738a84 r2f7a25c  
    6262TMPINSTALL_FILES += $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
    6363
    64 $(PROJECT_LIB)/linkcmds: ../shared/startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
     64$(PROJECT_LIB)/linkcmds.share: ../shared/startup/linkcmds.share $(PROJECT_LIB)/$(dirstamp)
     65        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.share
     66PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.share
     67
     68$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
    6569        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
    6670PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
  • c/src/lib/libbsp/powerpc/mvme5500/Makefile.am

    r0738a84 r2f7a25c  
    1717noinst_PROGRAMS =
    1818
    19 ###
    20 dist_project_lib_DATA += ../shared/startup/linkcmds
     19dist_project_lib_DATA += ../shared/startup/linkcmds.share
     20dist_project_lib_DATA += startup/linkcmds
    2121
    2222noinst_LIBRARIES = libbsp.a
  • c/src/lib/libbsp/powerpc/mvme5500/bsp_specs

    r0738a84 r2f7a25c  
    11%rename endfile old_endfile
    22%rename startfile old_startfile
    3 %rename link old_link
    43
    54*startfile:
    65%{!qrtems: %(old_startfile)} \
    7 %{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s -e __rtems_entry_point -u __vectors mvme5500start.o%s}}
     6%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s}}
    87
    98*endfile:
    109%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}
    11 
    12 *link:
    13 %{!qrtems: %(old_link)} %{qrtems: -dp -Bstatic}
  • c/src/lib/libbsp/powerpc/mvme5500/preinstall.am

    r0738a84 r2f7a25c  
    5454PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/bootcard.h
    5555
    56 $(PROJECT_LIB)/linkcmds: ../shared/startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
     56$(PROJECT_LIB)/linkcmds.share: ../shared/startup/linkcmds.share $(PROJECT_LIB)/$(dirstamp)
     57        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.share
     58PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.share
     59
     60$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
    5761        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
    5862PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
  • c/src/lib/libbsp/powerpc/shared/startup/linkcmds.share

    r0738a84 r2f7a25c  
    22              "elf32-powerpc")
    33OUTPUT_ARCH(powerpc)
    4 ENTRY(_start)
    54/* Do we need any of these for elf?
    65   __DYNAMIC = 0;    */
Note: See TracChangeset for help on using the changeset viewer.