changeset 787:389bab18c6d3

Revert signal2 part of last change
author jlarmour
date Mon, 03 Mar 2003 16:46:14 +0000
parents fead836699b5
children d37eca80ec61
files packages/compat/posix/current/ChangeLog packages/compat/posix/current/tests/signal2.c
diffstat 2 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/packages/compat/posix/current/ChangeLog
+++ b/packages/compat/posix/current/ChangeLog
@@ -1,9 +1,5 @@
 2003-03-03  Jonathan Larmour  <jifl@eCosCentric.com>
 
-	* tests/signal2.c (cause_illegal_access): PowerPC only generates
-	alignment exceptions in little-endian mode, so make that a special
-	case.
-
 	* tests/mutex3.c: Include POSIX headers before feature tests to
 	prevent spurious CYG_TEST_NA.
 
--- a/packages/compat/posix/current/tests/signal2.c
+++ b/packages/compat/posix/current/tests/signal2.c
@@ -84,7 +84,7 @@ static jmp_buf jbuf;
 
 // PowerPC is a special case as it has the alignment exception, but it
 // doesn't trigger unless in little-endian mode.
-#if defined(CYGNUM_HAL_EXCEPTION_DATA_UNALIGNED_ACCESS) && !(defined(CYGPKG_HAL_POWERPC) && (CYG_BYTEORDER==CYG_MSBFIRST))
+#if defined(CYGNUM_HAL_EXCEPTION_DATA_UNALIGNED_ACCESS)
 
 static void
 cause_unaligned_access(void)
@@ -247,7 +247,7 @@ int main(int argc, char **argv)
 
     // PowerPC is a special case as it has the alignment exception, but it
     // doesn't trigger unless in little-endian mode.
-#if defined(CYGNUM_HAL_EXCEPTION_DATA_UNALIGNED_ACCESS) && !(defined(CYGPKG_HAL_POWERPC) && (CYG_BYTEORDER==CYG_MSBFIRST))
+#if defined(CYGNUM_HAL_EXCEPTION_DATA_UNALIGNED_ACCESS)
     
     CYG_TEST_INFO("Test 1 - provoke unaligned access");