Use $(NM) -g -n instead of $(NM) -n.

This commit is contained in:
Ralf Corsepius
2007-01-18 10:21:00 +00:00
parent 5ef125f5f3
commit ee8282993f
6 changed files with 6 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ define make-exe
-Wl,-Map,$(basename $@).map \
$(LDLIBS) -o $@ \
$(LINK_OBJS) $(LINK_LIBS)
$(NM) -n $@ > $(basename $@).num
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef

View File

@@ -32,7 +32,7 @@ define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Map,$(basename $@).map \
$(LDLIBS) -o $@ \
$(LINK_OBJS) $(LINK_LIBS)
$(NM) -n $@ > $(basename $@).num
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef

View File

@@ -39,7 +39,7 @@ define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Map,$(basename $@).map \
$(LDLIBS) -o $@ \
$(LINK_OBJS) $(LINK_LIBS)
$(NM) -n $@ > $(basename $@).num
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef

View File

@@ -27,7 +27,7 @@ define make-exe
$(OBJCOPY) -O srec $@ $(basename $@).srec1
$(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec
$(RM) $(basename $@).srec1
$(NM) -n $@ > $(basename $@).num
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef

View File

@@ -27,7 +27,7 @@ define make-exe
$(OBJCOPY) -O srec $@ $(basename $@).srec1
$(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec
$(RM) $(basename $@).srec1
$(NM) -n $@ > $(basename $@).num
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef

View File

@@ -39,7 +39,7 @@ define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Map,$(basename $@).map \
$(LDLIBS) -o $@ \
$(LINK_OBJS) $(LINK_LIBS)
$(NM) -n $@ > $(basename $@).num
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef