diff options
author | Nick Clifton <nickc@redhat.com> | 2000-02-24 19:49:18 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-02-24 19:49:18 +0000 |
commit | 056350c6bd025c6b73b25f39247c890581b215b1 (patch) | |
tree | 3ee95df831c15874e7550cddf4a55cdc2002dfdd /gas/config/tc-sh.c | |
parent | 8a0e0f38af77d6c38cdf9a257b55b4a06ce09124 (diff) | |
download | gdb-056350c6bd025c6b73b25f39247c890581b215b1.zip gdb-056350c6bd025c6b73b25f39247c890581b215b1.tar.gz gdb-056350c6bd025c6b73b25f39247c890581b215b1.tar.bz2 |
Add support for WinCE targeted toolchains.
Diffstat (limited to 'gas/config/tc-sh.c')
-rw-r--r-- | gas/config/tc-sh.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c index 777d76c..66dbb5b 100644 --- a/gas/config/tc-sh.c +++ b/gas/config/tc-sh.c @@ -206,8 +206,13 @@ md_begin () char *prev_name = ""; int target_arch; +#ifdef TE_PE + /* The WinCE OS only supports little endian executables. */ + target_big_endian = 0; +#else if (! shl) target_big_endian = 1; +#endif target_arch = arch_sh1_up & ~(sh_dsp ? arch_sh3e_up : arch_sh_dsp_up); valid_arch = target_arch; @@ -1678,6 +1683,7 @@ DEFUN (md_undefined_symbol, (name), } #ifdef OBJ_COFF +#ifndef BFD_ASSEMBLER void DEFUN (tc_crawl_symbol_chain, (headers), @@ -1694,6 +1700,7 @@ DEFUN (tc_headers_hook, (headers), } #endif +#endif /* Various routines to kill one day */ /* Equal to MAX_PRECISION in atof-ieee.c */ |