diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-24 00:01:12 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-24 00:01:12 +0000 |
commit | 83082bf77aa69d8dd70ff612a4560fd677c4abff (patch) | |
tree | ee8b676d043ad84880e14ebb772cb43a3ac0869e /misc/buildroot | |
parent | 42f9362d51ed85cac57b7fc8cf6f29006f8b2768 (diff) | |
download | px4-nuttx-83082bf77aa69d8dd70ff612a4560fd677c4abff.tar.gz px4-nuttx-83082bf77aa69d8dd70ff612a4560fd677c4abff.tar.bz2 px4-nuttx-83082bf77aa69d8dd70ff612a4560fd677c4abff.zip |
Remove unsed libraries and variables
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1936 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/buildroot')
-rw-r--r-- | misc/buildroot/toolchain/nxflat/Makefile | 2 | ||||
-rw-r--r-- | misc/buildroot/toolchain/nxflat/ldnxflat.c | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/misc/buildroot/toolchain/nxflat/Makefile b/misc/buildroot/toolchain/nxflat/Makefile index 93a0fa288..d60e540eb 100644 --- a/misc/buildroot/toolchain/nxflat/Makefile +++ b/misc/buildroot/toolchain/nxflat/Makefile @@ -34,7 +34,7 @@ ############################################################################ CFLAGS += -Wall -I. -I$(BINUTILS_DIR)/bfd -LDFLAGS += -L$(BINUTILS_DIR)/bfd -L$(BINUTILS_DIR)/libiberty +LDFLAGS += -L$(BINUTILS_DIR)/bfd # -L$(BINUTILS_DIR)/libiberty LIBS = -lbfd -liberty -lz LDNXFLAT_OBJS = ldnxflat.o diff --git a/misc/buildroot/toolchain/nxflat/ldnxflat.c b/misc/buildroot/toolchain/nxflat/ldnxflat.c index 30464fc48..4c1890da4 100644 --- a/misc/buildroot/toolchain/nxflat/ldnxflat.c +++ b/misc/buildroot/toolchain/nxflat/ldnxflat.c @@ -244,13 +244,8 @@ int ngot_offsets; /* Number of GOT offsets in got_offset ***********************************************************************/ static const char default_exe_entry_name[] = "_start"; -static const char dynpath_begin_name[] = "__dynpath_begin"; -static const char dynpath_end_name[] = "__dynpath_end"; -static const char dynexport_begin_name[] = "__dynexport_begin"; -static const char dynexport_end_name[] = "__dynexport_end"; static const char dynimport_begin_name[] = "__dynimport_begin"; static const char dynimport_end_name[] = "__dynimport_end"; -static const char dynloader_name[] = "__dynloader"; /*********************************************************************** * Private Functions @@ -1935,7 +1930,7 @@ static void parse_args(int argc, char **argv) break; case 'e': - entry_name = optarg; + entry_name = strdup(optarg); break; case 'o': |