aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-bout.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1992-08-19 14:42:21 +0000
committerKen Raeburn <raeburn@cygnus>1992-08-19 14:42:21 +0000
commit09952cd9552ace00ab7183be9b3cc5f120a9df5a (patch)
tree594b05abc902baadc6626804b621e124acb67625 /gas/config/obj-bout.c
parent305c1e74c3a093d2b8d74918dff5ad753602e435 (diff)
downloadgdb-09952cd9552ace00ab7183be9b3cc5f120a9df5a.zip
gdb-09952cd9552ace00ab7183be9b3cc5f120a9df5a.tar.gz
gdb-09952cd9552ace00ab7183be9b3cc5f120a9df5a.tar.bz2
mainly link-relax changes
Diffstat (limited to 'gas/config/obj-bout.c')
-rw-r--r--gas/config/obj-bout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/obj-bout.c b/gas/config/obj-bout.c
index f07f6f9..4199efc 100644
--- a/gas/config/obj-bout.c
+++ b/gas/config/obj-bout.c
@@ -102,7 +102,8 @@ fixS *fixP; /* Fixup chain for this segment. */
relax_addressT segment_address_in_file;
{
for (; fixP; fixP = fixP->fx_next) {
- if (fixP->fx_addsy != NULL) {
+ if (fixP->fx_addsy != NULL
+ || fixP->fx_r_type != NO_RELOC) {
tc_bout_fix_to_chars(*where, fixP, segment_address_in_file);
*where += sizeof(struct relocation_info);
} /* if there's a symbol */