Changeset bc51d7e9 in rtems


Ignore:
Timestamp:
Sep 13, 2001, 1:23:37 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
a3ac20f
Parents:
986e1113
Message:

2001-09-13 Joel Sherrill <joel@…>

  • src/mprotect.c: New file. Stub required by some gcc's to pass tests. In particular, about 350 ACATS tests fail if this is not present.
  • src/getpagesize.c: Ditto.
  • src/sysconf.c: Addition of Solaris value for _SC_STACK_PROT required to pass about 350 ACATS test cases.
  • src/Makefile.am: Added new files.
Files:
4 added
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/ChangeLog

    r986e1113 rbc51d7e9  
     12001-09-13      Joel Sherrill <joel@OARcorp.com>
     2
     3        * src/mprotect.c: New file. Stub required by some gcc's to pass tests.
     4        In particular, about 350 ACATS tests fail if this is not present.
     5        * src/getpagesize.c: Ditto.
     6        * src/sysconf.c: Addition of Solaris value for _SC_STACK_PROT required
     7        to pass about 350 ACATS test cases.
     8        * src/Makefile.am: Added new files.
     9
    1102001-08-30      Joel Sherrill <joel@OARcorp.com>
    211
  • c/src/exec/posix/src/Makefile.am

    r986e1113 rbc51d7e9  
    2929KEY_C_FILES = key.c keycreate.c keydelete.c keygetspecific.c \
    3030    keyrundestructors.c keysetspecific.c
     31
     32MEMORY_C_FILES = getpagesize.c mprotect.c
    3133
    3234MESSAGE_QUEUE_C_FILES = mqueue.c mqueueclose.c mqueuecreatesupp.c \
     
    7880
    7981C_FILES = adasupp.c $(CANCEL_C_FILES) $(CONDITION_VARIABLE_C_FILES) \
    80     $(ID_C_FILES) $(KEY_C_FILES) $(MESSAGE_QUEUE_C_FILES) $(MUTEX_C_FILES) \
    81     $(PTHREAD_C_FILES) $(PSIGNAL_C_FILES) sched.c $(SEMAPHORE_C_FILES) \
    82     sysconf.c $(TIME_C_FILES) $(TIMER_C_FILES) types.c $(ENOSYS_C_FILES) \
    83     $(BUILD_FOR_NOW_C_FILES) utsname.c
     82    $(ID_C_FILES) $(KEY_C_FILES) $(MEMORY_C_FILES) $(MESSAGE_QUEUE_C_FILES) \
     83    $(MUTEX_C_FILES) $(PTHREAD_C_FILES) $(PSIGNAL_C_FILES) sched.c \
     84    $(SEMAPHORE_C_FILES) sysconf.c $(TIME_C_FILES) $(TIMER_C_FILES) types.c \
     85    $(ENOSYS_C_FILES) $(BUILD_FOR_NOW_C_FILES) utsname.c
    8486C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    8587
  • c/src/exec/posix/src/sysconf.c

    r986e1113 rbc51d7e9  
    2727      return _TOD_Ticks_per_second;
    2828
    29     case _SC_OPEN_MAX: {
     29o   case _SC_OPEN_MAX: {
    3030        extern unsigned32 rtems_libio_number_iops;
    3131        return rtems_libio_number_iops;
    3232      }
     33
     34#if defined(__sparc__)
     35    case 515: /* Solaris _SC_STACK_PROT */
     36     return 0;
     37#endif
    3338
    3439    default:
  • cpukit/posix/ChangeLog

    r986e1113 rbc51d7e9  
     12001-09-13      Joel Sherrill <joel@OARcorp.com>
     2
     3        * src/mprotect.c: New file. Stub required by some gcc's to pass tests.
     4        In particular, about 350 ACATS tests fail if this is not present.
     5        * src/getpagesize.c: Ditto.
     6        * src/sysconf.c: Addition of Solaris value for _SC_STACK_PROT required
     7        to pass about 350 ACATS test cases.
     8        * src/Makefile.am: Added new files.
     9
    1102001-08-30      Joel Sherrill <joel@OARcorp.com>
    211
  • cpukit/posix/src/Makefile.am

    r986e1113 rbc51d7e9  
    2929KEY_C_FILES = key.c keycreate.c keydelete.c keygetspecific.c \
    3030    keyrundestructors.c keysetspecific.c
     31
     32MEMORY_C_FILES = getpagesize.c mprotect.c
    3133
    3234MESSAGE_QUEUE_C_FILES = mqueue.c mqueueclose.c mqueuecreatesupp.c \
     
    7880
    7981C_FILES = adasupp.c $(CANCEL_C_FILES) $(CONDITION_VARIABLE_C_FILES) \
    80     $(ID_C_FILES) $(KEY_C_FILES) $(MESSAGE_QUEUE_C_FILES) $(MUTEX_C_FILES) \
    81     $(PTHREAD_C_FILES) $(PSIGNAL_C_FILES) sched.c $(SEMAPHORE_C_FILES) \
    82     sysconf.c $(TIME_C_FILES) $(TIMER_C_FILES) types.c $(ENOSYS_C_FILES) \
    83     $(BUILD_FOR_NOW_C_FILES) utsname.c
     82    $(ID_C_FILES) $(KEY_C_FILES) $(MEMORY_C_FILES) $(MESSAGE_QUEUE_C_FILES) \
     83    $(MUTEX_C_FILES) $(PTHREAD_C_FILES) $(PSIGNAL_C_FILES) sched.c \
     84    $(SEMAPHORE_C_FILES) sysconf.c $(TIME_C_FILES) $(TIMER_C_FILES) types.c \
     85    $(ENOSYS_C_FILES) $(BUILD_FOR_NOW_C_FILES) utsname.c
    8486C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    8587
  • cpukit/posix/src/sysconf.c

    r986e1113 rbc51d7e9  
    2727      return _TOD_Ticks_per_second;
    2828
    29     case _SC_OPEN_MAX: {
     29o   case _SC_OPEN_MAX: {
    3030        extern unsigned32 rtems_libio_number_iops;
    3131        return rtems_libio_number_iops;
    3232      }
     33
     34#if defined(__sparc__)
     35    case 515: /* Solaris _SC_STACK_PROT */
     36     return 0;
     37#endif
    3338
    3439    default:
Note: See TracChangeset for help on using the changeset viewer.