From 6e3b68350d29fde1dedc4772bbdce07ac3669f97 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 3 Sep 2004 14:11:38 +0000 Subject: PR 360 (handle_COMDAT): Replace abort with an warning message and allow the scan to continue. --- bfd/coffcode.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bfd/coffcode.h') diff --git a/bfd/coffcode.h b/bfd/coffcode.h index b96e5f0..51d00c6 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -829,8 +829,6 @@ handle_COMDAT (abfd, sec_flags, hdr, name, section) /* 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 @@ -858,7 +856,10 @@ handle_COMDAT (abfd, sec_flags, hdr, name, section) function). See comment above for more. */ if (strcmp (name, symname) != 0) - abort (); + _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)), -- cgit v1.1