รจ
authorAlan Modra <amodra@gmail.com>
Mon, 17 May 1999 03:21:52 +0000 (03:21 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 17 May 1999 03:21:52 +0000 (03:21 +0000)
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.

gas/doc/internals.texi

index dd3b4ab..48d49e0 100644 (file)
@@ -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