------- 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.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to