summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/as/write.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1993-11-30 20:57:41 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1993-11-30 20:57:41 +0000
commit8eae6ddddc1a474a8241f179a7c0d9f725366e1a (patch)
treeabc7116a910b413253db9db73c91b52a645995f9 /gnu/usr.bin/as/write.c
parent52c4ca7af3f8ff112cb52086909057047ce5df91 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/as/write.c')
-rw-r--r--gnu/usr.bin/as/write.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/as/write.c b/gnu/usr.bin/as/write.c
index 7cb18089cef0..0658ac632717 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.6 1993/10/27 00:14:14 pk Exp $";
+static char rcsid[] = "$Id: write.c,v 1.2 1993/11/03 00:52:28 paul Exp $";
#endif
#include "as.h"
@@ -1065,6 +1065,8 @@ segT this_segment_type; /* N_TYPE bits for segment. */
*/
if (!flagseen['k'] ||
(fixP->fx_r_type != RELOC_GLOB_DAT &&
+ fixP->fx_r_type != RELOC_GOT &&
+ fixP->fx_r_type != RELOC_GOTOFF &&
(fixP->fx_r_type != RELOC_32 ||
!S_IS_EXTERNAL(add_symbolP))))
#endif