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: Dwarf views broken on ia64?


On May 30, 2018, Nick Clifton <nickc@redhat.com> wrote:

> Hi Jan, Hi Alex,
>>> My main remaining concern is reordering of view labels, e.g., given:

>> To my knowledge the ia64 assembler never re-orders insns (and according
>> to how the architecture works, it also can't imo).

> Right - this is my understanding as well.

Excellent.  In this case, I guess this is ok to install, right?

for  gas/ChangeLog

	* dwarf2dbg.c (dwarf2_consume_line_info): Drop view.

diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index e7c0b6e..6d8be4a 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -624,6 +624,7 @@ dwarf2_consume_line_info (void)
 		     | DWARF2_FLAG_PROLOGUE_END
 		     | DWARF2_FLAG_EPILOGUE_BEGIN);
   current.discriminator = 0;
+  current.view = NULL;
 }
 
 /* Called for each (preferably code) label.  If dwarf2_loc_mark_labels


-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer


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