aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@rr.iij4u.or.jp>2008-04-07 02:55:08 +0000
committerKaz Kojima <kkojima@rr.iij4u.or.jp>2008-04-07 02:55:08 +0000
commit783d3e7187893c2cbb2f0697b5ba2468c6624c17 (patch)
tree58a76585cf5a0d69ff9cad80259337834af0205c /gas/config
parent3bd77c39065a76c0b9d062e6c657b4528cf55fb6 (diff)
downloadgdb-783d3e7187893c2cbb2f0697b5ba2468c6624c17.zip
gdb-783d3e7187893c2cbb2f0697b5ba2468c6624c17.tar.gz
gdb-783d3e7187893c2cbb2f0697b5ba2468c6624c17.tar.bz2
PR gas/6043
* config/tc-sh64.c (shmedia_md_pcrel_from_section): Use md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL. * gas/sh/sh64/eh-1.d: New. * gas/sh/sh64/eh-1.d: Likewise.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-sh64.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gas/config/tc-sh64.c b/gas/config/tc-sh64.c
index 2836ecc..8317098 100644
--- a/gas/config/tc-sh64.c
+++ b/gas/config/tc-sh64.c
@@ -3064,8 +3064,7 @@ shmedia_md_pcrel_from_section (struct fix *fixP, segT sec ATTRIBUTE_UNUSED)
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. */