diff options
author | Dmitri Makarov <dim@windriver.com> | 2000-02-29 01:42:52 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2000-02-29 01:42:52 +0000 |
commit | c27ba9120aa6d7a4477315f359088ea7e4267bd3 (patch) | |
tree | 7e5e83e1bbfeec9523a4194b16ed3c7e0c4a5df4 /gcc/config/arm/pe.c | |
parent | 8aacf0160022afb99df7b9042b2f44493512ed54 (diff) | |
download | gcc-c27ba9120aa6d7a4477315f359088ea7e4267bd3.tar.gz |
Apply Dimitri Makarov's patch to import attribute short_call and #pragma
long_calls, no_long_calls.
From-SVN: r32248
Diffstat (limited to 'gcc/config/arm/pe.c')
-rw-r--r-- | gcc/config/arm/pe.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/config/arm/pe.c b/gcc/config/arm/pe.c index 1f57e8bd3f8..90158ff6f27 100644 --- a/gcc/config/arm/pe.c +++ b/gcc/config/arm/pe.c @@ -19,9 +19,8 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <stdio.h> -#include <string.h> #include "config.h" +#include "system.h" #include "rtl.h" #include "output.h" #include "flags.h" @@ -240,7 +239,7 @@ int arm_dllexport_name_p (symbol) char * symbol; { - return symbol[0] == '@' && symbol[1] == 'e' && symbol[2] == '.'; + return symbol[0] == ARM_PE_FLAG_CHAR && symbol[1] == 'e' && symbol[2] == '.'; } /* Return non-zero if SYMBOL is marked as being dllimport'd. */ @@ -249,7 +248,7 @@ int arm_dllimport_name_p (symbol) char * symbol; { - return symbol[0] == '@' && symbol[1] == 'i' && symbol[2] == '.'; + return symbol[0] == ARM_PE_FLAG_CHAR && symbol[1] == 'i' && symbol[2] == '.'; } /* Mark a DECL as being dllexport'd. @@ -278,7 +277,7 @@ arm_mark_dllexport (decl) return; /* already done */ newname = alloca (strlen (oldname) + 4); - sprintf (newname, "@e.%s", oldname); + sprintf (newname, "%ce.%s", ARM_PE_FLAG_CHAR, oldname); /* We pass newname through get_identifier to ensure it has a unique address. RTL processing can sometimes peek inside the symbol ref @@ -349,7 +348,7 @@ arm_mark_dllimport (decl) } newname = alloca (strlen (oldname) + 11); - sprintf (newname, "@i.__imp_%s", oldname); + sprintf (newname, "%ci.__imp_%s", ARM_PE_FLAG_CHAR, oldname); /* We pass newname through get_identifier to ensure it has a unique address. RTL processing can sometimes peek inside the symbol ref |