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: sparc64-elf-as output


On Thu, Sep 24, 2009 at 02:04:52PM +0400, Alex Mach wrote:
> So, my question is why does as produce second BPA instruction?

It is for the ".align 32".  In a code section, gas assumes that bytes
emitted for alignment may be executed, so nop instructions are
required.  For some processors, gas optimises the nops.

-- 
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]