config.gcc: Add sh-*-symbianelf target.
authorNick Clifton <nickc@gcc.gnu.org>
Mon, 12 Jul 2004 08:45:00 +0000 (08:45 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Mon, 12 Jul 2004 08:45:00 +0000 (08:45 +0000)
commitb55e3aad633bd6e8de2b41b1a6ce41e5241878ac
tree35b091528607aff8382046cbeb9d46bb0dde23d4
parent55e99d5226d32dc4e78fa96375034dda4fbbfcb9
config.gcc: Add sh-*-symbianelf target.

* config.gcc: Add sh-*-symbianelf target.
* config/sh/sh.c: Add new target macros:
  TARGET_ENCODE_SECTION_INFO, TARGET_STRIP_NAME_ENCODING,
  TARGET_CXX_IMPORT_EXPORT_CLASS.
  (sh_file_start): Create a definition of the .directive section.
  (sh_attribute): Add dllimport and dllexport attributes.
* config/sh/symbian-pre.h: New file.
* config/sh/symbian-post.h: New file.
* config/sh/symbian.c: New file. Contains Symbian specific functions.
* config/sh/sh-protos.h: Add prototypes for new functions provided by symbian.c.
* config/sh/t-symbian: New file.
* doc/extend.texi: Document support for dllimport and dllexport attributes by
  the sh-symbianelf target.

From-SVN: r84551
gcc/config.gcc
gcc/config/sh/sh-protos.h
gcc/config/sh/sh.c
gcc/config/sh/symbian-post.h [new file with mode: 0644]
gcc/config/sh/symbian-pre.h [new file with mode: 0644]
gcc/config/sh/symbian.c [new file with mode: 0644]
gcc/config/sh/t-symbian [new file with mode: 0644]
gcc/doc/extend.texi