#4391 closed enhancement (fixed)

SPARC GCC no longer needs sysconf(515) (_SC_STACK_PROT)

Reported by: Joel Sherrill Owned by: Ryan Long <ryan.long@…>
Priority: normal Milestone: 6.1
Component: posix Version: 6
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

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@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.

Change History (1)

comment:1 Changed on 06/09/21 at 16:52:40 by Ryan Long <ryan.long@…>

Owner: set to Ryan Long <ryan.long@…>
Resolution: fixed
Status: newclosed

In f83676d/rtems:

sysconf: Remove sysconf(515)

GCC originally needed this 20 years ago. No longer needed, so it
is being removed.

Closes #4391

Note: See TracTickets for help on using tickets.