Changeset 5f92a6a3 in rtems


Ignore:
Timestamp:
Apr 30, 1998, 4:45:08 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
3d4e5906
Parents:
990f857
Message:

Modified objcopy invocation to ignore more sections.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • make/custom/pc386.cfg

    r990f857 r5f92a6a3  
    8686else
    8787define make-exe
    88         $(CC) $(CFLAGS) $(CFLAGS_LD) -Ttext $(RELOCADDR) -o $(basename $@).obj $(LINK_OBJS)
    89         $(OBJCOPY) -O a.out-i386 --remove-section=.rodata --strip-unneeded \
    90           $(basename $@).obj $@
     88        $(CC) $(CFLAGS) $(CFLAGS_LD) -Wl,-Ttext -Wl,$(RELOCADDR) \
     89            -o $(basename $@).obj $(LINK_OBJS)
     90        $(OBJCOPY) -O a.out-i386 \
     91            --remove-section=.rodata \
     92            --remove-section=.comment \
     93            --remove-section=.note \
     94            --strip-unneeded $(basename $@).obj $@
    9195        $(OBJCOPY) -O binary $(basename $@).obj $(basename $@).bin
    9296        $(PROJECT_TOOLS)/bin2boot -v $(basename $@).bt $(HEADERADDR)\
Note: See TracChangeset for help on using the changeset viewer.