[Bug default/26738] .debug_line reference above end of section (mipsel)

vries at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Tue Mar 2 13:20:58 GMT 2021


https://sourceware.org/bugzilla/show_bug.cgi?id=26738

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vries at gcc dot gnu.org

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
Tentative fix:
...
diff --git a/dwz.c b/dwz.c                                                      
index af1c5af..5effbc1 100644                                                   
--- a/dwz.c                                                                     
+++ b/dwz.c                                                                     
@@ -15150,7 +15150,7 @@ write_multifile (DSO *dso)
                            debug_sections[DEBUG_MACRO].new_size)               
                     != (ssize_t) debug_sections[DEBUG_MACRO].new_size)         
              || (strp_htab != NULL && write_multifile_strp ())                 
-             || (line_htab != NULL && write_multifile_line ()))                
+             || write_multifile_line ())                                       
            {                                                                   
              error (0, 0, "Error writing multi-file temporary files");         
              ret = 1;                                                          
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Dwz mailing list