aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>1999-05-17 03:21:52 +0000
committerAlan Modra <amodra@gmail.com>1999-05-17 03:21:52 +0000
commitfa67f437321a488214941d593e2e924c03053789 (patch)
treef263dcf63f30e7156c6382d934a46fcef493a5e6 /gas/doc
parent93382f6dd788130402c9cf664368f18c62ae847e (diff)
downloadgdb-fa67f437321a488214941d593e2e924c03053789.zip
gdb-fa67f437321a488214941d593e2e924c03053789.tar.gz
gdb-fa67f437321a488214941d593e2e924c03053789.tar.bz2
รจ
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.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/internals.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi
index dd3b4ab..48d49e06 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