linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...

2000-12-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...
	* config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): ...to here.

From-SVN: r38211
This commit is contained in:
Franz Sirl 2000-12-12 21:38:18 +00:00 committed by Franz Sirl
parent 4d4182e92f
commit edf1137870
3 changed files with 18 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...
* config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): ...to here.
2000-12-12 Jim Wilson <wilson@redhat.com>
* rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT.
@ -24,7 +29,7 @@
* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
for powerpc*-*-*.
* configure: Regenerated.
* config/rs6000/linux.h (HANDLE_PRAGMA_PUSH_POP): Define.
* config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
* config/rs6000/rs6000.c (rs6000_unique_section): Use
STRIP_NAME_ENCODING.

View File

@ -62,8 +62,6 @@ Boston, MA 02111-1307, USA. */
#undef ASM_APP_OFF
#define ASM_APP_OFF "#NO_APP\n"
#define HANDLE_PRAGMA_PACK_PUSH_POP
#undef DEFAULT_VTABLE_THUNKS
#ifndef USE_GNULIBC_1
#define DEFAULT_VTABLE_THUNKS 1

View File

@ -1550,6 +1550,18 @@ do { \
/* Function name to call to do profiling. */
#define RS6000_MCOUNT "_mcount"
/* Define this macro (to a value of 1) if you want to support the
Win32 style pragmas #pragma pack(push,<n>)' and #pragma
pack(pop)'. The pack(push,<n>) pragma specifies the maximum
alignment (in bytes) of fields within a structure, in much the
same way as the __aligned__' and __packed__' __attribute__'s
do. A pack value of zero resets the behaviour to the default.
Successive invocations of this pragma cause the previous values to
be stacked, so that invocations of #pragma pack(pop)' will return
to the previous value. */
#define HANDLE_PRAGMA_PACK_PUSH_POP 1
/* Define library calls for quad FP operations. These are all part of the
PowerPC 32bit ABI. */
#define ADDTF3_LIBCALL "_q_add"