aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-08-11 20:14:37 +0000
committerIan Lance Taylor <ian@airs.com>1993-08-11 20:14:37 +0000
commit29078b295d9e09b138b46e0732502a2159adbaf0 (patch)
treeffe35287aee0957f135477019cbaf509c42da498 /binutils
parent48c95e5b9f08a2a587c3f33d8544d2f8304481ab (diff)
downloadgdb-29078b295d9e09b138b46e0732502a2159adbaf0.zip
gdb-29078b295d9e09b138b46e0732502a2159adbaf0.tar.gz
gdb-29078b295d9e09b138b46e0732502a2159adbaf0.tar.bz2
* size.c (berkeley_sum): New function.
(bsssize, datasize, textsize): New global variables. (bss_section_name, data_section_name, text_section_name): Removed. (print_berkeley_format): Map berkeley_sum over all the sections, rather than only reporting sizes of specifically named sections. * Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog22
-rw-r--r--binutils/Makefile.in31
2 files changed, 47 insertions, 6 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 622eba0..f77c47c 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,25 @@
+Wed Aug 11 13:08:26 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * size.c (berkeley_sum): New function.
+ (bsssize, datasize, textsize): New global variables.
+ (bss_section_name, data_section_name, text_section_name): Removed.
+ (print_berkeley_format): Map berkeley_sum over all the sections,
+ rather than only reporting sizes of specifically named sections.
+ * Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.
+
+Tue Aug 10 10:46:01 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * nlmconv.c, nlmconv.h, nlmheader.y: New files for program to
+ convert object files into NetWare Loadable Modules.
+ * Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv.
+ (PROGS): Add NLMCONV_PROG.
+ (nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New
+ targets.
+
+Thu Aug 5 15:48:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
+
+ * Makefile.in: define MAKEOVERRIDES to an empty string
+
Wed Aug 4 17:08:08 1993 David J. Mackenzie (djm@thepub.cygnus.com)
* objcopy.c (copy_file): Make failures to process a file nonfatal.
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index a7e56db..e339dc5 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -47,7 +47,7 @@ SHELL = /bin/sh
INSTALL = `cd $(srcdir)/..;pwd`/install.sh -c
INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL)
-INSTALL_XFORM = $(INSTALL) -t='$(program_tranform_name)'
+INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
INSTALL_XFORM1 = $(INSTALL_XFORM) -b=.1
AR = ar
@@ -58,6 +58,7 @@ TEXI2DVI = texi2dvi
RANLIB = ranlib
BISONFLAGS = -d
TEXI2ROFF=texi2roff
+MAKEOVERRIDES=
NM_FOR_TARGET = nm
NM = $(NM_FOR_TARGET)
@@ -99,7 +100,9 @@ OBJDUMP_PROG=objdump
# This is the demangler, as a standalone program.
DEMANGLER_PROG=c++filt
-PROGS = $(SIZE_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRINGS_PROG) $(STRIP_PROG) $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG)
+NLMCONV_PROG=nlmconv
+
+PROGS = $(SIZE_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRINGS_PROG) $(STRIP_PROG) $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) $(NLMCONV_PROG)
STAGESTUFF = $(PROGS) *.o
# Files that can be generated, but should be in the distribution.
DISTSTUFF=arparse.c arlex.c
@@ -203,7 +206,7 @@ $(STRIP_PROG): $(ADDL_LIBS) objcopy.o is-strip.o $(BFD)
$(NM_PROG): $(ADDL_LIBS) nm.o $(BFD)
$(CC) $(LDFLAGS) $(CFLAGS) -o $(NM_PROG) nm.o $(ADDL_LIBS) $(EXTRALIBS)
-$(OBJDUMP_PROG): $(ADDL_LIBS) size.o objdump.o $(BFD) $(OPCODES)
+$(OBJDUMP_PROG): $(ADDL_LIBS) objdump.o $(BFD) $(OPCODES)
$(CC) $(LDFLAGS) $(CFLAGS) -o $(OBJDUMP_PROG) objdump.o $(OPCODES) $(ADDL_LIBS) $(EXTRALIBS)
underscore.c:
@@ -220,8 +223,8 @@ underscore.c:
cplus-dem.o: $(LIBIBERTY_SRC_DIR)/cplus-dem.c
$(CC) -c -DMAIN $(CFLAGS) $(INCLUDES) $(HDEFINES) $(TDEFINES) $(LIBIBERTY_SRC_DIR)/cplus-dem.c
-$(DEMANGLER_PROG): cplus-dem.o $(LIBIBERTY) underscore.o
- $(CC) $(LDFLAGS) $(CFLAGS) -o $(DEMANGLER_PROG) cplus-dem.o $(LIBIBERTY) $(EXTRALIBS) underscore.o
+$(DEMANGLER_PROG): cplus-dem.o $(LIBIBERTY) underscore.o version.o
+ $(CC) $(LDFLAGS) $(CFLAGS) -o $(DEMANGLER_PROG) cplus-dem.o $(LIBIBERTY) $(EXTRALIBS) underscore.o version.o
arparse.c:arparse.y
$(BISON) $(BISONFLAGS) $(srcdir)/arparse.y
@@ -258,6 +261,20 @@ objcopy_with_strip: $(ADDL_LIBS) objcopy.o maybe-strip.o $(BFD)
-rm -f $(STRIP_PROG)
-ln $(OBJCOPY_PROG) $(STRIP_PROG)
+nlmheader.c: nlmheader.y
+ $(BISON) $<
+ rm -f nlmheader.c
+ mv y.tab.c nlmheader.c
+
+nlmheader.o: nlmheader.c nlmconv.h $(BASEDIR)/include/nlm/common.h \
+ $(BASEDIR)/include/nlm/internal.h
+
+nlmconv.o: nlmconv.c nlmconv.h $(BASEDIR)/include/nlm/common.h \
+ $(BASEDIR)/include/nlm/internal.h $(BASEDIR)/bfd/libnlm.h
+
+$(NLMCONV_PROG): nlmconv.o nlmheader.o $(ADDL_LIBS) $(BFD)
+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ nlmconv.o nlmheader.o $(ADDL_LIBS) $(EXTRALIBS)
+
stage1: force
- mkdir stage1
- mv -f $(STAGESTUFF) stage1
@@ -371,7 +388,7 @@ realclean: distclean
etags tags: TAGS
TAGS: force
- etags $(INCDIR)/*.h $(BFDSRC)/*.[hc] *.[hc]
+ etags $(srcdir)/../include/*.h $(srcdir)/*.[hc]
install: all
for i in $(PROGS) ; do \
@@ -444,6 +461,8 @@ strip.o:strip.c
version.o: $(srcdir)/version.c
$(CC) $(CFLAGS) $(INCLUDES) $(HDEFINES) $(TDEFINES) -DVERSION='"$(VERSION)"' -c $(srcdir)/version.c
+ar.o arsup.o nm.o objcopy.o strings.o: bucomm.h
+
#-----------------------------------------------------------------------------
# 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
#