Commit fa67f437 authored by Alan Modra's avatar Alan Modra
Browse files


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.
parent 93382f6d
......@@ -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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment