Changeset d386bce in rtems


Ignore:
Timestamp:
Dec 18, 2017, 7:54:08 PM (3 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
5, master
Children:
0fd617e2
Parents:
daa24ef
git-author:
Joel Sherrill <joel@…> (12/18/17 19:54:08)
git-committer:
Joel Sherrill <joel@…> (12/19/17 17:06:36)
Message:

pc386: Simplify bsp_specs

If this has any issues, check that the change in linking the
16-bit startup code in Makefile.am generates the same code.
This was odd code and didn't need the RTEMS linkcmds anyway.

Updates #3520.

Location:
c/src/lib/libbsp/i386/pc386
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/Makefile.am

    rdaa24ef rd386bce  
    5353
    5454start16-elf32.$(OBJEXT): start16.$(OBJEXT)
    55         $(LD) -N -T $(top_srcdir)/startup/linkcmds -Ttext $(START16ADDR) -e start16 -nostdlib \
     55        $(LD) -N -Ttext $(START16ADDR) -e start16 -nostdlib \
    5656          --oformat=elf32-i386 \
    5757        -o $@ $<
  • c/src/lib/libbsp/i386/pc386/bsp_specs

    rdaa24ef rd386bce  
    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: start.o%s crti.o%s crtbegin.o%s -e start}}
    8 
    9 *link:
    10 %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
     6%{!nostdlib: %{qrtems: crti.o%s crtbegin.o%s}}
    117
    128*endfile:
  • c/src/lib/libbsp/i386/pc386/startup/linkcmds

    rdaa24ef rd386bce  
    1414              "elf32-i386")
    1515OUTPUT_ARCH(i386)
    16 ENTRY(_start)
    1716*/
     17STARTUP(start.o)
     18ENTRY(start)
    1819HeapSize = DEFINED(HeapSize) ? HeapSize :
    1920          DEFINED(_HeapSize) ? _HeapSize : 0x0;
Note: See TracChangeset for help on using the changeset viewer.