Changeset 7123d3b in rtems


Ignore:
Timestamp:
May 4, 1998, 1:19:29 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d37ea462
Parents:
47d1f5d
Message:

Modified objcopy to remove extra sections.

Modified gcc 2.8 style link rule to provide start address correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • make/custom/pc386.cfg

    r47d1f5d r7123d3b  
    7575           -o $(basename $@).obj \
    7676           $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
    77         $(OBJCOPY) -O a.out-i386 --remove-section=.rodata --strip-unneeded \
    78           $(basename $@).obj $@
     77        $(OBJCOPY) -O a.out-i386 \
     78            --remove-section=.rodata \
     79            --remove-section=.comment \
     80            --remove-section=.note \
     81            --strip-unneeded $(basename $@).obj $@
    7982        $(OBJCOPY) -O binary $(basename $@).obj $(basename $@).bin
    8083        $(PROJECT_TOOLS)/bin2boot -v $(basename $@).bin $(HEADERADDR)\
     
    8689else
    8790define make-exe
    88         $(CC) $(CFLAGS) $(CFLAGS_LD) -Wl,-Ttext -Wl,$(RELOCADDR) \
     91        $(CC) $(CFLAGS) $(CFLAGS_LD) -Wl,-Ttext,$(RELOCADDR) \
    8992            -o $(basename $@).obj $(LINK_OBJS)
    9093        $(OBJCOPY) -O a.out-i386 \
Note: See TracChangeset for help on using the changeset viewer.