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.c | |
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.c')
-rw-r--r-- | gas/config/tc-sh.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c index 8e42b81..5545e94 100644 --- a/gas/config/tc-sh.c +++ b/gas/config/tc-sh.c @@ -886,7 +886,6 @@ align_test_frag_offset_fixed_p (const fragS *frag1, const fragS *frag2, return FALSE; } -#endif /* OBJ_ELF */ /* Optimize a difference of symbols which have rs_align_test frag if possible. */ @@ -894,7 +893,6 @@ align_test_frag_offset_fixed_p (const fragS *frag1, const fragS *frag2, int sh_optimize_expr (expressionS *l, operatorT op, expressionS *r) { -#ifdef OBJ_ELF bfd_vma frag_off; if (op == O_subtract @@ -915,9 +913,9 @@ sh_optimize_expr (expressionS *l, operatorT op, expressionS *r) l->X_add_symbol = 0; return 1; } -#endif /* OBJ_ELF */ return 0; } +#endif /* OBJ_ELF */ /* This function is called once, at assembler startup time. This should set up all the tables, etc that the MD part of the assembler needs. */ |