Skip to content

Commit

Permalink
Produce a sorted list of all local symbols in the map file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Brown committed Apr 27, 2005
1 parent d6930e6 commit 81e4755
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Makefile
Expand Up @@ -72,10 +72,12 @@ AR ?= $(CROSS_COMPILE)ar
RANLIB ?= $(CROSS_COMPILE)ranlib
OBJCOPY ?= $(CROSS_COMPILE)objcopy
NM ?= $(CROSS_COMPILE)nm
OBJDUMP ?= $(CROSS_COMPILE)objdump
PARSEROM ?= $(PERL) ./util/parserom.pl
MAKEROM ?= $(PERL) ./util/makerom.pl
MKCONFIG ?= $(PERL) ./util/mkconfig.pl
SYMCHECK ?= $(PERL) ./util/symcheck.pl
SORTOBJDUMP ?= $(PERL) ./util/sortobjdump.pl
NRV2B ?= ./util/nrv2b

# Location to place generated files
Expand Down
1 change: 1 addition & 0 deletions src/Makefile.housekeeping
Expand Up @@ -283,6 +283,7 @@ blib : $(BLIB)
$(BIN)/%.tmp : $(BLIB) $(MAKEDEPS) $(LDSCRIPT)
$(LD) $(LDFLAGS) -T $(LDSCRIPT) $(TGT_LD_FLAGS) $(BLIB) -o $@ \
-Map $(BIN)/$*.tmp.map
$(OBJDUMP) -ht $@ | $(SORTOBJDUMP) >> $(BIN)/$*.tmp.map

# Show a linker map for the specified target
#
Expand Down

0 comments on commit 81e4755

Please sign in to comment.