[RTEMS Project] #4391: SPARC GCC no longer needs sysconf(515) (_SC_STACK_PROT)

RTEMS trac trac at rtems.org
Fri Apr 23 20:22:39 UTC 2021

#4391: SPARC GCC no longer needs sysconf(515) (_SC_STACK_PROT)
  Reporter:  Joel Sherrill  |      Owner:  (none)
      Type:  enhancement    |     Status:  new
  Priority:  normal         |  Milestone:  6.1
 Component:  posix          |    Version:  6
  Severity:  normal         |   Keywords:
Blocked By:                 |   Blocking:
 In reviewing Ryan's rework of psx13, Gedare asked why there was a test for
 sysconf(515) conditionally compiled for SPARC. The answer was GCC needed
 it. But investigated showed that GCC has not had code to call this for
 over 20 years. It was removed per this commit.

 commit ac4904440b4733f461bcd2c45915f502b0345f80
 Author: Alexandre Oliva <oliva at lsd.ic.unicamp.br>
 Date:   Mon Jan 24 00:47:38 2000 +0000

     sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...

     * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
     * config/sparc/sol2.h: ... here.

     From-SVN: r31578

 This ticket is to remove the code from posix/src/sysconf.c and update
 psx13 accordingly.

Ticket URL: <http://devel.rtems.org/ticket/4391>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list