diff options
author | Alan Modra <amodra@bigpond.net.au> | 2007-04-21 13:04:14 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2007-04-21 13:04:14 +0000 |
commit | 384113bff572e44b92b168059b8287817cc5f84d (patch) | |
tree | a06b536bc7d3355a1f04192e8ffeb200b7ade1eb /gas/config/tc-sh.h | |
parent | 757e3d474ad3b7603a37fad4a1c6bcd1f7471a94 (diff) | |
download | binutils-redhat-384113bff572e44b92b168059b8287817cc5f84d.tar.gz |
* config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
(md_atof): Make number_of_chars unsigned. Revert last change.
* config/tc-or32.c (md_apply_fix): Delete bogus assertions.
* config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF.
* config/tc-sh.h (md_optimize_expr): Likewise.
* config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus
assertion.
* config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise.
Diffstat (limited to 'gas/config/tc-sh.h')
-rw-r--r-- | gas/config/tc-sh.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-sh.h b/gas/config/tc-sh.h index b023b488e6..80542f4655 100644 --- a/gas/config/tc-sh.h +++ b/gas/config/tc-sh.h @@ -47,8 +47,10 @@ extern void sh_cons_align (int); /* We need to optimize expr with taking account of rs_align_test frags. */ +#ifdef OBJ_ELF #define md_optimize_expr(l,o,r) sh_optimize_expr (l, o, r) extern int sh_optimize_expr (expressionS *, operatorT, expressionS *); +#endif /* When relaxing, we need to generate relocations for alignment directives. */ |