bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug ld/360] New: internal error, aborting at /netrel/src/binutils-2


From: Nick Clifton
Subject: Re: [Bug ld/360] New: internal error, aborting at /netrel/src/binutils-20040725-2/bfd/co
Date: Fri, 03 Sep 2004 12:00:50 +0100
User-agent: Mozilla Thunderbird 0.7.3 (X11/20040803)

Hi Dominik,

internal error, aborting at /netrel/src/binutils-20040725-2/bfd/coffcode.h line 
861 in handle_COMDAT
X-Bugzilla-Reason: CC

Please try the attached patch and let me know if it solves the problem for you.

Cheers
  Nick


Index: coffcode.h
===================================================================
RCS file: /cvs/src/src/bfd/coffcode.h,v
retrieving revision 1.110
diff -c -3 -p -r1.110 coffcode.h
*** coffcode.h  13 Aug 2004 03:15:56 -0000      1.110
--- coffcode.h  3 Sep 2004 10:55:38 -0000
*************** handle_COMDAT (abfd, sec_flags, hdr, nam
*** 829,836 ****
                /* The first time we've seen the symbol.  */
                union internal_auxent aux;
  
-               seen_state = 1;
- 
                /* If it isn't the stuff we're expecting, die;
                   The MS documentation is vague, but it
                   appears that the second entry serves BOTH
--- 829,834 ----
*************** handle_COMDAT (abfd, sec_flags, hdr, nam
*** 858,864 ****
                   function).  See comment above for more.  */
  
                if (strcmp (name, symname) != 0)
!                 abort ();
  
                /* This is the section symbol.  */
                bfd_coff_swap_aux_in (abfd, (PTR) (esym + bfd_coff_symesz 
(abfd)),
--- 856,865 ----
                   function).  See comment above for more.  */
  
                if (strcmp (name, symname) != 0)
!                 _bfd_error_handler (_("%B: warning: COMDAT symbol '%s' does 
not match section name '%s'"),
!                                     abfd, symname, name);
! 
!               seen_state = 1;
  
                /* This is the section symbol.  */
                bfd_coff_swap_aux_in (abfd, (PTR) (esym + bfd_coff_symesz 
(abfd)),

reply via email to

[Prev in Thread] Current Thread [Next in Thread]