Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/arch/alpha/gen Fix unaligned accesses more correctly.



details:   https://anonhg.NetBSD.org/src/rev/df963f597d78
branches:  trunk
changeset: 485328:df963f597d78
user:      erh <erh%NetBSD.org@localhost>
date:      Tue Apr 25 05:55:58 2000 +0000

description:
Fix unaligned accesses more correctly.

diffstat:

 lib/libc/arch/alpha/gen/infinity.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r eec018a439c1 -r df963f597d78 lib/libc/arch/alpha/gen/infinity.c
--- a/lib/libc/arch/alpha/gen/infinity.c        Tue Apr 25 05:54:33 2000 +0000
+++ b/lib/libc/arch/alpha/gen/infinity.c        Tue Apr 25 05:55:58 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: infinity.c,v 1.4 2000/04/25 05:54:33 erh Exp $ */
+/*     $NetBSD: infinity.c,v 1.5 2000/04/25 05:55:58 erh Exp $ */
 
 /*
  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -30,5 +30,5 @@
 #include <math.h>
 
 /* bytes for +Infinity on an Alpha (IEEE double format) */
-const char __infinity[] __attribute__((__aligned__(__alignof__(long)))) = 
+const char __infinity[] __attribute__((__aligned__(__alignof__(double)))) = 
                                        { 0, 0, 0, 0, 0, 0, (char)0xf0, 0x7f };



Home | Main Index | Thread Index | Old Index