+2002-11-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
+
+ * config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Define.
+ * config/i386/winnt.c (i386_pe_dllexport_name_p): Use
+ DLL_IMPORT_EXPORT_PREFIX, not '@'.
+ (i386_pe_dllimport_name_p): Likewise.
+ (i386_pe_mark_dllexport): Likewise.
+ (i386_pe_mark_dllimport): Likewise.
+ (i386_pe_encode_section_info): Likewise.
+ (i386_pe_strip_name_encoding): Likewise.
+
2002-11-27 Richard Henderson <rth@redhat.com>
* mkmap-symver.awk (BEGIN): Set sawsymbol false.
2002-11-26 Hartmut Penner <hpenner@de.ibm.com>
- * config/s390/s390.c (390_output_constant_pool): Set alignment
- before label in 64 bit mode, behind otherwise.
+ * config/s390/s390.c (390_output_constant_pool): Set alignment
+ before label in 64 bit mode, behind otherwise.
2002-11-26 Richard Henderson <rth@redhat.com>
2002-11-25 Aldy Hernandez <aldyh@redhat.com>
- * config/rs6000/spe.h (__ev_create_sfix32_fs): Change macro into
- new function.
- (__ev_create_ufix32_fs): Same.
- (__ev_get_sfix32_fs_internal): New.
- (__ev_get_sfix32_fs): Define to use function.
- (__ev_get_ufix32_fs_internal): New.
- (__ev_get_ufix32_fs): Define to use function.
- (__ev_get_upper_ufix32_fs): Call __ev_get_ufix32_fs.
- (__ev_get_lower_ufix32_fs): Same.
- (__ev_get_upper_sfix32_fs): Call __ev_get_sfix32_fs.
- (__ev_get_lower_sfix32_fs): Same.
- (__ev_set_sfix32_fs_internal): New.
- (__ev_set_ufix32_fs_internal): New.
- (__ev_set_sfix32_fs): Call __ev_set_sfix32_fs_internal.
- (__ev_set_ufix32_fs): Call __ev_set_ufix32_fs_internal.
- (__ev_set_upper_sfix32_fs): Call function.
- (__ev_set_lower_sfix32_fs): Same.
- (__ev_set_upper_ufix32_fs): Same.
- (__ev_set_lower_ufix32_fs): Same.
+ * config/rs6000/spe.h (__ev_create_sfix32_fs): Change macro into
+ new function.
+ (__ev_create_ufix32_fs): Same.
+ (__ev_get_sfix32_fs_internal): New.
+ (__ev_get_sfix32_fs): Define to use function.
+ (__ev_get_ufix32_fs_internal): New.
+ (__ev_get_ufix32_fs): Define to use function.
+ (__ev_get_upper_ufix32_fs): Call __ev_get_ufix32_fs.
+ (__ev_get_lower_ufix32_fs): Same.
+ (__ev_get_upper_sfix32_fs): Call __ev_get_sfix32_fs.
+ (__ev_get_lower_sfix32_fs): Same.
+ (__ev_set_sfix32_fs_internal): New.
+ (__ev_set_ufix32_fs_internal): New.
+ (__ev_set_sfix32_fs): Call __ev_set_sfix32_fs_internal.
+ (__ev_set_ufix32_fs): Call __ev_set_ufix32_fs_internal.
+ (__ev_set_upper_sfix32_fs): Call function.
+ (__ev_set_lower_sfix32_fs): Same.
+ (__ev_set_upper_ufix32_fs): Same.
+ (__ev_set_lower_ufix32_fs): Same.
2002-11-25 Douglas B Rupp <rupp@gnat.com>
2002-11-25 Andrew Haley <aph@redhat.com>
- * libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add.
- * config/ia64/unwind-ia64.c (_Unwind_Find_Enclosing_Function): New.
- * unwind-sjlj.c (_Unwind_Find_Enclosing_Function): Likewise.
- * unwind-dw2.c (_Unwind_Find_Enclosing_Function): Likewise.
+ * libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add.
+ * config/ia64/unwind-ia64.c (_Unwind_Find_Enclosing_Function): New.
+ * unwind-sjlj.c (_Unwind_Find_Enclosing_Function): Likewise.
+ * unwind-dw2.c (_Unwind_Find_Enclosing_Function): Likewise.
2002-11-24 Kazu Hirata <kazu@cs.umass.edu>
2002-11-22 Dale Johannesen <dalej@apple.com>
- * toplev.c (rest_of_compilation): Fix comments.
+ * toplev.c (rest_of_compilation): Fix comments.
2002-11-22 Geoffrey Keating <geoffk@apple.com>
directory.
(MULTILIB_DIRNAMES): Create target dependent directory
'normal'.
- (MULTILIB_EXCEPTIONS): Don't turn on -mn on H8/300.
+ (MULTILIB_EXCEPTIONS): Don't turn on -mn on H8/300.
* doc/invoke.texi (gccoptlist): Describe the new switch -mn.
Tue Nov 19 23:50:56 CET 2002 Jan Hubicka <jh@suse.cz>
i386_pe_dllexport_name_p (symbol)
const char *symbol;
{
- return symbol[0] == '@' && symbol[1] == 'e' && symbol[2] == '.';
+ return symbol[0] == DLL_IMPORT_EXPORT_PREFIX
+ && symbol[1] == 'e' && symbol[2] == '.';
}
/* Return nonzero if SYMBOL is marked as being dllimport'd. */
i386_pe_dllimport_name_p (symbol)
const char *symbol;
{
- return symbol[0] == '@' && symbol[1] == 'i' && symbol[2] == '.';
+ return symbol[0] == DLL_IMPORT_EXPORT_PREFIX
+ && symbol[1] == 'i' && symbol[2] == '.';
}
/* Mark a DECL as being dllexport'd.
return; /* already done */
newname = alloca (strlen (oldname) + 4);
- sprintf (newname, "@e.%s", oldname);
+ sprintf (newname, "%ce.%s", DLL_IMPORT_EXPORT_PREFIX, oldname);
/* We pass newname through get_identifier to ensure it has a unique
address. RTL processing can sometimes peek inside the symbol ref
}
newname = alloca (strlen (oldname) + 11);
- sprintf (newname, "@i._imp__%s", oldname);
+ sprintf (newname, "%ci._imp__%s", DLL_IMPORT_EXPORT_PREFIX, oldname);
/* We pass newname through get_identifier to ensure it has a unique
address. RTL processing can sometimes peek inside the symbol ref
i386_pe_mark_dllimport (decl);
/* It might be that DECL has already been marked as dllimport, but a
subsequent definition nullified that. The attribute is gone but
- DECL_RTL still has @i._imp__foo. We need to remove that. Ditto
- for the DECL_NON_ADDR_CONST_P flag. */
+ DECL_RTL still has (DLL_IMPORT_EXPORT_PREFIX)i._imp__foo. We need
+ to remove that. Ditto for the DECL_NON_ADDR_CONST_P flag. */
else if ((TREE_CODE (decl) == FUNCTION_DECL
|| TREE_CODE (decl) == VAR_DECL)
&& DECL_RTL (decl) != NULL_RTX
i386_pe_strip_name_encoding (str)
const char *str;
{
- if (*str == '@')
+ if (*str == DLL_IMPORT_EXPORT_PREFIX)
str += 3;
if (*str == '*')
str += 1;