[backport][2.25][aarch64]Don't create new frag for .inst directive when certain conditions fullfil

Renlin Li renlin.li@arm.com
Wed May 6 14:15:00 GMT 2015
Hi all,

This is a backport patch from the trunk introduced here: 
https://sourceware.org/ml/binutils/2015-03/msg00389.html

After the change, new frag is created for .inst directive, only during 
state transition in executable section. The same rule applies when 
handling normal instructions.

binutils, gas, ld regresstion test Okay.
Okay to commit?

Regards,
Renlin Li

Backport from mainline

2015-05-06  Renlin Li  <renlin.li@arm.com>

gas/ChangeLog
   * config/tc-aarch64.c (s_aarch64_inst): Align frag during state 
transition
   within executable section.
   (md_assemble): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmp.diff
Type: text/x-patch
Size: 1330 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150506/ce5f9bfb/attachment.bin>


More information about the Binutils mailing list