bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/6043] sh64: Assertion failure in shmedia_md_pcrel_from_section


From: kkojima at rr dot iij4u dot or dot jp
Subject: [Bug gas/6043] sh64: Assertion failure in shmedia_md_pcrel_from_section
Date: 6 Apr 2008 23:38:32 -0000

------- Additional Comments From kkojima at rr dot iij4u dot or dot jp  
2008-04-06 23:38 -------
A reduced testcase:

        .text
.LFB1:
        .section        .eh_frame,"a",@progbits
.LASFDE1:
        .uaquad .LFB1-.

It seems that the recent gas calls shmedia_md_pcrel_from_section with the way
that the function didn't expect.  I'm testing the following patch now.

diff -uprN ORIG/src/gas/config/tc-sh64.c LOCAL/src/gas/config/tc-sh64.c
--- ORIG/src/gas/config/tc-sh64.c       2007-07-31 09:12:54.000000000 +0900
+++ LOCAL/src/gas/config/tc-sh64.c      2008-04-07 07:30:33.000000000 +0900
@@ -3064,8 +3064,7 @@ shmedia_md_pcrel_from_section (struct fi
 
     case BFD_RELOC_64:
     case BFD_RELOC_64_PCREL:
-      know (0 /* Shouldn't get here.  */);
-      break;
+      /* Fall through.  */
 
     default:
       /* If section was SHcompact, use its function.  */


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6043

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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