Discussion:
[PATCH] Make .sdata2 writable on ppc vxworks6
Douglas B Rupp
2018-10-11 19:39:10 UTC
Permalink
Greetings,

In the coming months I will be submitting AdaCore's accumulated binutils
patches as candidates for inclusion at the FSF. Most of them will be
related to our cross ports (e.g. VxWorks). A few were written by
engineers who are no longer with AdaCore. In that case I've done my
best to research the archeology to find the motivation.

------------------------------------------------------------------

The attached was originally written by Tristan Gingold. The motivation
is to handle PPC TLS on VxWorks in a way compatible with the WRS linker.

It's been extensively tested since 2012 with our own regression testsuite
.
Also, for this submission, with the latest binutils testsuite.

--Douglas Rupp
AdaCore
Alan Modra
2018-10-12 01:34:22 UTC
Permalink
on behalf of Tristan Gingold
ld/
* scripttempl/elf.sc: If WRITABLE_SDATA2 is set, put .sdata2 and
.sbss2 sections into the writable segment.
* emulparams/elf32ppcvxworks.sh (WRITABLE_SDATA2): Defined.
OK.
--
Alan Modra
Australia Development Lab, IBM
Douglas B Rupp
2018-10-12 14:44:15 UTC
Permalink
on behalf of Tristan Gingold
ld/
* scripttempl/elf.sc: If WRITABLE_SDATA2 is set, put .sdata2 and
.sbss2 sections into the writable segment.
* emulparams/elf32ppcvxworks.sh (WRITABLE_SDATA2): Defined.
OK.
Thanks. May I now apply for write after approval privileges.
--Doug

Loading...