summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-11-10 16:21:32 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-11-10 16:21:32 +0000
commit5033f39a3b2031ebadaa285d5671c9df33fb1465 (patch)
tree7d31850559b233dedd1d6d1b56232644c407d269 /include
parentefde15c57cd9279362d6c5878a70f971a1ba1869 (diff)
downloadATCD-5033f39a3b2031ebadaa285d5671c9df33fb1465.tar.gz
added ace_ld, drop-in replacement for ld that supports munching
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_vxworks5.x_g++.GNU8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/makeinclude/platform_vxworks5.x_g++.GNU b/include/makeinclude/platform_vxworks5.x_g++.GNU
index 7fc07031a86..01379582819 100644
--- a/include/makeinclude/platform_vxworks5.x_g++.GNU
+++ b/include/makeinclude/platform_vxworks5.x_g++.GNU
@@ -58,8 +58,9 @@ CFLAGS += -DVXWORKS -D_REENTRANT -ansi -fno-builtin -fno-defer-pop -fvo
CCFLAGS += $(CFLAGS) #### -fno-implicit-templates
DCFLAGS += -g
INCLDIRS += -I$(WIND_BASE)/target/h
-LD = ld$(TOOLENV)
-LDFLAGS += -X -r .obj/__ctordtor.o
+LD = $(ACE_ROOT)/etc/ace_ld -c "$(COMPILE.c) -traditional" \
+ -m "munch" -n "nm$(TOOLENV)" ld$(TOOLENV)
+LDFLAGS += -X -r
#### WindRiver only recommends -O, not -O2, with some CPUs, including
#### the i386 family.
OCFLAGS += -O
@@ -67,7 +68,6 @@ PIC =
AR = ar$(TOOLENV)
ARFLAGS = rv
RANLIB = /bin/true
-PRELINK = nm$(TOOLENV) .obj/$@.o $(MUNCHED) $(ACE_ROOT)/ace/libACE.a | munch | egrep -v '\.cpp' > __ctordtor.c; $(COMPILE.c) -traditional -o .obj/__ctordtor.o __ctordtor.c; /bin/rm __ctordtor.c;
VXWORKS = 1
#### ld can't handle INCLDIRS, so override LINK definitions.
@@ -75,5 +75,5 @@ LINK.c = override
LINK.c.override = $(LD) $(LDFLAGS) $(LDLIBS) $(LIBS)
LINK.cc = override
-LINK.cc.override = $(PRELINK) $(LD) $(PTDIRS)
+LINK.cc.override = $(LD)
POSTLINK = ; VX_CPU_FAMILY=$(TOOLENV) xsymDec < $@ > $@.sym