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: [RFC][ARM][AARCH64] Set DWARF2_LINE_MIN_INSN_LENGTH to 1




On 01/04/15 17:01, Nicholas Clifton wrote:

I do not think that this is a bug.  The assembler is correctly reporting that
the user has created a code section that ends not on a code alignment
boundary.  It does appear however that this kind of thing is expected to work.
(See eg gas/testsuite/gas/elf/section7.s).  So maybe a solution is needed.

Setting DWARF2_LINE_MIN_INSN_LENGTH to 1 seems wrong to me.  For the

I agree that, DWARF2_LINE_MIN_INSN_LENGTH should mean what the name indicates.
The assembly code is indeed crappy.

While writing the object file, subsegs_finish will try to align the last frag. But dwarf2 information is emitted before that step.


Regards,
Renlin Li


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