diff options
author | Doug Rupp <rupp@adacore.com> | 2019-07-10 09:01:13 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-07-10 09:01:13 +0000 |
commit | 32e0627f99f4212695ec13b6d50ca48d1c29ded3 (patch) | |
tree | 6a89b9d7da5262bb14586a342bb423d17748b6c7 /gcc/ada/sysdep.c | |
parent | c03c026753c3cfb102435842e53c0a4773aedc75 (diff) | |
download | gcc-32e0627f99f4212695ec13b6d50ca48d1c29ded3.zip gcc-32e0627f99f4212695ec13b6d50ca48d1c29ded3.tar.gz gcc-32e0627f99f4212695ec13b6d50ca48d1c29ded3.tar.bz2 |
[Ada] The environ macro is broken on vxworks7r2 SR0610
In SR0610, the TCB is made private, so the task environ field used by
the environ macro is no longer visible. Arguably this is a bug, however
a more correct approach is to use accessor functions to retrieve this
field and not use the environ macro, thus avoiding the problem.
2019-07-10 Doug Rupp <rupp@adacore.com>
gcc/ada/
* env.c (__gnat_environ): Reformulate to also work for
vxworks7r2 SR0610.
From-SVN: r273332
Diffstat (limited to 'gcc/ada/sysdep.c')
0 files changed, 0 insertions, 0 deletions