diff options
author | Alan Modra <amodra@gmail.com> | 2007-04-21 13:04:14 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-04-21 13:04:14 +0000 |
commit | 541d2ffd365ca39533b78edc9aadd70ad4791163 (patch) | |
tree | 12ef5bd7a57e6a9a13a839dcd0738c6210dc6545 /gas/config/tc-sh.h | |
parent | 2523cd0a8125bf1b1e7442a70a7c4894ae012c1c (diff) | |
download | gdb-541d2ffd365ca39533b78edc9aadd70ad4791163.zip gdb-541d2ffd365ca39533b78edc9aadd70ad4791163.tar.gz gdb-541d2ffd365ca39533b78edc9aadd70ad4791163.tar.bz2 |
* 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 b023b48..80542f4 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. */ |