From: David Edelsohn Date: Fri, 1 Mar 2002 17:33:21 +0000 (+0000) Subject: rs6000.h (HANDLE_PRAGMA_PACK): Delete. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9429c84cd61bcac5ab0b201b5f90f1c0d27102c7;p=platform%2Fupstream%2Fgcc.git rs6000.h (HANDLE_PRAGMA_PACK): Delete. * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete. * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define. * config/rs6000/xcoff.h (COLLET_EXPORT_LIST): Delete. From-SVN: r50200 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9bdcf0d..b9dabea 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-03-01 David Edelsohn + + * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete. + * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define. + * config/rs6000/xcoff.h (COLLET_EXPORT_LIST): Delete. + 2002-03-01 Kazu Hirata * config/h8300/h8300-protos.h: Fix formatting. diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index 3daf18c..420d65f 100644 --- a/gcc/config/rs6000/darwin.h +++ b/gcc/config/rs6000/darwin.h @@ -35,6 +35,9 @@ Boston, MA 02111-1307, USA. */ #define TARGET_TOC 0 #define TARGET_NO_TOC 1 +/* Handle #pragma weak and #pragma pack. */ +#define HANDLE_SYSV_PRAGMA + /* The Darwin ABI always includes AltiVec, can't be (validly) turned off. */ @@ -221,6 +224,7 @@ Boston, MA 02111-1307, USA. */ : (TARGET_ALTIVEC && TREE_CODE (STRUCT) == VECTOR_TYPE) \ ? MAX (MAX ((COMPUTED), (SPECIFIED)), 128) \ : MAX ((COMPUTED), (SPECIFIED))) + /* XXX: Darwin supports neither .quad, or .llong, but it also doesn't support 64 bit powerpc either, so this just keeps things happy. */ #define DOUBLE_INT_ASM_OP "\t.quad\t" diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index dbb1474..c576c10 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -626,9 +626,6 @@ extern int rs6000_altivec_abi; #define LOCAL_ALIGNMENT(TYPE, ALIGN) \ ((TARGET_ALTIVEC && TREE_CODE (TYPE) == VECTOR_TYPE) ? 128 : ALIGN) -/* Handle #pragma pack. */ -#define HANDLE_PRAGMA_PACK 1 - /* Alignment of field after `int : 0' in a structure. */ #define EMPTY_FIELD_BOUNDARY 32 diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h index a2ef6ec..4a51b04 100644 --- a/gcc/config/rs6000/xcoff.h +++ b/gcc/config/rs6000/xcoff.h @@ -22,10 +22,6 @@ Boston, MA 02111-1307, USA. */ #define TARGET_OBJECT_FORMAT OBJECT_XCOFF -/* The AIX linker will discard static constructors in object files before - collect has a chance to see them, so scan the object files directly. */ -#define COLLECT_EXPORT_LIST - /* The RS/6000 uses the XCOFF format. */ #define XCOFF_DEBUGGING_INFO