From: Alan Modra Date: Mon, 17 May 1999 03:21:52 +0000 (+0000) Subject: è X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa67f437321a488214941d593e2e924c03053789;p=binutils-gdb.git è Move bitfield overflow checks to after the md_apply_fix call in fixup_segment so that md_apply_fix has a chance to modify value. Handle 8 and 16-bit pcrel relocs for i386. Prototypes and other minor code cleanups. --- diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi index dd3b4ab15eb..48d49e06495 100644 --- a/gas/doc/internals.texi +++ b/gas/doc/internals.texi @@ -1034,7 +1034,10 @@ It may also create any necessary relocations. @item md_apply_fix @cindex md_apply_fix GAS will call this for each fixup. It should store the correct value in the -object file. +object file. @code{fixup_segment} performs a generic overflow check on the +@code{valueT *val} argument after @code{md_apply_fix} returns. If the overflow +check is relevant for the target machine, then @code{md_apply_fix} should +modify @code{valueT *val}, typically to the value stored in the object file. @item TC_HANDLES_FX_DONE @cindex TC_HANDLES_FX_DONE