* config.gcc: Add sh-*-symbianelf target.
commitdb281f5af7b3ebb3d943c5d0a2de0923d94c7e23
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Jul 2004 08:45:00 +0000 (12 08:45 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Jul 2004 08:45:00 +0000 (12 08:45 +0000)
tree35b091528607aff8382046cbeb9d46bb0dde23d4
parent86752479f629532c8166eb1015e1d09a3ff4f72f
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84551 138bc75d-0d04-0410-961f-82ee72b054a4
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