summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/ld/ld.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-01-19 15:00:37 +0000
committerdg <dg@FreeBSD.org>1994-01-19 15:00:37 +0000
commit50dde40ae01167fd87a189d3b72dbe8385d2836e (patch)
tree1ecac9aa4fece7b44fb878f393c6e5165518d932 /gnu/usr.bin/ld/ld.c
parent5c5595f3d48bdb876a1f869d39ef9a5b0dd85f91 (diff)
downloadFreeBSD-src-50dde40ae01167fd87a189d3b72dbe8385d2836e.zip
FreeBSD-src-50dde40ae01167fd87a189d3b72dbe8385d2836e.tar.gz
Removed dependance on EX_DYNAMIC in making decisions on the magic number.
Diffstat (limited to 'gnu/usr.bin/ld/ld.c')
-rw-r--r--gnu/usr.bin/ld/ld.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/usr.bin/ld/ld.c b/gnu/usr.bin/ld/ld.c
index 18af1c4..ad6f9a6 100644
--- a/gnu/usr.bin/ld/ld.c
+++ b/gnu/usr.bin/ld/ld.c
@@ -32,7 +32,7 @@ static char sccsid[] = "@(#)ld.c 6.10 (Berkeley) 5/22/91";
Set, indirect, and warning symbol features added by Randy Smith. */
/*
- * $Id: ld.c,v 1.17 1993/12/22 23:28:08 jkh Exp $
+ * $Id: ld.c,v 1.18 1994/01/03 18:35:14 davidg Exp $
*/
/* Define how to initialize system-dependent header fields. */
@@ -2176,8 +2176,7 @@ write_header ()
{
int flags = (rrs_section_type == RRS_FULL) ? EX_DYNAMIC : 0;
- if (netzmagic || magic == QMAGIC || (link_mode & DYNAMIC))
- N_SET_FLAG (outheader, flags);
+ N_SET_FLAG (outheader, flags);
outheader.a_text = text_size;
outheader.a_data = data_size;
OpenPOWER on IntegriCloud