diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-12-09 17:24:41 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-12-09 17:24:41 +0000 |
commit | 248a9e94da36760ec09758285f68b7844cb2ac33 (patch) | |
tree | 7b2b1f127a1b79ca91d4f225ef7ad0042cb37faa | |
parent | 2337b6b7c1d160f5e935ba869acb5f4dede6f35f (diff) | |
download | gcc-248a9e94da36760ec09758285f68b7844cb2ac33.zip gcc-248a9e94da36760ec09758285f68b7844cb2ac33.tar.gz gcc-248a9e94da36760ec09758285f68b7844cb2ac33.tar.bz2 |
iq2000.h (LINK_SPEC, [...]): Define.
* config/iq2000/iq2000.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE,
WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
* config.gcc (iq2000*-*-elf*): Don't use svr4.h.
From-SVN: r167656
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config.gcc | 2 | ||||
-rw-r--r-- | gcc/config/iq2000/iq2000.h | 16 |
3 files changed, 23 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3fe7bdf..8373827 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2010-12-09 Joseph Myers <joseph@codesourcery.com> + * config/iq2000/iq2000.h (LINK_SPEC, SIZE_TYPE, PTRDIFF_TYPE, + WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. + * config.gcc (iq2000*-*-elf*): Don't use svr4.h. + +2010-12-09 Joseph Myers <joseph@codesourcery.com> + * config.gcc (ia64*-*-linux*, ia64*-*-hpux*): Don't use svr4.h. 2010-12-09 Joseph Myers <joseph@codesourcery.com> diff --git a/gcc/config.gcc b/gcc/config.gcc index 731e72e..bd4c272 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1592,7 +1592,7 @@ ia64-hp-*vms*) extra_options="${extra_options} vms/vms.opt" ;; iq2000*-*-elf*) - tm_file="svr4.h elfos.h newlib-stdint.h iq2000/iq2000.h" + tm_file="elfos.h newlib-stdint.h iq2000/iq2000.h" tmake_file=iq2000/t-iq2000 out_file=iq2000/iq2000.c md_file=iq2000/iq2000.md diff --git a/gcc/config/iq2000/iq2000.h b/gcc/config/iq2000/iq2000.h index 68b700d..971a776 100644 --- a/gcc/config/iq2000/iq2000.h +++ b/gcc/config/iq2000/iq2000.h @@ -28,6 +28,10 @@ #undef STARTFILE_SPEC #undef ENDFILE_SPEC +#undef LINK_SPEC +#define LINK_SPEC "%{h*} %{v:-V} \ + %{static:-Bstatic} %{shared:-shared} %{symbolic:-Bsymbolic}" + /* Run-time target specifications. */ @@ -133,6 +137,18 @@ #define LONG_DOUBLE_TYPE_SIZE 64 #define DEFAULT_SIGNED_CHAR 1 +#undef SIZE_TYPE +#define SIZE_TYPE "unsigned int" + +#undef PTRDIFF_TYPE +#define PTRDIFF_TYPE "int" + +#undef WCHAR_TYPE +#define WCHAR_TYPE "long int" + +#undef WCHAR_TYPE_SIZE +#define WCHAR_TYPE_SIZE BITS_PER_WORD + /* Register Basics. */ |