This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, gas] PC-relative fx_offset calculation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]