cygwin32.h (VALID_MACHINE_TYPE_ATTRIBUTE): New macro.
authorJason Merrill <jason@yorick.cygnus.com>
Tue, 28 Jul 1998 22:30:29 +0000 (22:30 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 28 Jul 1998 22:30:29 +0000 (16:30 -0600)
commitac478ac0fd632d75ca6b51a104a4ecedaa7bfed6
tree78d997c9ac755b5775a4bd3a500d8a6482dacd83
parent28372f4188cf1e6a89b4aa340ab6d5dcb73fe142
cygwin32.h (VALID_MACHINE_TYPE_ATTRIBUTE): New macro.

Tue Jul 28 23:29:04 1998  Jason Merrill  <jason@yorick.cygnus.com>
        * i386/cygwin32.h (VALID_MACHINE_TYPE_ATTRIBUTE): New macro.
        * i386/winnt.c (associated_type): New fn.
        (i386_pe_valid_type_attribute_p): New fn.
        (i386_pe_check_vtable_importexport): Remove.
        (i386_pe_dllexport_p): Use associated_type.
        (i386_pe_dllimport_p): Likewise.
        From Antonio M. O. Neto <anmendes@cruzeironet.com.br>:
        * i386.c (i386_valid_type_attribute_p): Also accept
        attributes for METHOD_TYPEs.

From-SVN: r21456
gcc/ChangeLog
gcc/config/i386/cygwin32.h
gcc/config/i386/i386.c
gcc/config/i386/winnt.c