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]

[committed] Fix slow gas assembling files with many segments


The attached change simplifies the search for the last label in the current space/segment.  Although
the algorithm is not a general as the previous on (i.e., we only track the one label), it is dramatically
faster assembling files with many segments.  Testing with gcc indicated that we didn't need the
complexity of keeping the last label in every space/segment/

Committed to master.

Dave
--
John David Anglin	dave.anglin@bell.net


Attachment: last-label.d.txt
Description: Text document


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