[PATCH, gas] PC-relative fx_offset calculation

Alan Modra amodra@gmail.com
Wed Mar 6 10:28:00 GMT 2013

On Wed, Mar 06, 2013 at 02:37:00PM +0800, Chung-Lin Tang wrote:
> This is only lightly tested so far, WDYT? (I believe this patch should
> make more sense now...)

Yes, it makes sense, but why is it that you need to call frag_more in
the middle of assembling an instruction?  The normal course of action
is to parse the insn, call frag_more when you know the size (or max
size) of the insn, then emit insn bytes and any fixups.

Alan Modra
Australia Development Lab, IBM

More information about the Binutils mailing list