Commit 508fc646 by John Wehle Committed by John Wehle

dwarf2asm.c (unaligned_integer_asm_op): Abort if op is NULL.

	* dwarf2asm.c (unaligned_integer_asm_op): Abort if
	op is NULL.
	* sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
	only if TARGET_ARCH64.

From-SVN: r45995
parent 6a4af81f
Wed Oct 3 12:22:11 EDT 2001 John Wehle (john@feith.com)
* dwarf2asm.c (unaligned_integer_asm_op): Abort if
op is NULL.
* sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
only if TARGET_ARCH64.
2001-10-02 Bernd Schmidt <bernds@redhat.com>
* doc/extend.texi: Fix some problems with previous checkin.
......
......@@ -96,7 +96,7 @@ Boston, MA 02111-1307, USA. */
#define STRING_ASM_OP "\t.asciz\t"
#define COMMON_ASM_OP "\t.common\t"
#define SKIP_ASM_OP "\t.skip\t"
#define UNALIGNED_DOUBLE_INT_ASM_OP "\t.uaxword\t"
#define UNALIGNED_DOUBLE_INT_ASM_OP (TARGET_ARCH64 ? "\t.uaxword\t" : NULL)
#define UNALIGNED_INT_ASM_OP "\t.uaword\t"
#define UNALIGNED_SHORT_ASM_OP "\t.uahalf\t"
#define PUSHSECTION_ASM_OP "\t.pushsection\t"
......
......@@ -54,7 +54,7 @@ static inline const char *
unaligned_integer_asm_op (size)
int size;
{
const char *op;
const char *op = NULL;
switch (size)
{
case 1:
......@@ -74,6 +74,10 @@ unaligned_integer_asm_op (size)
default:
abort ();
}
if (! op)
abort ();
return op;
}
#endif /* UNALIGNED_INT_ASM_OP */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment