summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/as
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1994-02-20 16:06:12 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1994-02-20 16:06:12 +0000
commit866f028b3973b23513c88030997373d624c9206c (patch)
tree00bfb7ba7972a629b5a9dbf1a4815367b76ab747 /gnu/usr.bin/as
parent6ae4c6218f223c680802e4c74382fcfd206e1a0d (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/as')
-rw-r--r--gnu/usr.bin/as/Makefile7
-rw-r--r--gnu/usr.bin/as/write.c4
2 files changed, 7 insertions, 4 deletions
diff --git a/gnu/usr.bin/as/Makefile b/gnu/usr.bin/as/Makefile
index 0a2ae0af3eb0..9b687b92b535 100644
--- a/gnu/usr.bin/as/Makefile
+++ b/gnu/usr.bin/as/Makefile
@@ -1,5 +1,5 @@
# from: @(#)Makefile 6.1 (Berkeley) 3/3/91
-# $Id: Makefile,v 1.10 1993/10/16 22:04:48 pk Exp $
+# $Id: Makefile,v 1.2 1993/11/03 00:50:49 paul Exp $
.include "config/Makefile.$(MACHINE)"
@@ -25,9 +25,10 @@ SRCS+= app.c as.c atof-generic.c bignum-copy.c \
symbols.c version.c write.c xmalloc.c xrealloc.c \
obj-$(gas_objformat).c
CFLAGS+= -I$(.CURDIR) ${ADDINCLUDE} -I$(.CURDIR)/config \
- -DPIC -DOLD_GAS -DSIGTY=void -Derror=as_fatal
+ -DPIC -DOLD_GAS -DSIGTY=void -Derror=as_fatal \
+ -DSUB_SEGMENT_ALIGN=4
#LDADD+= -lgnumalloc
-DPADD+= /usr/lib/libgnumalloc.a
+#DPADD+= /usr/lib/libgnumalloc.a
CONF_HEADERS= targ-cpu.h obj-format.h host.h targ-env.h
diff --git a/gnu/usr.bin/as/write.c b/gnu/usr.bin/as/write.c
index ea633e79b28f..dd139f7e82dc 100644
--- a/gnu/usr.bin/as/write.c
+++ b/gnu/usr.bin/as/write.c
@@ -21,7 +21,7 @@
/* This thing should be set up to do byteordering correctly. But... */
#ifndef lint
-static char rcsid[] = "$Id: write.c,v 1.3 1993/11/30 20:55:47 jkh Exp $";
+static char rcsid[] = "$Id: write.c,v 1.4 1993/12/12 17:01:24 jkh Exp $";
#endif
#include "as.h"
@@ -179,7 +179,9 @@ void write_object_file()
* that requires least thought. ".align" frags like to have a following
* frag since that makes calculating their intended length trivial.
*/
+#ifndef SUB_SEGMENT_ALIGN
#define SUB_SEGMENT_ALIGN (2)
+#endif
for (frchainP = frchain_root; frchainP; frchainP = frchainP->frch_next) {
#ifdef OBJ_VMS
/*