aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-08-11 17:36:54 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-08-11 17:36:54 +0000
commitc7d7eed0a8b93293083e3d0bcab31fb0229c862f (patch)
treef2e2a5f97c2a164167aede9f2396dbd97220107f /gas/write.c
parent06c87bef35fbcaa68d691535fcac9f1a8af6e3f4 (diff)
downloadgdb-c7d7eed0a8b93293083e3d0bcab31fb0229c862f.zip
gdb-c7d7eed0a8b93293083e3d0bcab31fb0229c862f.tar.gz
gdb-c7d7eed0a8b93293083e3d0bcab31fb0229c862f.tar.bz2
Allow large addends for BFD_RELOC_{LO16,HI16,HI16_S} relocs.
Diffstat (limited to 'gas/write.c')
-rw-r--r--gas/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/write.c b/gas/write.c
index ae7d8ee..1191079 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -2391,7 +2391,7 @@ fixup_segment (fixP, this_segment_type)
}
}
- if (!fixP->fx_bit_fixP && size > 0)
+ if (!fixP->fx_bit_fixP && !fixP->fx_no_overflow && size > 0)
{
valueT mask = 0;
if (size < sizeof (mask))